mirror of https://github.com/harness/drone.git
fix: [CDE-390]:add sql migration for gitspace config table (#2836)
* add comment * add sql migration for gitspace config tablepull/3576/head
parent
18eb27aa15
commit
73b8beb005
|
@ -1,2 +1 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
DROP COLUMN gconf_is_marked_for_deletion;
|
||||
-- These files are empty due to issue with migration version. The changes in this version are present in 0082
|
|
@ -1,5 +1 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
ADD COLUMN gconf_is_marked_for_deletion BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
UPDATE gitspace_configs
|
||||
SET gconf_is_marked_for_deletion = gconf_is_deleted;
|
||||
-- These files are empty due to issue with migration version. The changes in this version are present in 0082
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
DROP COLUMN gconf_is_marked_for_deletion;
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
ADD COLUMN gconf_is_marked_for_deletion BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
UPDATE gitspace_configs
|
||||
SET gconf_is_marked_for_deletion = gconf_is_deleted;
|
|
@ -1,2 +1 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
DROP COLUMN gconf_is_marked_for_deletion;
|
||||
-- These files are empty due to issue with migration version. The changes in this version are present in 0082
|
|
@ -1,5 +1 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
ADD COLUMN gconf_is_marked_for_deletion BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
UPDATE gitspace_configs
|
||||
SET gconf_is_marked_for_deletion = gconf_is_deleted;
|
||||
-- These files are empty due to issue with migration version. The changes in this version are present in 0082
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
DROP COLUMN gconf_is_marked_for_deletion;
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE gitspace_configs
|
||||
ADD COLUMN gconf_is_marked_for_deletion BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
UPDATE gitspace_configs
|
||||
SET gconf_is_marked_for_deletion = gconf_is_deleted;
|
Loading…
Reference in New Issue