-
+
diff --git a/public/translations/en_US.js b/public/translations/en_US.js
index 65b0a45..4bb4bcd 100644
--- a/public/translations/en_US.js
+++ b/public/translations/en_US.js
@@ -169,6 +169,15 @@ app.constant("en_US", {
FILTER_LOCATIONS_BY_SCENARIO: 'Filter locations by scenario',
FILTER_VIDEOS_BY_SCENARIO: 'Filter videos by scenario',
- FILTER_OVERLAYS_BY_SCENARIO: 'Filter overlays by scenario'
+ FILTER_OVERLAYS_BY_SCENARIO: 'Filter overlays by scenario',
+
+ NO_FILENAME_EXTENSION_REQUIRED: 'no filename extension required',
+ EXAMPLE: 'Example',
+ FOR_THE_FILES: 'for the files',
+ AND: 'and',
+ AMOUNT_OF_THUMBNAILS: 'amount of thumbnails',
+ FOR_LAST_ITEM_IN_THE_FOLDER: 'for last item in the folder',
+ YOU_WILL_RECEIVE_A_NEW_UUID: 'You will receive a new UUID, which has to be used as the folder name for the related video thumbnails. Please copy and paste your created thumbnails inside this folder.',
+ PLEASE_USE_THE_UUID_FOR_THE_THUMBNAILS: 'Please use the automatically UUID as the folder name for the related video thumbnails. Please copy and paste your created thumbnails inside this folder.'
});
diff --git a/queries/locations/create.cypher b/queries/locations/create.cypher
index 4b754e0..07c2e9f 100644
--- a/queries/locations/create.cypher
+++ b/queries/locations/create.cypher
@@ -1,7 +1,7 @@
CREATE (l:Locations {
created: timestamp(),
updated: timestamp(),
- l_id: {l_id},
+ location_uuid: {location_uuid},
name: {name},
description: {description},
lat: {lat},
@@ -11,7 +11,7 @@ CREATE (l:Locations {
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/edit.cypher b/queries/locations/edit.cypher
index 6b58635..00ae927 100644
--- a/queries/locations/edit.cypher
+++ b/queries/locations/edit.cypher
@@ -2,7 +2,7 @@ MATCH (l:Locations)
WHERE ID(l) = toInt({location_id})
SET
l.updated = timestamp(),
- l.l_id = {l_id},
+ l.location_uuid = {location_uuid},
l.name = {name},
l.description = {description},
l.lat = {lat},
@@ -12,7 +12,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/get.cypher b/queries/locations/get.cypher
index 03e6152..1d220e4 100644
--- a/queries/locations/get.cypher
+++ b/queries/locations/get.cypher
@@ -4,7 +4,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/list.cypher b/queries/locations/list.cypher
index 943b27f..7278db9 100644
--- a/queries/locations/list.cypher
+++ b/queries/locations/list.cypher
@@ -6,7 +6,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/list_by_location.cypher b/queries/locations/list_by_location.cypher
index d529c5f..b60eafc 100644
--- a/queries/locations/list_by_location.cypher
+++ b/queries/locations/list_by_location.cypher
@@ -8,7 +8,7 @@ RETURN
ID(end) AS location_id,
end.created AS created,
end.updated AS updated,
- end.l_id AS l_id,
+ end.location_uuid AS location_uuid,
end.name AS name,
end.description AS description,
end.lat AS lat,
diff --git a/queries/locations/list_by_location_filtered_by_location_type.cypher b/queries/locations/list_by_location_filtered_by_location_type.cypher
index 97215fa..acd3f97 100644
--- a/queries/locations/list_by_location_filtered_by_location_type.cypher
+++ b/queries/locations/list_by_location_filtered_by_location_type.cypher
@@ -14,7 +14,7 @@ RETURN
ID(end) AS location_id,
end.created AS created,
end.updated AS updated,
- end.l_id AS l_id,
+ end.location_uuid AS location_uuid,
end.name AS name,
end.description AS description,
end.lat AS lat,
diff --git a/queries/locations/list_by_scenario.cypher b/queries/locations/list_by_scenario.cypher
index 2b6c680..3cab59a 100644
--- a/queries/locations/list_by_scenario.cypher
+++ b/queries/locations/list_by_scenario.cypher
@@ -8,7 +8,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/list_by_scenario_filtered_by_location_type.cypher b/queries/locations/list_by_scenario_filtered_by_location_type.cypher
index a2e70b4..515fb3b 100644
--- a/queries/locations/list_by_scenario_filtered_by_location_type.cypher
+++ b/queries/locations/list_by_scenario_filtered_by_location_type.cypher
@@ -14,7 +14,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/list_filtered_by_location_type.cypher b/queries/locations/list_filtered_by_location_type.cypher
index 0658f82..df8a1f1 100644
--- a/queries/locations/list_filtered_by_location_type.cypher
+++ b/queries/locations/list_filtered_by_location_type.cypher
@@ -8,7 +8,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/search.cypher b/queries/locations/search.cypher
index c53ab7d..7f76fd7 100644
--- a/queries/locations/search.cypher
+++ b/queries/locations/search.cypher
@@ -1,6 +1,6 @@
MATCH (l:Locations)
WHERE
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -8,7 +8,7 @@ WHERE
WITH count(*) AS full_count
MATCH (l:Locations)
WHERE
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -18,7 +18,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/search_by_location.cypher b/queries/locations/search_by_location.cypher
index 7469bd9..2549086 100644
--- a/queries/locations/search_by_location.cypher
+++ b/queries/locations/search_by_location.cypher
@@ -2,7 +2,7 @@ MATCH (start:Locations)-[r:connected_to]->(end:Locations)
WHERE
ID(start)= toInt({location_id})
AND (
- toLower(end.l_id) CONTAINS toLower({search_term}) OR
+ toLower(end.location_uuid) CONTAINS toLower({search_term}) OR
toLower(end.name) CONTAINS toLower({search_term}) OR
toLower(end.description) CONTAINS toLower({search_term}) OR
end.lat CONTAINS toLower({search_term}) OR
@@ -13,7 +13,7 @@ MATCH (start:Locations)-[r:connected_to]->(end:Locations)
WHERE
ID(start)= toInt({location_id})
AND (
- toLower(end.l_id) CONTAINS toLower({search_term}) OR
+ toLower(end.location_uuid) CONTAINS toLower({search_term}) OR
toLower(end.name) CONTAINS toLower({search_term}) OR
toLower(end.description) CONTAINS toLower({search_term}) OR
end.lat CONTAINS toLower({search_term}) OR
@@ -24,7 +24,7 @@ RETURN
ID(end) AS location_id,
end.created AS created,
end.updated AS updated,
- end.l_id AS l_id,
+ end.location_uuid AS location_uuid,
end.name AS name,
end.description AS description,
end.lat AS lat,
diff --git a/queries/locations/search_by_location_filtered_by_location_type.cypher b/queries/locations/search_by_location_filtered_by_location_type.cypher
index ac55aff..42a971f 100644
--- a/queries/locations/search_by_location_filtered_by_location_type.cypher
+++ b/queries/locations/search_by_location_filtered_by_location_type.cypher
@@ -4,7 +4,7 @@ WHERE
AND
ID(start)= toInt({location_id})
AND (
- toLower(end.l_id) CONTAINS toLower({search_term}) OR
+ toLower(end.location_uuid) CONTAINS toLower({search_term}) OR
toLower(end.name) CONTAINS toLower({search_term}) OR
toLower(end.description) CONTAINS toLower({search_term}) OR
end.lat CONTAINS toLower({search_term}) OR
@@ -17,7 +17,7 @@ WHERE
AND
ID(start)= toInt({location_id})
AND (
- toLower(end.l_id) CONTAINS toLower({search_term}) OR
+ toLower(end.location_uuid) CONTAINS toLower({search_term}) OR
toLower(end.name) CONTAINS toLower({search_term}) OR
toLower(end.description) CONTAINS toLower({search_term}) OR
end.lat CONTAINS toLower({search_term}) OR
@@ -28,7 +28,7 @@ RETURN
ID(end) AS location_id,
end.created AS created,
end.updated AS updated,
- end.l_id AS l_id,
+ end.location_uuid AS location_uuid,
end.name AS name,
end.description AS description,
end.lat AS lat,
diff --git a/queries/locations/search_by_scenario.cypher b/queries/locations/search_by_scenario.cypher
index ed4500b..49ffe03 100644
--- a/queries/locations/search_by_scenario.cypher
+++ b/queries/locations/search_by_scenario.cypher
@@ -2,7 +2,7 @@ MATCH (l:Locations)-[r:belongs_to]->(s:Scenarios)
WHERE
ID(s)= toInt({scenario_id})
AND (
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -13,7 +13,7 @@ MATCH (l:Locations)-[r:belongs_to]->(s:Scenarios)
WHERE
ID(s)= toInt({scenario_id})
AND (
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -24,7 +24,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/search_by_scenario_filtered_by_location_type.cypher b/queries/locations/search_by_scenario_filtered_by_location_type.cypher
index 5d1516c..85e3b34 100644
--- a/queries/locations/search_by_scenario_filtered_by_location_type.cypher
+++ b/queries/locations/search_by_scenario_filtered_by_location_type.cypher
@@ -4,7 +4,7 @@ WHERE
AND
ID(s)= toInt({scenario_id})
AND (
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -17,7 +17,7 @@ WHERE
AND
ID(s)= toInt({scenario_id})
AND (
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -28,7 +28,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/locations/search_filtered_by_location_type.cypher b/queries/locations/search_filtered_by_location_type.cypher
index 536ac7b..23e9007 100644
--- a/queries/locations/search_filtered_by_location_type.cypher
+++ b/queries/locations/search_filtered_by_location_type.cypher
@@ -2,7 +2,7 @@ MATCH (l:Locations)
WHERE
l.location_type = {location_type}
AND (
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -13,7 +13,7 @@ MATCH (l:Locations)
WHERE
l.location_type = {location_type}
AND (
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -24,7 +24,7 @@ RETURN
ID(l) AS location_id,
l.created AS created,
l.updated AS updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS name,
l.description AS description,
l.lat AS lat,
diff --git a/queries/overlays/create.cypher b/queries/overlays/create.cypher
index 3b86f50..8bd5daa 100644
--- a/queries/overlays/create.cypher
+++ b/queries/overlays/create.cypher
@@ -1,7 +1,7 @@
CREATE (o:Overlays {
created: timestamp(),
updated: timestamp(),
- o_id: {o_id},
+ overlay_uuid: {overlay_uuid},
name: {name},
description: {description},
category: {category},
@@ -10,7 +10,7 @@ CREATE (o:Overlays {
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/edit.cypher b/queries/overlays/edit.cypher
index 8245c9d..97df85e 100644
--- a/queries/overlays/edit.cypher
+++ b/queries/overlays/edit.cypher
@@ -2,7 +2,7 @@ MATCH (o:Overlays)
WHERE ID(o) = toInt({overlay_id})
SET
o.updated = timestamp(),
- o.o_id = {o_id},
+ o.overlay_uuid = {overlay_uuid},
o.name = {name},
o.description = {description},
o.category = {category},
@@ -11,7 +11,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/get.cypher b/queries/overlays/get.cypher
index f261e1a..9f6b060 100644
--- a/queries/overlays/get.cypher
+++ b/queries/overlays/get.cypher
@@ -4,7 +4,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/list.cypher b/queries/overlays/list.cypher
index 2a4b495..7b0402c 100644
--- a/queries/overlays/list.cypher
+++ b/queries/overlays/list.cypher
@@ -6,7 +6,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/list_by_scenario.cypher b/queries/overlays/list_by_scenario.cypher
index 3fc6771..e9a06de 100644
--- a/queries/overlays/list_by_scenario.cypher
+++ b/queries/overlays/list_by_scenario.cypher
@@ -8,7 +8,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/list_by_scenario_filtered_by_category.cypher b/queries/overlays/list_by_scenario_filtered_by_category.cypher
index 0c23811..88ba83c 100644
--- a/queries/overlays/list_by_scenario_filtered_by_category.cypher
+++ b/queries/overlays/list_by_scenario_filtered_by_category.cypher
@@ -14,7 +14,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/list_by_video.cypher b/queries/overlays/list_by_video.cypher
index 936f90a..d938715 100644
--- a/queries/overlays/list_by_video.cypher
+++ b/queries/overlays/list_by_video.cypher
@@ -8,7 +8,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/list_by_video_filtered_by_category.cypher b/queries/overlays/list_by_video_filtered_by_category.cypher
index 27d5f50..c6d8a26 100644
--- a/queries/overlays/list_by_video_filtered_by_category.cypher
+++ b/queries/overlays/list_by_video_filtered_by_category.cypher
@@ -14,7 +14,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/list_filtered_by_category.cypher b/queries/overlays/list_filtered_by_category.cypher
index fcf95f1..6b53a15 100644
--- a/queries/overlays/list_filtered_by_category.cypher
+++ b/queries/overlays/list_filtered_by_category.cypher
@@ -8,7 +8,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/search.cypher b/queries/overlays/search.cypher
index 171312f..1cfb559 100644
--- a/queries/overlays/search.cypher
+++ b/queries/overlays/search.cypher
@@ -1,13 +1,13 @@
MATCH (o:Overlays)
WHERE
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
WITH count(*) AS full_count
MATCH (o:Overlays)
WHERE
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -16,7 +16,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/search_by_scenario.cypher b/queries/overlays/search_by_scenario.cypher
index ab44bc2..80225a1 100644
--- a/queries/overlays/search_by_scenario.cypher
+++ b/queries/overlays/search_by_scenario.cypher
@@ -2,7 +2,7 @@ MATCH (o:Overlays)-[r:belongs_to]->(s:Scenarios)
WHERE
ID(s)= toInt({scenario_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -12,7 +12,7 @@ MATCH (o:Overlays)-[r:belongs_to]->(s:Scenarios)
WHERE
ID(s)= toInt({scenario_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -22,7 +22,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/search_by_scenario_filtered_by_category.cypher b/queries/overlays/search_by_scenario_filtered_by_category.cypher
index b70639f..91b9947 100644
--- a/queries/overlays/search_by_scenario_filtered_by_category.cypher
+++ b/queries/overlays/search_by_scenario_filtered_by_category.cypher
@@ -4,7 +4,7 @@ WHERE
AND
ID(s)= toInt({scenario_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -16,7 +16,7 @@ WHERE
AND
ID(s)= toInt({scenario_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -26,7 +26,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/search_by_video.cypher b/queries/overlays/search_by_video.cypher
index 3ad521f..62a6139 100644
--- a/queries/overlays/search_by_video.cypher
+++ b/queries/overlays/search_by_video.cypher
@@ -2,7 +2,7 @@ MATCH (o:Overlays)-[r:embedded_in]->(v:Videos)
WHERE
ID(v)= toInt({video_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -12,7 +12,7 @@ MATCH (o:Overlays)-[r:embedded_in]->(v:Videos)
WHERE
ID(v)= toInt({video_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -22,7 +22,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/search_by_video_filtered_by_category.cypher b/queries/overlays/search_by_video_filtered_by_category.cypher
index dfba037..cfc5734 100644
--- a/queries/overlays/search_by_video_filtered_by_category.cypher
+++ b/queries/overlays/search_by_video_filtered_by_category.cypher
@@ -4,7 +4,7 @@ WHERE
AND
ID(v)= toInt({video_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -16,7 +16,7 @@ WHERE
AND
ID(v)= toInt({video_id})
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -26,7 +26,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/overlays/search_filtered_by_category.cypher b/queries/overlays/search_filtered_by_category.cypher
index a41f87d..ff5a83d 100644
--- a/queries/overlays/search_filtered_by_category.cypher
+++ b/queries/overlays/search_filtered_by_category.cypher
@@ -2,7 +2,7 @@ MATCH (o:Overlays)
WHERE
o.category = {category}
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -12,7 +12,7 @@ MATCH (o:Overlays)
WHERE
o.category = {category}
AND (
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term})
@@ -22,7 +22,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS created,
o.updated AS updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS name,
o.description AS description,
o.category AS category,
diff --git a/queries/relationships/create/belongs_to_location.cypher b/queries/relationships/create/belongs_to_location.cypher
index 43d09fd..0a68f05 100644
--- a/queries/relationships/create/belongs_to_location.cypher
+++ b/queries/relationships/create/belongs_to_location.cypher
@@ -8,7 +8,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
@@ -20,7 +20,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/create/belongs_to_overlay.cypher b/queries/relationships/create/belongs_to_overlay.cypher
index c472f78..6e07379 100644
--- a/queries/relationships/create/belongs_to_overlay.cypher
+++ b/queries/relationships/create/belongs_to_overlay.cypher
@@ -8,7 +8,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -19,7 +19,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/create/belongs_to_video.cypher b/queries/relationships/create/belongs_to_video.cypher
index c94c39b..a55ebf3 100644
--- a/queries/relationships/create/belongs_to_video.cypher
+++ b/queries/relationships/create/belongs_to_video.cypher
@@ -8,7 +8,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -20,7 +20,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/create/connected_to.cypher b/queries/relationships/create/connected_to.cypher
index 1b745ee..f73ca0a 100644
--- a/queries/relationships/create/connected_to.cypher
+++ b/queries/relationships/create/connected_to.cypher
@@ -8,7 +8,7 @@ RETURN
ID(start) AS start_location_id,
start.created AS start_location_created,
start.updated AS start_location_updated,
- start.l_id AS start_l_id,
+ start.location_uuid AS start_location_uuid,
start.name AS start_location_name,
start.description AS start_location_description,
start.lat AS start_location_lat,
@@ -20,7 +20,7 @@ RETURN
ID(end) AS end_location_id,
end.created AS end_location_created,
end.updated AS end_location_updated,
- end.l_id AS end_l_id,
+ end.location_uuid AS end_location_uuid,
end.name AS end_location_name,
end.description AS end_location_description,
end.lat AS end_location_lat,
diff --git a/queries/relationships/create/embedded_in.cypher b/queries/relationships/create/embedded_in.cypher
index 14981cd..250f345 100644
--- a/queries/relationships/create/embedded_in.cypher
+++ b/queries/relationships/create/embedded_in.cypher
@@ -19,7 +19,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -41,7 +41,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
diff --git a/queries/relationships/create/has_parent_location.cypher b/queries/relationships/create/has_parent_location.cypher
index d2ac211..0d1538a 100644
--- a/queries/relationships/create/has_parent_location.cypher
+++ b/queries/relationships/create/has_parent_location.cypher
@@ -8,7 +8,7 @@ RETURN
ID(child) AS child_location_id,
child.created AS child_location_created,
child.updated AS child_location_updated,
- child.l_id AS child_l_id,
+ child.location_uuid AS child_location_uuid,
child.name AS child_location_name,
child.description AS child_location_description,
child.lat AS child_location_lat,
@@ -20,7 +20,7 @@ RETURN
ID(parent) AS parent_location_id,
parent.created AS parent_location_created,
parent.updated AS parent_location_updated,
- parent.l_id AS parent_l_id,
+ parent.location_uuid AS parent_location_uuid,
parent.name AS parent_location_name,
parent.description AS parent_location_description,
parent.lat AS parent_location_lat,
diff --git a/queries/relationships/create/recorded_at.cypher b/queries/relationships/create/recorded_at.cypher
index 55ecc9e..2975c38 100644
--- a/queries/relationships/create/recorded_at.cypher
+++ b/queries/relationships/create/recorded_at.cypher
@@ -10,7 +10,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -24,7 +24,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
diff --git a/queries/relationships/edit/belongs_to_location.cypher b/queries/relationships/edit/belongs_to_location.cypher
index 2811620..9617a3f 100644
--- a/queries/relationships/edit/belongs_to_location.cypher
+++ b/queries/relationships/edit/belongs_to_location.cypher
@@ -6,7 +6,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
@@ -18,7 +18,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/edit/belongs_to_overlay.cypher b/queries/relationships/edit/belongs_to_overlay.cypher
index 321d3a9..84da025 100644
--- a/queries/relationships/edit/belongs_to_overlay.cypher
+++ b/queries/relationships/edit/belongs_to_overlay.cypher
@@ -6,7 +6,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -17,7 +17,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/edit/belongs_to_video.cypher b/queries/relationships/edit/belongs_to_video.cypher
index e8675b0..4ee1ed5 100644
--- a/queries/relationships/edit/belongs_to_video.cypher
+++ b/queries/relationships/edit/belongs_to_video.cypher
@@ -6,7 +6,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -18,7 +18,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/edit/connected_to.cypher b/queries/relationships/edit/connected_to.cypher
index 44c5c7d..9b936f1 100644
--- a/queries/relationships/edit/connected_to.cypher
+++ b/queries/relationships/edit/connected_to.cypher
@@ -6,7 +6,7 @@ RETURN
ID(start) AS start_location_id,
start.created AS start_location_created,
start.updated AS start_location_updated,
- start.l_id AS start_l_id,
+ start.location_uuid AS start_location_uuid,
start.name AS start_location_name,
start.description AS start_location_description,
start.lat AS start_location_lat,
@@ -18,7 +18,7 @@ RETURN
ID(end) AS end_location_id,
end.created AS end_location_created,
end.updated AS end_location_updated,
- end.l_id AS end_l_id,
+ end.location_uuid AS end_location_uuid,
end.name AS end_location_name,
end.description AS end_location_description,
end.lat AS end_location_lat,
diff --git a/queries/relationships/edit/embedded_in.cypher b/queries/relationships/edit/embedded_in.cypher
index e13ceb4..e501386 100644
--- a/queries/relationships/edit/embedded_in.cypher
+++ b/queries/relationships/edit/embedded_in.cypher
@@ -17,7 +17,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -39,7 +39,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
diff --git a/queries/relationships/edit/has_parent_location.cypher b/queries/relationships/edit/has_parent_location.cypher
index 3666051..10b0a99 100644
--- a/queries/relationships/edit/has_parent_location.cypher
+++ b/queries/relationships/edit/has_parent_location.cypher
@@ -6,7 +6,7 @@ RETURN
ID(child) AS child_location_id,
child.created AS child_location_created,
child.updated AS child_location_updated,
- child.l_id AS child_l_id,
+ child.location_uuid AS child_location_uuid,
child.name AS child_location_name,
child.description AS child_location_description,
child.lat AS child_location_lat,
@@ -18,7 +18,7 @@ RETURN
ID(parent) AS parent_location_id,
parent.created AS parent_location_created,
parent.updated AS parent_location_updated,
- parent.l_id AS parent_l_id,
+ parent.location_uuid AS parent_location_uuid,
parent.name AS parent_location_name,
parent.description AS parent_location_description,
parent.lat AS parent_location_lat,
diff --git a/queries/relationships/edit/recorded_at.cypher b/queries/relationships/edit/recorded_at.cypher
index 87206be..a3edd78 100644
--- a/queries/relationships/edit/recorded_at.cypher
+++ b/queries/relationships/edit/recorded_at.cypher
@@ -8,7 +8,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -22,7 +22,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
diff --git a/queries/relationships/get/belongs_to_location.cypher b/queries/relationships/get/belongs_to_location.cypher
index fc8c8e7..8b27678 100644
--- a/queries/relationships/get/belongs_to_location.cypher
+++ b/queries/relationships/get/belongs_to_location.cypher
@@ -4,7 +4,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
@@ -16,7 +16,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/get/belongs_to_overlay.cypher b/queries/relationships/get/belongs_to_overlay.cypher
index c7a8bc9..439d9b6 100644
--- a/queries/relationships/get/belongs_to_overlay.cypher
+++ b/queries/relationships/get/belongs_to_overlay.cypher
@@ -4,7 +4,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -15,7 +15,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/get/belongs_to_video.cypher b/queries/relationships/get/belongs_to_video.cypher
index 4ba77ad..550970c 100644
--- a/queries/relationships/get/belongs_to_video.cypher
+++ b/queries/relationships/get/belongs_to_video.cypher
@@ -4,7 +4,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -16,7 +16,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
;
diff --git a/queries/relationships/get/connected_to.cypher b/queries/relationships/get/connected_to.cypher
index 24783e0..80d3d59 100644
--- a/queries/relationships/get/connected_to.cypher
+++ b/queries/relationships/get/connected_to.cypher
@@ -4,7 +4,7 @@ RETURN
ID(start) AS start_location_id,
start.created AS start_location_created,
start.updated AS start_location_updated,
- start.l_id AS start_l_id,
+ start.location_uuid AS start_location_uuid,
start.name AS start_location_name,
start.description AS start_location_description,
start.lat AS start_location_lat,
@@ -16,7 +16,7 @@ RETURN
ID(end) AS end_location_id,
end.created AS end_location_created,
end.updated AS end_location_updated,
- end.l_id AS end_l_id,
+ end.location_uuid AS end_location_uuid,
end.name AS end_location_name,
end.description AS end_location_description,
end.lat AS end_location_lat,
diff --git a/queries/relationships/get/embedded_in.cypher b/queries/relationships/get/embedded_in.cypher
index 5ca0169..2343927 100644
--- a/queries/relationships/get/embedded_in.cypher
+++ b/queries/relationships/get/embedded_in.cypher
@@ -4,7 +4,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -26,7 +26,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
diff --git a/queries/relationships/get/has_parent_location.cypher b/queries/relationships/get/has_parent_location.cypher
index 704ccc9..a2f1690 100644
--- a/queries/relationships/get/has_parent_location.cypher
+++ b/queries/relationships/get/has_parent_location.cypher
@@ -4,7 +4,7 @@ RETURN
ID(child) AS child_location_id,
child.created AS child_location_created,
child.updated AS child_location_updated,
- child.l_id AS child_l_id,
+ child.location_uuid AS child_location_uuid,
child.name AS child_location_name,
child.description AS child_location_description,
child.lat AS child_location_lat,
@@ -16,7 +16,7 @@ RETURN
ID(parent) AS parent_location_id,
parent.created AS parent_location_created,
parent.updated AS parent_location_updated,
- parent.l_id AS parent_l_id,
+ parent.location_uuid AS parent_location_uuid,
parent.name AS parent_location_name,
parent.description AS parent_location_description,
parent.lat AS parent_location_lat,
diff --git a/queries/relationships/get/recorded_at.cypher b/queries/relationships/get/recorded_at.cypher
index 3e8b1a9..5d521cb 100644
--- a/queries/relationships/get/recorded_at.cypher
+++ b/queries/relationships/get/recorded_at.cypher
@@ -4,7 +4,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -18,7 +18,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
diff --git a/queries/relationships/list/list_belongs_to_location.cypher b/queries/relationships/list/list_belongs_to_location.cypher
index 28868b4..7016c9f 100644
--- a/queries/relationships/list/list_belongs_to_location.cypher
+++ b/queries/relationships/list/list_belongs_to_location.cypher
@@ -6,7 +6,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
@@ -18,7 +18,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
ORDER BY
diff --git a/queries/relationships/list/list_belongs_to_overlay.cypher b/queries/relationships/list/list_belongs_to_overlay.cypher
index 37c668a..c5ef2e3 100644
--- a/queries/relationships/list/list_belongs_to_overlay.cypher
+++ b/queries/relationships/list/list_belongs_to_overlay.cypher
@@ -6,7 +6,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -17,7 +17,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
ORDER BY
diff --git a/queries/relationships/list/list_belongs_to_video.cypher b/queries/relationships/list/list_belongs_to_video.cypher
index 04c83c0..a207025 100644
--- a/queries/relationships/list/list_belongs_to_video.cypher
+++ b/queries/relationships/list/list_belongs_to_video.cypher
@@ -6,7 +6,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -18,7 +18,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
ORDER BY
diff --git a/queries/relationships/list/list_connected_to.cypher b/queries/relationships/list/list_connected_to.cypher
index 47217ed..32ca17a 100644
--- a/queries/relationships/list/list_connected_to.cypher
+++ b/queries/relationships/list/list_connected_to.cypher
@@ -6,7 +6,7 @@ RETURN
ID(start) AS start_location_id,
start.created AS start_location_created,
start.updated AS start_location_updated,
- start.l_id AS start_l_id,
+ start.location_uuid AS start_location_uuid,
start.name AS start_location_name,
start.description AS start_location_description,
start.lat AS start_location_lat,
@@ -18,7 +18,7 @@ RETURN
ID(end) AS end_location_id,
end.created AS end_location_created,
end.updated AS end_location_updated,
- end.l_id AS end_l_id,
+ end.location_uuid AS end_location_uuid,
end.name AS end_location_name,
end.description AS end_location_description,
end.lat AS end_location_lat,
diff --git a/queries/relationships/list/list_embedded_in.cypher b/queries/relationships/list/list_embedded_in.cypher
index 3e80ed5..7183b7c 100644
--- a/queries/relationships/list/list_embedded_in.cypher
+++ b/queries/relationships/list/list_embedded_in.cypher
@@ -6,7 +6,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -28,7 +28,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
diff --git a/queries/relationships/list/list_has_parent_location.cypher b/queries/relationships/list/list_has_parent_location.cypher
index 6ef911a..34ca672 100644
--- a/queries/relationships/list/list_has_parent_location.cypher
+++ b/queries/relationships/list/list_has_parent_location.cypher
@@ -6,7 +6,7 @@ RETURN
ID(child) AS child_location_id,
child.created AS child_location_created,
child.updated AS child_location_updated,
- child.l_id AS child_l_id,
+ child.location_uuid AS child_location_uuid,
child.name AS child_location_name,
child.description AS child_location_description,
child.lat AS child_location_lat,
@@ -18,7 +18,7 @@ RETURN
ID(parent) AS parent_location_id,
parent.created AS parent_location_created,
parent.updated AS parent_location_updated,
- parent.l_id AS parent_l_id,
+ parent.location_uuid AS parent_location_uuid,
parent.name AS parent_location_name,
parent.description AS parent_location_description,
parent.lat AS parent_location_lat,
diff --git a/queries/relationships/list/list_recorded_at.cypher b/queries/relationships/list/list_recorded_at.cypher
index c9b8795..9c7e3b1 100644
--- a/queries/relationships/list/list_recorded_at.cypher
+++ b/queries/relationships/list/list_recorded_at.cypher
@@ -6,7 +6,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -20,7 +20,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
diff --git a/queries/relationships/list/search_belongs_to_location.cypher b/queries/relationships/list/search_belongs_to_location.cypher
index ba00b42..7012e7a 100644
--- a/queries/relationships/list/search_belongs_to_location.cypher
+++ b/queries/relationships/list/search_belongs_to_location.cypher
@@ -1,26 +1,26 @@
MATCH (l:Locations)-[r:belongs_to]->(s:Scenarios)
WHERE
// Locations
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
l.lng CONTAINS toLower({search_term}) OR
// Scenarios
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
WITH count(r) AS full_count
MATCH (l:Locations)-[r:belongs_to]->(s:Scenarios)
WHERE
// Locations
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
l.lng CONTAINS toLower({search_term}) OR
// Scenarios
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
RETURN
@@ -28,7 +28,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
@@ -40,7 +40,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
ORDER BY
diff --git a/queries/relationships/list/search_belongs_to_overlay.cypher b/queries/relationships/list/search_belongs_to_overlay.cypher
index b78c9f9..991e4d0 100644
--- a/queries/relationships/list/search_belongs_to_overlay.cypher
+++ b/queries/relationships/list/search_belongs_to_overlay.cypher
@@ -1,24 +1,24 @@
MATCH (o:Overlays)-[r:belongs_to]->(s:Scenarios)
WHERE
// Overlays
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term}) OR
// Scenarios
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
WITH count(r) AS full_count
MATCH (o:Overlays)-[r:belongs_to]->(s:Scenarios)
WHERE
// Overlays
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term}) OR
// Scenarios
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
RETURN
@@ -26,7 +26,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -37,7 +37,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
ORDER BY
diff --git a/queries/relationships/list/search_belongs_to_video.cypher b/queries/relationships/list/search_belongs_to_video.cypher
index 7468737..fd8ddb7 100644
--- a/queries/relationships/list/search_belongs_to_video.cypher
+++ b/queries/relationships/list/search_belongs_to_video.cypher
@@ -1,26 +1,26 @@
MATCH (v:Videos)-[r:belongs_to]->(s:Scenarios)
WHERE
// Videos
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
toLower(v.recorded) CONTAINS toLower({search_term}) OR
// Scenarios
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
WITH count(r) AS full_count
MATCH (v:Videos)-[r:belongs_to]->(s:Scenarios)
WHERE
// Videos
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
toLower(v.recorded) CONTAINS toLower({search_term}) OR
// Scenarios
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
RETURN
@@ -28,7 +28,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -40,7 +40,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS scenario_created,
s.updated AS scenario_updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS scenario_name,
s.description AS scenario_description
ORDER BY
diff --git a/queries/relationships/list/search_connected_to.cypher b/queries/relationships/list/search_connected_to.cypher
index 91740f2..5bb8653 100644
--- a/queries/relationships/list/search_connected_to.cypher
+++ b/queries/relationships/list/search_connected_to.cypher
@@ -1,13 +1,13 @@
MATCH (start:Locations)-[r:connected_to]->(end:Locations)
WHERE
// Start locations
- toLower(start.l_id) CONTAINS toLower({search_term}) OR
+ toLower(start.location_uuid) CONTAINS toLower({search_term}) OR
toLower(start.name) CONTAINS toLower({search_term}) OR
toLower(start.description) CONTAINS toLower({search_term}) OR
start.lat CONTAINS toLower({search_term}) OR
start.lng CONTAINS toLower({search_term}) OR
// End locations
- toLower(end.l_id) CONTAINS toLower({search_term}) OR
+ toLower(end.location_uuid) CONTAINS toLower({search_term}) OR
toLower(end.name) CONTAINS toLower({search_term}) OR
toLower(end.description) CONTAINS toLower({search_term}) OR
end.lat CONTAINS toLower({search_term}) OR
@@ -16,13 +16,13 @@ WITH count(r) AS full_count
MATCH (start:Locations)-[r:connected_to]->(end:Locations)
WHERE
// Start locations
- toLower(start.l_id) CONTAINS toLower({search_term}) OR
+ toLower(start.location_uuid) CONTAINS toLower({search_term}) OR
toLower(start.name) CONTAINS toLower({search_term}) OR
toLower(start.description) CONTAINS toLower({search_term}) OR
start.lat CONTAINS toLower({search_term}) OR
start.lng CONTAINS toLower({search_term}) OR
// End locations
- toLower(end.l_id) CONTAINS toLower({search_term}) OR
+ toLower(end.location_uuid) CONTAINS toLower({search_term}) OR
toLower(end.name) CONTAINS toLower({search_term}) OR
toLower(end.description) CONTAINS toLower({search_term}) OR
end.lat CONTAINS toLower({search_term}) OR
@@ -32,7 +32,7 @@ RETURN
ID(start) AS start_location_id,
start.created AS start_location_created,
start.updated AS start_location_updated,
- start.l_id AS start_l_id,
+ start.location_uuid AS start_location_uuid,
start.name AS start_location_name,
start.description AS start_location_description,
start.lat AS start_location_lat,
@@ -44,7 +44,7 @@ RETURN
ID(end) AS end_location_id,
end.created AS end_location_created,
end.updated AS end_location_updated,
- end.l_id AS end_l_id,
+ end.location_uuid AS end_location_uuid,
end.name AS end_location_name,
end.description AS end_location_description,
end.lat AS end_location_lat,
diff --git a/queries/relationships/list/search_embedded_in.cypher b/queries/relationships/list/search_embedded_in.cypher
index 88da13e..4d7d365 100644
--- a/queries/relationships/list/search_embedded_in.cypher
+++ b/queries/relationships/list/search_embedded_in.cypher
@@ -3,12 +3,12 @@ WHERE
// Relationship
toLower(r.description) CONTAINS toLower({search_term}) OR
// Overlays
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term}) OR
// Videos
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -19,12 +19,12 @@ WHERE
// Relationship
toLower(r.description) CONTAINS toLower({search_term}) OR
// Overlays
- toLower(o.o_id) CONTAINS toLower({search_term}) OR
+ toLower(o.overlay_uuid) CONTAINS toLower({search_term}) OR
toLower(o.name) CONTAINS toLower({search_term}) OR
toLower(o.description) CONTAINS toLower({search_term}) OR
toLower(o.url) CONTAINS toLower({search_term}) OR
// Videos
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -34,7 +34,7 @@ RETURN
ID(o) AS overlay_id,
o.created AS overlay_created,
o.updated AS overlay_updated,
- o.o_id AS o_id,
+ o.overlay_uuid AS overlay_uuid,
o.name AS overlay_name,
o.description AS overlay_description,
o.category AS overlay_category,
@@ -56,7 +56,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
diff --git a/queries/relationships/list/search_has_parent_location.cypher b/queries/relationships/list/search_has_parent_location.cypher
index 54a9f6e..ffc30ba 100644
--- a/queries/relationships/list/search_has_parent_location.cypher
+++ b/queries/relationships/list/search_has_parent_location.cypher
@@ -1,13 +1,13 @@
MATCH (child:Locations)-[r:has_parent_location]->(parent:Locations)
WHERE
// Child locations
- toLower(child.l_id) CONTAINS toLower({search_term}) OR
+ toLower(child.location_uuid) CONTAINS toLower({search_term}) OR
toLower(child.name) CONTAINS toLower({search_term}) OR
toLower(child.description) CONTAINS toLower({search_term}) OR
child.lat CONTAINS toLower({search_term}) OR
child.lng CONTAINS toLower({search_term}) OR
// Parent locations
- toLower(parent.l_id) CONTAINS toLower({search_term}) OR
+ toLower(parent.location_uuid) CONTAINS toLower({search_term}) OR
toLower(parent.name) CONTAINS toLower({search_term}) OR
toLower(parent.description) CONTAINS toLower({search_term}) OR
parent.lat CONTAINS toLower({search_term}) OR
@@ -16,13 +16,13 @@ WITH count(r) AS full_count
MATCH (child:Locations)-[r:has_parent_location]->(parent:Locations)
WHERE
// Child locations
- toLower(child.l_id) CONTAINS toLower({search_term}) OR
+ toLower(child.location_uuid) CONTAINS toLower({search_term}) OR
toLower(child.name) CONTAINS toLower({search_term}) OR
toLower(child.description) CONTAINS toLower({search_term}) OR
child.lat CONTAINS toLower({search_term}) OR
child.lng CONTAINS toLower({search_term}) OR
// Parent locations
- toLower(parent.l_id) CONTAINS toLower({search_term}) OR
+ toLower(parent.location_uuid) CONTAINS toLower({search_term}) OR
toLower(parent.name) CONTAINS toLower({search_term}) OR
toLower(parent.description) CONTAINS toLower({search_term}) OR
parent.lat CONTAINS toLower({search_term}) OR
@@ -32,7 +32,7 @@ RETURN
ID(child) AS child_location_id,
child.created AS child_location_created,
child.updated AS child_location_updated,
- child.l_id AS child_l_id,
+ child.location_uuid AS child_location_uuid,
child.name AS child_location_name,
child.description AS child_location_description,
child.lat AS child_location_lat,
@@ -44,7 +44,7 @@ RETURN
ID(parent) AS parent_location_id,
parent.created AS parent_location_created,
parent.updated AS parent_location_updated,
- parent.l_id AS parent_l_id,
+ parent.location_uuid AS parent_location_uuid,
parent.name AS parent_location_name,
parent.description AS parent_location_description,
parent.lat AS parent_location_lat,
diff --git a/queries/relationships/list/search_recorded_at.cypher b/queries/relationships/list/search_recorded_at.cypher
index b2d43a8..4401e5e 100644
--- a/queries/relationships/list/search_recorded_at.cypher
+++ b/queries/relationships/list/search_recorded_at.cypher
@@ -3,13 +3,13 @@ WHERE
// Relationship
toLower(r.description) CONTAINS toLower({search_term}) OR
// Videos
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
toLower(v.recorded) CONTAINS toLower({search_term}) OR
// Locations
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -20,13 +20,13 @@ WHERE
// Relationship
toLower(r.description) CONTAINS toLower({search_term}) OR
// Videos
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
toLower(v.recorded) CONTAINS toLower({search_term}) OR
// Locations
- toLower(l.l_id) CONTAINS toLower({search_term}) OR
+ toLower(l.location_uuid) CONTAINS toLower({search_term}) OR
toLower(l.name) CONTAINS toLower({search_term}) OR
toLower(l.description) CONTAINS toLower({search_term}) OR
l.lat CONTAINS toLower({search_term}) OR
@@ -36,7 +36,7 @@ RETURN
ID(v) AS video_id,
v.created AS video_created,
v.updated AS video_updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS video_name,
v.description AS video_description,
v.url AS video_url,
@@ -50,7 +50,7 @@ RETURN
ID(l) AS location_id,
l.created AS location_created,
l.updated AS location_updated,
- l.l_id AS l_id,
+ l.location_uuid AS location_uuid,
l.name AS location_name,
l.description AS location_description,
l.lat AS location_lat,
diff --git a/queries/scenarios/create.cypher b/queries/scenarios/create.cypher
index ea1d69e..92408b8 100644
--- a/queries/scenarios/create.cypher
+++ b/queries/scenarios/create.cypher
@@ -1,14 +1,14 @@
CREATE (s:Scenarios {
created: timestamp(),
updated: timestamp(),
- s_id: {s_id},
+ scenario_uuid: {scenario_uuid},
name: {name},
description: {description}
}) RETURN
ID(s) AS scenario_id,
s.created AS created,
s.updated AS updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS name,
s.description AS description
;
diff --git a/queries/scenarios/edit.cypher b/queries/scenarios/edit.cypher
index 28afb3f..653e228 100644
--- a/queries/scenarios/edit.cypher
+++ b/queries/scenarios/edit.cypher
@@ -2,14 +2,14 @@ MATCH (s:Scenarios)
WHERE ID(s) = toInt({scenario_id})
SET
s.updated = timestamp(),
- s.s_id = {s_id},
+ s.scenario_uuid = {scenario_uuid},
s.name = {name},
s.description = {description}
RETURN
ID(s) AS scenario_id,
s.created AS created,
s.updated AS updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS name,
s.description AS description
;
diff --git a/queries/scenarios/get.cypher b/queries/scenarios/get.cypher
index 2c5b2ea..0736fa6 100644
--- a/queries/scenarios/get.cypher
+++ b/queries/scenarios/get.cypher
@@ -4,7 +4,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS created,
s.updated AS updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS name,
s.description AS description
;
diff --git a/queries/scenarios/list.cypher b/queries/scenarios/list.cypher
index d0a2f13..3ca0925 100644
--- a/queries/scenarios/list.cypher
+++ b/queries/scenarios/list.cypher
@@ -6,7 +6,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS created,
s.updated AS updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS name,
s.description AS description
ORDER BY
diff --git a/queries/scenarios/search.cypher b/queries/scenarios/search.cypher
index 016579d..e2bd66d 100644
--- a/queries/scenarios/search.cypher
+++ b/queries/scenarios/search.cypher
@@ -1,12 +1,12 @@
MATCH (s:Scenarios)
WHERE
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
WITH count(*) AS full_count
MATCH (s:Scenarios)
WHERE
- toLower(s.s_id) CONTAINS toLower({search_term}) OR
+ toLower(s.scenario_uuid) CONTAINS toLower({search_term}) OR
toLower(s.name) CONTAINS toLower({search_term}) OR
toLower(s.description) CONTAINS toLower({search_term})
RETURN
@@ -14,7 +14,7 @@ RETURN
ID(s) AS scenario_id,
s.created AS created,
s.updated AS updated,
- s.s_id AS s_id,
+ s.scenario_uuid AS scenario_uuid,
s.name AS name,
s.description AS description
ORDER BY
diff --git a/queries/setup/create_constraint_locations.cypher b/queries/setup/create_constraint_locations.cypher
index cdc7211..95b8b6d 100644
--- a/queries/setup/create_constraint_locations.cypher
+++ b/queries/setup/create_constraint_locations.cypher
@@ -1,2 +1,2 @@
// Unique Location Id
-CREATE CONSTRAINT ON (location:Locations) ASSERT location.l_id IS UNIQUE;
+CREATE CONSTRAINT ON (location:Locations) ASSERT location.location_uuid IS UNIQUE;
diff --git a/queries/setup/create_constraint_overlays.cypher b/queries/setup/create_constraint_overlays.cypher
index b5fc8eb..e8f86d1 100644
--- a/queries/setup/create_constraint_overlays.cypher
+++ b/queries/setup/create_constraint_overlays.cypher
@@ -1,2 +1,2 @@
// Unique Overlay Id
-CREATE CONSTRAINT ON (overlay:Overlays) ASSERT overlay.o_id IS UNIQUE;
+CREATE CONSTRAINT ON (overlay:Overlays) ASSERT overlay.overlay_uuid IS UNIQUE;
diff --git a/queries/setup/create_constraint_scenarios.cypher b/queries/setup/create_constraint_scenarios.cypher
index c5060e8..5ed893e 100644
--- a/queries/setup/create_constraint_scenarios.cypher
+++ b/queries/setup/create_constraint_scenarios.cypher
@@ -1,2 +1,2 @@
// Unique Scenario Id
-CREATE CONSTRAINT ON (scenario:Scenarios) ASSERT scenario.s_id IS UNIQUE;
+CREATE CONSTRAINT ON (scenario:Scenarios) ASSERT scenario.scenario_uuid IS UNIQUE;
diff --git a/queries/setup/create_constraint_videos.cypher b/queries/setup/create_constraint_videos.cypher
index 26fee3b..223b993 100644
--- a/queries/setup/create_constraint_videos.cypher
+++ b/queries/setup/create_constraint_videos.cypher
@@ -1,2 +1,2 @@
// Unique Video Id
-CREATE CONSTRAINT ON (video:Videos) ASSERT video.v_id IS UNIQUE;
+CREATE CONSTRAINT ON (video:Videos) ASSERT video.video_uuid IS UNIQUE;
diff --git a/queries/setup/import_belongs_to_locations.cypher b/queries/setup/import_belongs_to_locations.cypher
index 71d3ffa..0b6915e 100644
--- a/queries/setup/import_belongs_to_locations.cypher
+++ b/queries/setup/import_belongs_to_locations.cypher
@@ -1,8 +1,8 @@
// Add belongs_to relationships
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///belongs_to_locations.csv' AS line FIELDTERMINATOR ','
-MATCH (location:Locations) WHERE location.l_id = line.`l_id`
-MATCH (scenario:Scenarios) WHERE scenario.s_id = line.`s_id`
+MATCH (location:Locations) WHERE location.location_uuid = line.`location_uuid`
+MATCH (scenario:Scenarios) WHERE scenario.scenario_uuid = line.`scenario_uuid`
CREATE (location)-[:belongs_to {
created: timestamp(),
updated: timestamp()
diff --git a/queries/setup/import_belongs_to_overlays.cypher b/queries/setup/import_belongs_to_overlays.cypher
index 948406f..9c249f7 100644
--- a/queries/setup/import_belongs_to_overlays.cypher
+++ b/queries/setup/import_belongs_to_overlays.cypher
@@ -1,8 +1,8 @@
// Add belongs_to relationships
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///belongs_to_overlays.csv' AS line FIELDTERMINATOR ','
-MATCH (overlay:Overlays) WHERE overlay.o_id = line.`o_id`
-MATCH (scenario:Scenarios) WHERE scenario.s_id = line.`s_id`
+MATCH (overlay:Overlays) WHERE overlay.overlay_uuid = line.`overlay_uuid`
+MATCH (scenario:Scenarios) WHERE scenario.scenario_uuid = line.`scenario_uuid`
CREATE (overlay)-[:belongs_to {
created: timestamp(),
updated: timestamp()
diff --git a/queries/setup/import_belongs_to_videos.cypher b/queries/setup/import_belongs_to_videos.cypher
index 7cedaac..a02312c 100644
--- a/queries/setup/import_belongs_to_videos.cypher
+++ b/queries/setup/import_belongs_to_videos.cypher
@@ -1,8 +1,8 @@
// Add belongs_to relationships
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///belongs_to_videos.csv' AS line FIELDTERMINATOR ','
-MATCH (video:Videos) WHERE video.v_id = line.`v_id`
-MATCH (scenario:Scenarios) WHERE scenario.s_id = line.`s_id`
+MATCH (video:Videos) WHERE video.video_uuid = line.`video_uuid`
+MATCH (scenario:Scenarios) WHERE scenario.scenario_uuid = line.`scenario_uuid`
CREATE (video)-[:belongs_to {
created: timestamp(),
updated: timestamp()
diff --git a/queries/setup/import_connected_to.cypher b/queries/setup/import_connected_to.cypher
index 8ce9431..0f1824b 100644
--- a/queries/setup/import_connected_to.cypher
+++ b/queries/setup/import_connected_to.cypher
@@ -2,8 +2,8 @@
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///connected_to.csv' AS line FIELDTERMINATOR ','
WITH line
-MATCH (location_1:Locations) WHERE location_1.l_id = line.`start_id`
-MATCH (location_2:Locations) WHERE location_2.l_id = line.`end_id`
+MATCH (location_1:Locations) WHERE location_1.location_uuid = line.`start_location_uuid`
+MATCH (location_2:Locations) WHERE location_2.location_uuid = line.`end_location_uuid`
CREATE (location_1)-[:connected_to {
created: timestamp(),
updated: timestamp()
diff --git a/queries/setup/import_embedded_in.cypher b/queries/setup/import_embedded_in.cypher
index c6fe18f..61b9a46 100644
--- a/queries/setup/import_embedded_in.cypher
+++ b/queries/setup/import_embedded_in.cypher
@@ -2,8 +2,8 @@
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///embedded_in.csv' AS line FIELDTERMINATOR ','
WITH line
-MATCH (overlay:Overlays) WHERE overlay.o_id = line.`o_id`
-MATCH (video:Videos) WHERE video.v_id = line.`v_id`
+MATCH (overlay:Overlays) WHERE overlay.overlay_uuid = line.`overlay_uuid`
+MATCH (video:Videos) WHERE video.video_uuid = line.`video_uuid`
CREATE (overlay)-[:embedded_in {
created: timestamp(),
updated: timestamp(),
diff --git a/queries/setup/import_has_parent_location.cypher b/queries/setup/import_has_parent_location.cypher
index 0d381d9..a75fea4 100644
--- a/queries/setup/import_has_parent_location.cypher
+++ b/queries/setup/import_has_parent_location.cypher
@@ -2,8 +2,8 @@
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///has_parent_location.csv' AS line FIELDTERMINATOR ','
WITH line
-MATCH (child:Locations) WHERE child.l_id = line.`child_id`
-MATCH (parent:Locations) WHERE parent.l_id = line.`parent_id`
+MATCH (child:Locations) WHERE child.location_uuid = line.`child_location_uuid`
+MATCH (parent:Locations) WHERE parent.location_uuid = line.`parent_location_uuid`
CREATE (child)-[:has_parent_location {
created: timestamp(),
updated: timestamp()
diff --git a/queries/setup/import_locations.cypher b/queries/setup/import_locations.cypher
index 7b4b74a..aeebc02 100644
--- a/queries/setup/import_locations.cypher
+++ b/queries/setup/import_locations.cypher
@@ -2,7 +2,7 @@
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///locations.csv' AS line FIELDTERMINATOR ','
CREATE (location:Locations {
- l_id: line.`l_id`,
+ location_uuid: line.`location_uuid`,
name: line.`name`,
description: line.`description`,
lat: toFloat(line.`lat`),
diff --git a/queries/setup/import_overlays.cypher b/queries/setup/import_overlays.cypher
index 6c72847..e1be4fe 100644
--- a/queries/setup/import_overlays.cypher
+++ b/queries/setup/import_overlays.cypher
@@ -2,7 +2,7 @@
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///overlays.csv' AS line FIELDTERMINATOR ','
CREATE (overlay:Overlays {
- o_id: line.`o_id`,
+ overlay_uuid: line.`overlay_uuid`,
name: line.`name`,
description: line.`description`,
category: line.`category`,
diff --git a/queries/setup/import_recorded_at.cypher b/queries/setup/import_recorded_at.cypher
index 6db3a51..1900353 100644
--- a/queries/setup/import_recorded_at.cypher
+++ b/queries/setup/import_recorded_at.cypher
@@ -2,8 +2,8 @@
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///recorded_at.csv' AS line FIELDTERMINATOR ','
WITH line
-MATCH (location:Locations) WHERE location.l_id = line.`l_id`
-MATCH (video:Videos) WHERE video.v_id = line.`v_id`
+MATCH (location:Locations) WHERE location.location_uuid = line.`location_uuid`
+MATCH (video:Videos) WHERE video.video_uuid = line.`video_uuid`
CREATE (video)-[:recorded_at {
created: timestamp(),
updated: timestamp(),
diff --git a/queries/setup/import_scenarios.cypher b/queries/setup/import_scenarios.cypher
index b8b2c11..34609dc 100644
--- a/queries/setup/import_scenarios.cypher
+++ b/queries/setup/import_scenarios.cypher
@@ -3,7 +3,7 @@ USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///scenarios.csv' AS line FIELDTERMINATOR ','
WITH line
CREATE (scenario:Scenarios {
- s_id: line.`s_id`,
+ scenario_uuid: line.`scenario_uuid`,
name: line.`name`,
description: line.`description`,
created: timestamp(),
diff --git a/queries/setup/import_videos.cypher b/queries/setup/import_videos.cypher
index 5926bd9..22387e0 100644
--- a/queries/setup/import_videos.cypher
+++ b/queries/setup/import_videos.cypher
@@ -2,7 +2,7 @@
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///videos.csv' AS line FIELDTERMINATOR ','
CREATE (video:Videos {
- v_id: line.`v_id`,
+ video_uuid: line.`video_uuid`,
name: line.`name`,
description: line.`description`,
url: line.`url`,
diff --git a/queries/videos/create.cypher b/queries/videos/create.cypher
index c09c2b1..cdaa6ab 100644
--- a/queries/videos/create.cypher
+++ b/queries/videos/create.cypher
@@ -1,7 +1,7 @@
CREATE (v:Videos {
created: timestamp(),
updated: timestamp(),
- v_id: {v_id},
+ video_uuid: {video_uuid},
name: {name},
description: {description},
url: {url},
@@ -11,7 +11,7 @@ CREATE (v:Videos {
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/edit.cypher b/queries/videos/edit.cypher
index 73b4c32..06a73b9 100644
--- a/queries/videos/edit.cypher
+++ b/queries/videos/edit.cypher
@@ -2,7 +2,7 @@ MATCH (v:Videos)
WHERE ID(v) = toInt({video_id})
SET
v.updated = timestamp(),
- v.v_id = {v_id},
+ v.video_uuid = {video_uuid},
v.name = {name},
v.description = {description},
v.url = {url},
@@ -12,7 +12,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/get.cypher b/queries/videos/get.cypher
index 003cff6..bca2d29 100644
--- a/queries/videos/get.cypher
+++ b/queries/videos/get.cypher
@@ -4,7 +4,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/list.cypher b/queries/videos/list.cypher
index d345f0d..85731aa 100644
--- a/queries/videos/list.cypher
+++ b/queries/videos/list.cypher
@@ -6,7 +6,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/list_by_location.cypher b/queries/videos/list_by_location.cypher
index 4a4716d..75ef0c6 100644
--- a/queries/videos/list_by_location.cypher
+++ b/queries/videos/list_by_location.cypher
@@ -8,7 +8,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/list_by_scenario.cypher b/queries/videos/list_by_scenario.cypher
index 64be557..4bc3261 100644
--- a/queries/videos/list_by_scenario.cypher
+++ b/queries/videos/list_by_scenario.cypher
@@ -8,7 +8,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/search.cypher b/queries/videos/search.cypher
index e73d7ec..95dc715 100644
--- a/queries/videos/search.cypher
+++ b/queries/videos/search.cypher
@@ -1,6 +1,6 @@
MATCH (v:Videos)
WHERE
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -8,7 +8,7 @@ WHERE
WITH count(*) AS full_count
MATCH (v:Videos)
WHERE
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -18,7 +18,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/search_by_location.cypher b/queries/videos/search_by_location.cypher
index 8d63e66..12154eb 100644
--- a/queries/videos/search_by_location.cypher
+++ b/queries/videos/search_by_location.cypher
@@ -2,7 +2,7 @@ MATCH (v:Videos)-[r:recorded_at]->(l:Locations)
WHERE
ID(l)= toInt({location_id})
AND (
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -13,7 +13,7 @@ MATCH (v:Videos)-[r:recorded_at]->(l:Locations)
WHERE
ID(l)= toInt({location_id})
AND (
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -24,7 +24,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,
diff --git a/queries/videos/search_by_scenario.cypher b/queries/videos/search_by_scenario.cypher
index a751ede..2fc33f5 100644
--- a/queries/videos/search_by_scenario.cypher
+++ b/queries/videos/search_by_scenario.cypher
@@ -1,7 +1,7 @@
MATCH (v:Videos)-[r:belongs_to]->(s:Scenarios)
WHERE
ID(s)= toInt({scenario_id}) AND (
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -12,7 +12,7 @@ MATCH (v:Videos)-[r:belongs_to]->(s:Scenarios)
WHERE
ID(s)= toInt({scenario_id})
AND (
- toLower(v.v_id) CONTAINS toLower({search_term}) OR
+ toLower(v.video_uuid) CONTAINS toLower({search_term}) OR
toLower(v.name) CONTAINS toLower({search_term}) OR
toLower(v.description) CONTAINS toLower({search_term}) OR
toLower(v.url) CONTAINS toLower({search_term}) OR
@@ -23,7 +23,7 @@ RETURN
ID(v) AS video_id,
v.created AS created,
v.updated AS updated,
- v.v_id AS v_id,
+ v.video_uuid AS video_uuid,
v.name AS name,
v.description AS description,
v.url AS url,