Postgres – psql – Find column name in any table

Find implementation of ancestry or other gems that alter the db.

select column_name, table_name FROM information_schema.columns WHERE column_name like 'parent_id'

Leave a Reply

Your email address will not be published.