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 index d02ed079..32d31c10 100644 --- 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 @@ -1,2 +1,4 @@ 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; +ALTER TABLE DM_ENROLMENT_OP_MAPPING ADD COLUMN PUSH_NOTIFICATION_STATUS VARCHAR(50) NULL; +UPDATE DM_ENROLMENT_OP_MAPPING SET PUSH_NOTIFICATION_STATUS = 'COMPLETED'; 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 index d02ed079..f8857738 100644 --- 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 @@ -1,2 +1,4 @@ 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; +ALTER TABLE DM_ENROLMENT_OP_MAPPING ADD COLUMN PUSH_NOTIFICATION_STATUS VARCHAR(50) NULL; +UPDATE DM_ENROLMENT_OP_MAPPING SET PUSH_NOTIFICATION_STATUS = 'COMPLETED'; \ No newline at end of file