fix: [CDE-390]:add sql migration for gitspace config table (#2836)

* add comment
* add sql migration for gitspace config table
pull/3576/head
Deepak Bhatt 2024-10-21 10:55:39 +00:00 committed by Harness
parent 18eb27aa15
commit 73b8beb005
8 changed files with 18 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,2 @@
ALTER TABLE gitspace_configs
DROP COLUMN gconf_is_marked_for_deletion;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,2 @@
ALTER TABLE gitspace_configs
DROP COLUMN gconf_is_marked_for_deletion;

View File

@ -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;