diff options
Diffstat (limited to 'ecomp-sdk/epsdk-app-common/db-scripts')
-rw-r--r-- | ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Rollback_2_2_to_2_1_Common.sql | 11 | ||||
-rw-r--r-- | ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Upgrade_2_1_to_2_2_Common.sql | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Rollback_2_2_to_2_1_Common.sql b/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Rollback_2_2_to_2_1_Common.sql new file mode 100644 index 00000000..f8a7fbce --- /dev/null +++ b/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Rollback_2_2_to_2_1_Common.sql @@ -0,0 +1,11 @@ +use ecomp_sdk; + + +ALTER TABLE fn_function +DROP COLUMN type; + + +ALTER TABLE fn_function +DROP COLUMN action; + +commit;
\ No newline at end of file diff --git a/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Upgrade_2_1_to_2_2_Common.sql b/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Upgrade_2_1_to_2_2_Common.sql new file mode 100644 index 00000000..32540c69 --- /dev/null +++ b/ecomp-sdk/epsdk-app-common/db-scripts/EcompSdkMySql_Upgrade_2_1_to_2_2_Common.sql @@ -0,0 +1,12 @@ +use ecomp_sdk; + +SET FOREIGN_KEY_CHECKS=0; + +alter table fn_function +add type VARCHAR(20) NULL DEFAULT NULL; + + +alter table fn_function +add action VARCHAR(20) NULL DEFAULT NULL; + +commit;
\ No newline at end of file |