Browse Source

Retrieve all columns from all not internal tables

pull/2716/head
Maurits Lourens 5 years ago
parent
commit
baed83c406
  1. 2
      packages/server/src/integrations/postgres.ts

2
packages/server/src/integrations/postgres.ts

@ -105,7 +105,7 @@ module PostgresModule {
private readonly config: PostgresConfig
COLUMNS_SQL =
"select * from information_schema.columns where table_schema = 'public'"
"select * from information_schema.columns where not table_schema = 'information_schema' and not table_schema = 'pg_catalog'"
PRIMARY_KEYS_SQL = `
select tc.table_schema, tc.table_name, kc.column_name as primary_key

Loading…
Cancel
Save