From b8bfef3a009922db72c1a618211ce03c07683e58 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Thu, 12 Aug 2021 23:05:15 +0100 Subject: 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 --- openecomp-be/tools/install/database/alter_tables.cql | 1 - .../install/database/upgrade-scripts/20191103-dox.package_details.cql | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 openecomp-be/tools/install/database/alter_tables.cql create mode 100644 openecomp-be/tools/install/database/upgrade-scripts/20191103-dox.package_details.cql (limited to 'openecomp-be/tools/install') 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 -- cgit 1.2.3-korg