Skip to content

Commit e0cb68f

Browse files
committed
feat(lib/tables): omit grants
1 parent a294e95 commit e0cb68f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib/PostgresMetaTables.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { DEFAULT_SYSTEM_SCHEMAS } from './constants'
33
import { coalesceRowsToArray } from './helpers'
44
import {
55
columnsSql,
6-
grantsSql,
76
policiesSql,
87
primaryKeysSql,
98
relationshipsSql,
@@ -236,14 +235,12 @@ COMMIT;`
236235
const enrichedTablesSql = `
237236
WITH tables AS (${tablesSql}),
238237
columns AS (${columnsSql}),
239-
grants AS (${grantsSql}),
240238
policies AS (${policiesSql}),
241239
primary_keys AS (${primaryKeysSql}),
242240
relationships AS (${relationshipsSql})
243241
SELECT
244242
*,
245243
${coalesceRowsToArray('columns', 'columns.table_id = tables.id')},
246-
${coalesceRowsToArray('grants', 'grants.table_id = tables.id')},
247244
${coalesceRowsToArray('policies', 'policies.table_id = tables.id')},
248245
${coalesceRowsToArray('primary_keys', 'primary_keys.table_id = tables.id')},
249246
${coalesceRowsToArray(

0 commit comments

Comments
 (0)