Skip to content

Commit 55957ea

Browse files
committed
test: realtime publication
Only includes a publication, but a dedicated file for realtime for improved visibility.
1 parent 1772a43 commit 55957ea

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Diff for: nix/tests/expected/realtime.out

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-- only a publication from supabase realtime is expected
2+
SELECT
3+
pubname AS publication_name,
4+
pubowner::regrole AS owner,
5+
puballtables,
6+
pubinsert,
7+
pubupdate,
8+
pubdelete,
9+
pubtruncate
10+
FROM
11+
pg_publication;
12+
publication_name | owner | puballtables | pubinsert | pubupdate | pubdelete | pubtruncate
13+
-------------------+----------+--------------+-----------+-----------+-----------+-------------
14+
supabase_realtime | postgres | f | t | t | t | t
15+
(1 row)
16+

Diff for: nix/tests/sql/realtime.sql

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-- only a publication from supabase realtime is expected
2+
SELECT
3+
pubname AS publication_name,
4+
pubowner::regrole AS owner,
5+
puballtables,
6+
pubinsert,
7+
pubupdate,
8+
pubdelete,
9+
pubtruncate
10+
FROM
11+
pg_publication;

0 commit comments

Comments
 (0)