diff --git a/modules/distribution/src/core/resources/migration/3.0.0-to-3.1.0/dbscripts/h2.sql b/modules/distribution/src/core/resources/migration/3.0.0-to-3.1.0/dbscripts/h2.sql new file mode 100644 index 00000000..d02ed079 --- /dev/null +++ b/modules/distribution/src/core/resources/migration/3.0.0-to-3.1.0/dbscripts/h2.sql @@ -0,0 +1,2 @@ +ALTER TABLE DM_DEVICE_TYPE ADD COLUMN LAST_UPDATED_TIMESTAMP TIMESTAMP DEFAULT CURRENT_TIMESTAMP; +ALTER TABLE DM_DEVICE_TYPE ADD COLUMN DEVICE_TYPE_META VARCHAR(20000) DEFAULT NULL; diff --git a/modules/distribution/src/core/resources/migration/3.0.0-to-3.1.0/dbscripts/mysql.sql b/modules/distribution/src/core/resources/migration/3.0.0-to-3.1.0/dbscripts/mysql.sql new file mode 100644 index 00000000..d02ed079 --- /dev/null +++ b/modules/distribution/src/core/resources/migration/3.0.0-to-3.1.0/dbscripts/mysql.sql @@ -0,0 +1,2 @@ +ALTER TABLE DM_DEVICE_TYPE ADD COLUMN LAST_UPDATED_TIMESTAMP TIMESTAMP DEFAULT CURRENT_TIMESTAMP; +ALTER TABLE DM_DEVICE_TYPE ADD COLUMN DEVICE_TYPE_META VARCHAR(20000) DEFAULT NULL;