{"repo":"gregnavis/active_record_doctor","free":true,"listed":false,"github":"https://github.com/gregnavis/active_record_doctor","clone":"git clone https://github.com/gregnavis/active_record_doctor.git","description":"Identify database issues before they hit production.","language":"Ruby","stars":1916,"topics":["database","rails","activerecord","performance","ruby"],"license":"MIT","category":"databases-storage","readme_excerpt":"Active Record Doctor Active Record Doctor helps to keep the database in a good shape. Currently, it can detect: extraneous indexes - active record doctor:extraneous indexes unindexed deleted at columns - active record doctor:unindexed deleted at missing foreign key constraints - active record doctor:missing foreign keys models referencing undefined tables - active record doctor:undefined table references uniqueness validations not backed by a unique index - active record doctor:missing unique indexes missing non- NULL constraints - active record doctor:missing non null constraint missing presence validations - active record doctor:missing presence validation incorrect presence validations on boolean columns - active record doctor:incorrect boolean presence validation mismatches between model length validations and database validation constraints - active record doctor:incorrect length validation incorrect values of dependent on associations - active record doctor:incorrect dependent option primary keys having short integer types - active record doctor:short primary key type mismatched foreign key types - active record doctor:mismatched foreign key type tables without primary keys - active record doctor:table without primary key tables without timestamps - active record doctor:table without timestamps It can also: index unindexed foreign keys - active record doctor:unindexed foreign keys Installation In order to use the latest production release, please add the following to yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/gregnavis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gregnavis/active_record_doctor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}