From 643541dc6c246e0db316b1e611ecc9f1b8b37fe1 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Tue, 20 Feb 2024 17:25:50 +0100 Subject: [PATCH] delta numbering --- ...100_anchor-point.sql => 0100_01_anchor-point.sql} | 0 ...support_photo2.sql => 0100_02_support_photo2.sql} | 0 ...0_add_signs_img.sql => 0100_03_add_signs_img.sql} | 0 .../0100/{0100_indexes.sql => 0100_04_indexes.sql} | 0 ...ange_official.sql => 0100_05_change_official.sql} | 0 ...er_signs.sql => 0100_06_direction_user_signs.sql} | 0 datamodel/setup.sh | 12 ++++++------ 7 files changed, 6 insertions(+), 6 deletions(-) rename datamodel/changelogs/0100/{0100_anchor-point.sql => 0100_01_anchor-point.sql} (100%) rename datamodel/changelogs/0100/{0100_support_photo2.sql => 0100_02_support_photo2.sql} (100%) rename datamodel/changelogs/0100/{0100_add_signs_img.sql => 0100_03_add_signs_img.sql} (100%) rename datamodel/changelogs/0100/{0100_indexes.sql => 0100_04_indexes.sql} (100%) rename datamodel/changelogs/0100/{0100_change_official.sql => 0100_05_change_official.sql} (100%) rename datamodel/changelogs/0100/{0100_direction_user_signs.sql => 0100_06_direction_user_signs.sql} (100%) diff --git a/datamodel/changelogs/0100/0100_anchor-point.sql b/datamodel/changelogs/0100/0100_01_anchor-point.sql similarity index 100% rename from datamodel/changelogs/0100/0100_anchor-point.sql rename to datamodel/changelogs/0100/0100_01_anchor-point.sql diff --git a/datamodel/changelogs/0100/0100_support_photo2.sql b/datamodel/changelogs/0100/0100_02_support_photo2.sql similarity index 100% rename from datamodel/changelogs/0100/0100_support_photo2.sql rename to datamodel/changelogs/0100/0100_02_support_photo2.sql diff --git a/datamodel/changelogs/0100/0100_add_signs_img.sql b/datamodel/changelogs/0100/0100_03_add_signs_img.sql similarity index 100% rename from datamodel/changelogs/0100/0100_add_signs_img.sql rename to datamodel/changelogs/0100/0100_03_add_signs_img.sql diff --git a/datamodel/changelogs/0100/0100_indexes.sql b/datamodel/changelogs/0100/0100_04_indexes.sql similarity index 100% rename from datamodel/changelogs/0100/0100_indexes.sql rename to datamodel/changelogs/0100/0100_04_indexes.sql diff --git a/datamodel/changelogs/0100/0100_change_official.sql b/datamodel/changelogs/0100/0100_05_change_official.sql similarity index 100% rename from datamodel/changelogs/0100/0100_change_official.sql rename to datamodel/changelogs/0100/0100_05_change_official.sql diff --git a/datamodel/changelogs/0100/0100_direction_user_signs.sql b/datamodel/changelogs/0100/0100_06_direction_user_signs.sql similarity index 100% rename from datamodel/changelogs/0100/0100_direction_user_signs.sql rename to datamodel/changelogs/0100/0100_06_direction_user_signs.sql diff --git a/datamodel/setup.sh b/datamodel/setup.sh index 7329ec0a..338caadd 100755 --- a/datamodel/setup.sh +++ b/datamodel/setup.sh @@ -70,12 +70,12 @@ psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changel psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0006/0006_translate_de.sql psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0006/0006_new_signs.sql psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0006/0006_user_signs.sql -psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_anchor-point.sql -psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_support_photo2.sql -psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_add_signs_img.sql -psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_indexes.sql -psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_change_official.sql -psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_direction_user_signs.sql +psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_01_anchor-point.sql +psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_02_support_photo2.sql +psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_03_add_signs_img.sql +psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_04_indexes.sql +psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_05_change_official.sql +psql "service=${PGSERVICE}" -v ON_ERROR_STOP=1 -v SRID=${SRID} -f ${DIR}/changelogs/0100/0100_06_direction_user_signs.sql if [[ $demo_data == True ]]; then echo "*** inserting demo_data"