\pset tuples_only on
\pset format unaligned
select table_name from information_schema.tables where table_schema='public' and table_name ilike '%model%' order by table_name;
select table_name from information_schema.tables where table_schema='public' and table_name ilike '%mapping%' order by table_name;
select 'groups_cols|' || string_agg(column_name || ':' || data_type, ', ' order by ordinal_position)
from information_schema.columns where table_schema='public' and table_name='groups';
