lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
Repository Index
47,133 repositories indexed
1–3 of 3 · Most stars
Catch unsafe PostgreSQL migrations in development and run them easier in production (code helpers for table/column renaming, changing column type, adding columns with default, background migrations, etc).
Quickly get a count estimation for large tables (>99% of accuracy for PostgreSQL).