From 1b244fe6246e9a43d5fb0f6744b51a40ccef52dc Mon Sep 17 00:00:00 2001 From: Dhruv Dhruv Date: Wed, 19 Jun 2024 08:42:41 +0000 Subject: [PATCH] Adding soft delete to gitspace_configs table (#2125) --- .../0056_alter_table_gitspace_configs_add_soft_delete.down.sql | 2 ++ .../0056_alter_table_gitspace_configs_add_soft_delete.up.sql | 2 ++ .../0056_alter_table_gitspace_configs_add_soft_delete.down.sql | 2 ++ .../0056_alter_table_gitspace_configs_add_soft_delete.up.sql | 2 ++ 4 files changed, 8 insertions(+) create mode 100644 app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.down.sql create mode 100644 app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.up.sql create mode 100644 app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.down.sql create mode 100644 app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.up.sql diff --git a/app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.down.sql b/app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.down.sql new file mode 100644 index 0000000000..3632161dae --- /dev/null +++ b/app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.down.sql @@ -0,0 +1,2 @@ +ALTER TABLE gitspace_configs + DROP COLUMN gconf_is_deleted; \ No newline at end of file diff --git a/app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.up.sql b/app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.up.sql new file mode 100644 index 0000000000..b2ff8a00db --- /dev/null +++ b/app/store/database/migrate/postgres/0056_alter_table_gitspace_configs_add_soft_delete.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE gitspace_configs + ADD COLUMN gconf_is_deleted BOOLEAN NOT NULL DEFAULT FALSE; \ No newline at end of file diff --git a/app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.down.sql b/app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.down.sql new file mode 100644 index 0000000000..3632161dae --- /dev/null +++ b/app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.down.sql @@ -0,0 +1,2 @@ +ALTER TABLE gitspace_configs + DROP COLUMN gconf_is_deleted; \ No newline at end of file diff --git a/app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.up.sql b/app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.up.sql new file mode 100644 index 0000000000..b2ff8a00db --- /dev/null +++ b/app/store/database/migrate/sqlite/0056_alter_table_gitspace_configs_add_soft_delete.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE gitspace_configs + ADD COLUMN gconf_is_deleted BOOLEAN NOT NULL DEFAULT FALSE; \ No newline at end of file