File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { DEFAULT_SYSTEM_SCHEMAS } from './constants'
33import { coalesceRowsToArray } from './helpers'
44import {
55 columnsSql ,
6- grantsSql ,
76 policiesSql ,
87 primaryKeysSql ,
98 relationshipsSql ,
@@ -236,14 +235,12 @@ COMMIT;`
236235const enrichedTablesSql = `
237236WITH tables AS (${ tablesSql } ),
238237 columns AS (${ columnsSql } ),
239- grants AS (${ grantsSql } ),
240238 policies AS (${ policiesSql } ),
241239 primary_keys AS (${ primaryKeysSql } ),
242240 relationships AS (${ relationshipsSql } )
243241SELECT
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 (
You can’t perform that action at this time.
0 commit comments