8000 fix: policies table_id: string -> number · supabase/postgres-meta@9da5f18 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9da5f18

Browse files
committed
fix: policies table_id: string -> number
1 parent 9414bb2 commit 9da5f18

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ export type PostgresGrant = Static<typeof postgresGrantSchema>
104104
export const postgresPolicySchema = Type.Object({
105105
id: Type.Integer(),
106106
schema: Type.String(),
107-
// TODO: ???
108107
table: Type.String(),
109-
table_id: Type.String(),
108+
table_id: Type.Integer(),
110109
name: Type.String(),
111110
action: Type.Union([Type.Literal('PERMISSIVE'), Type.Literal('RESTRICTIVE')]),
112111
roles: Type.Array(Type.String()),

0 commit comments

Comments
 (0)
0