\pset pager off
\pset tuples_only on
\pset fieldsep '\t'
SELECT 'accounts', column_name, data_type FROM information_schema.columns WHERE table_name='accounts' AND column_name IN ('id','name','status','platform','base_url','group_id','groups','priority','weight','last_error','disabled_reason','rate_limited_until') ORDER BY ordinal_position;
SELECT 'api_keys', column_name, data_type FROM information_schema.columns WHERE table_name='api_keys' AND column_name IN ('id','user_id','name','key','key_hash','status','quota','rate_limit','rate_limit_window','group_id','group_ids','groups') ORDER BY ordinal_position;
SELECT 'users', column_name, data_type FROM information_schema.columns WHERE table_name='users' AND column_name IN ('id','email','username','name','status','role') ORDER BY ordinal_position;
