Initial commit: update3
This commit is contained in:
6
hmi-docs/migrate-v1-to-v2-oracle.sql
Normal file
6
hmi-docs/migrate-v1-to-v2-oracle.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- NUR verwenden, wenn CUST.HMI_APP_LAYOUT bereits aus Version 1 existiert.
|
||||
-- VORHER Backup und Prüfung der DB-Constraints! Dieses Skript nicht mehrfach ausführen.
|
||||
ALTER TABLE CUST.HMI_APP_LAYOUT ADD (STATION_ID VARCHAR2(120) DEFAULT '*' NOT NULL);
|
||||
ALTER TABLE CUST.HMI_APP_LAYOUT DROP PRIMARY KEY;
|
||||
ALTER TABLE CUST.HMI_APP_LAYOUT ADD CONSTRAINT HMI_APP_LAYOUT_PK PRIMARY KEY (USER_ID, PAGE_ID, STATION_ID);
|
||||
-- Bootstrap legt HMI_APP_SCHEMA_VERSION.VERSION_NO=2 beim nächsten Deployment an.
|
||||
Reference in New Issue
Block a user