Skip to content
Snippets Groups Projects
Commit 26966a04 authored by Joost Hemmen's avatar Joost Hemmen 🏀
Browse files

add new cv tables to sync script

parent f996110d
No related branches found
No related tags found
1 merge request!214Resolve "update sms foreign and mock tables"
Pipeline #458404 passed
......@@ -11,7 +11,10 @@ import json
script_dir = os.path.dirname(os.path.abspath(__file__))
file_names = [
"sms_cv_measured_quantity.json"
"sms_cv_measured_quantity.json",
"sms_cv_license.json",
"sms_cv_aggragation_type.json",
"sms_cv_unit.json",
]
file_path_list = [os.path.join(script_dir, "tables", file_name) for file_name in file_names]
......
{
"keys": {
"id": {
"type": "int4 not null",
"path": ["id"]
},
"term": {
"type": "VARCHAR(255) not null",
"path": ["attributes", "term"]
},
"definition": {
"type": "text",
"path": ["attributes", "definition"]
}
},
"name": "sms_cv_aggregation_type",
"endpoint": "aggregationtypes"
}
\ No newline at end of file
{
"keys": {
"id": {
"type": "int4 not null",
"path": ["id"]
},
"term": {
"type": "VARCHAR(255) not null",
"path": ["attributes", "term"]
},
"provenance_uri": {
"type": "VARCHAR(255)",
"path": ["attributes", "provenance_uri"]
},
"provenance": {
"type": "text",
"path": ["attributes", "provenance"]
},
"definition": {
"type": "text",
"path": ["attributes", "definition"]
}
},
"name": "sms_cv_license",
"endpoint": "licenses"
}
\ No newline at end of file
{
"keys": {
"id": {
"type": "int4 not null",
"path": ["id"]
},
"term": {
"type": "VARCHAR(255) not null",
"path": ["attributes", "term"]
},
"provenance": {
"type": "text",
"path": ["attributes", "provenance"]
},
"definition": {
"type": "text",
"path": ["attributes", "definition"]
}
},
"name": "sms_cv_unit",
"endpoint": "units"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment