include schema name in table name column

This commit is contained in:
Paul Trowbridge 2020-11-05 22:31:55 -05:00
parent a15d807178
commit 9e53758fd9

View File

@ -3,13 +3,14 @@ BEGIN;
INSERT INTO
fc.target_meta
SELECT
table_name
table_schema||'.'||table_name
,column_name
,ordinal_position
,'doc'::text func
,null::text fkey --foreign key to a master table
,null::text pretty
,data_type::text dtype
,column_name mastcol
FROM
information_schema.columns
WHERE