Skip to content

Commit e61441f

Browse files
authored
Update supascript--1.4.sql
moved line ALTER PUBLICATION supabase_realtime ADD TABLE supascript_log; to bottom
1 parent 5d292c2 commit e61441f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

supascript--1.4.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ CREATE TABLE IF NOT EXISTS supascript_log
1818
query text,
1919
content jsonb
2020
);
21-
ALTER PUBLICATION supabase_realtime DROP TABLE supascript_log;
22-
ALTER PUBLICATION supabase_realtime ADD TABLE supascript_log;
2321

2422
CREATE TABLE IF NOT EXISTS SUPASCRIPT_JS_MODULES (MODULE text UNIQUE PRIMARY KEY,
2523
AUTOLOAD BOOL DEFAULT FALSE,
@@ -170,3 +168,6 @@ AS $$
170168
this.load(row.module, row.source);
171169
});
172170
$$ LANGUAGE PLV8;
171+
ALTER PUBLICATION supabase_realtime ADD TABLE supascript_log;
172+
173+

0 commit comments

Comments
 (0)