Skip to content

Commit ba29cfe

Browse files
chore: Plugin script fix oss (#5661)
* scrit down script fix * script number script fix
1 parent 49a4004 commit ba29cfe

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
---- DROP table
2-
DROP TABLE IF EXISTS "plugin_parent_metadata";
3-
4-
---- DROP sequence
5-
DROP SEQUENCE IF EXISTS public.id_seq_plugin_parent_metadata;
1+
-- empty script

scripts/sql/271_alter_plugin_metadata.down.sql

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ ALTER TABLE plugin_metadata DROP COLUMN IF EXISTS is_deprecated;
44
ALTER TABLE plugin_metadata DROP COLUMN IF EXISTS doc_link;
55
ALTER TABLE plugin_metadata DROP COLUMN IF EXISTS is_latest;
66

7-
ALTER TABLE plugin_metadata DROP CONSTRAINT plugin_metadata_plugin_parent_metadata_id_fkey;
7+
---- DROP table
8+
DROP TABLE IF EXISTS "plugin_parent_metadata";
9+
10+
---- DROP sequence
11+
DROP SEQUENCE IF EXISTS public.id_seq_plugin_parent_metadata;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- empty script to keep script number same across repo
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- empty script to keep script number same across repo

0 commit comments

Comments
 (0)