6 lines
175 B
SQL
6 lines
175 B
SQL
select table_schema, table_name, column_name
|
|
from information_schema.columns
|
|
where column_name in ('owner_id', 'tenant_id')
|
|
and table_schema = 'public'
|
|
order by table_name;
|