diff --git a/sql/target_info.sql b/sql/target_info.sql index 0c5486b..5a7310e 100644 --- a/sql/target_info.sql +++ b/sql/target_info.sql @@ -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