Merge branch 'fix-iots-109' into 'master'

Add migration scripts for https://gitlab.com/entgra/product-iots/issues/109

See merge request entgra/product-iots!15
merge-requests/16/head^2
Ruwan Yatawara 6 years ago
commit 8597453a77

@ -0,0 +1,3 @@
ALTER TABLE DM_ENROLMENT ALTER COLUMN OWNER VARCHAR (255) NOT NULL;
ALTER TABLE DM_GROUP ALTER COLUMN OWNER VARCHAR (255) DEFAULT NULL;

@ -0,0 +1,5 @@
ALTER TABLE `DM_ENROLMENT`
CHANGE COLUMN `OWNER` `OWNER` VARCHAR(255) NOT NULL;
ALTER TABLE `DM_GROUP`
CHANGE COLUMN `OWNER` `OWNER` VARCHAR(255) NULL DEFAULT NULL;

@ -0,0 +1,3 @@
ALTER TABLE dm_enrolment ALTER COLUMN owner TYPE character varying(255);
ALTER TABLE dm_group ALTER COLUMN owner TYPE character varying(255);
Loading…
Cancel
Save