Open3
postgres
外部キーの確認
select * from information_schema.table_constraints where table_schema = 'public' and constraint_type = 'FOREIGN KEY';
テーブル確認
\d
外部キーの確認
select * from information_schema.table_constraints where table_schema = 'public' and constraint_type = 'FOREIGN KEY';
テーブル確認
\d