Suggests foreign key constraints that your rails app's database may be missing.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ruby_version
Gemfile
Gemfile.lock
README.md
all_tables.sql
fkc.rb
unconstrained_foreign_keys.sql

README.md

pg_suggest_fkc

Suggests foreign key constraints that your rails app's database may be missing.

Suggestions are based on rails' conventions for naming database objects.

Currently, requires proficiency with postgres' system catalogs.