Skip to content

Commit 04a84a3

Browse files
committed
fix: sets default schema to public when creating policies
1 parent c62ffd6 commit 04a84a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/policies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const createSql = ({
140140
table,
141141
definition,
142142
check,
143-
schema = 'postgres',
143+
schema = 'public',
144144
action = 'PERMISSIVE',
145145
command = 'ALL',
146146
roles = ['PUBLIC'],

0 commit comments

Comments
 (0)