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–4 of 4 · 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).
n Booleans = 1 Integer, saves columns and migrations.
ActiveRecord module that allows you to skip selecting specific columns by default and retrieve only on-demand