aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools/install/database
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2021-08-12 23:05:15 +0100
committerMichael Morris <michael.morris@est.tech>2021-08-13 16:14:07 +0000
commitb8bfef3a009922db72c1a618211ce03c07683e58 (patch)
treeb81c7855ba3308249d1608df5212a1f36705e78c /openecomp-be/tools/install/database
parentb1bfe8bfae834f92577b04a016c0c7dade388941 (diff)
Implement simple onboarding cassandra upgrade
Introduces a folder to hold cql scripts to upgrade the onboarding cassandra. The files will be copied to the docker and executed in alphabetical order. The suggested pattern for the file names is YYYYMMDD-changeName.cql. Change-Id: Ia32a63ec5ab4417cf0df8bb5536c7f041e2327c9 Issue-ID: SDC-3669 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'openecomp-be/tools/install/database')
-rw-r--r--openecomp-be/tools/install/database/alter_tables.cql1
-rw-r--r--openecomp-be/tools/install/database/upgrade-scripts/20191103-dox.package_details.cql1
2 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/tools/install/database/alter_tables.cql b/openecomp-be/tools/install/database/alter_tables.cql
deleted file mode 100644
index 9363a036f9..0000000000
--- a/openecomp-be/tools/install/database/alter_tables.cql
+++ /dev/null
@@ -1 +0,0 @@
-ALTER TABLE dox.package_details ADD RESOURCE_TYPE text;
diff --git a/openecomp-be/tools/install/database/upgrade-scripts/20191103-dox.package_details.cql b/openecomp-be/tools/install/database/upgrade-scripts/20191103-dox.package_details.cql
new file mode 100644
index 0000000000..1326dc7f80
--- /dev/null
+++ b/openecomp-be/tools/install/database/upgrade-scripts/20191103-dox.package_details.cql
@@ -0,0 +1 @@
+ALTER TABLE dox.package_details ADD RESOURCE_TYPE text; \ No newline at end of file