\pset tuples_only on
\pset format unaligned
select 'accounts_cols|' || string_agg(column_name || ':' || data_type, ', ' order by ordinal_position)
from information_schema.columns where table_schema='public' and table_name='accounts';
select 'api_keys_cols|' || string_agg(column_name || ':' || data_type, ', ' order by ordinal_position)
from information_schema.columns where table_schema='public' and table_name='api_keys';
