Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix random failures of tests on Travis | Prathamesh Sonpatki | 2016-02-12 | 1 | -1/+1 |
| | | | | | | | | | | - Tests on Travis are randomly failing because schema_migrations table does not exist in teardown block. - Also checked that all other places where we have used `ActiveRecord::SchemaMigration.delete_all` we have rescued it, so used it here also. This failure was not specifically related to the test added in this PR but to overall compatibility migration tests, so adding as separate commit. | ||||
* | Correctly show deprecation warning for incompatible migrations | Prathamesh Sonpatki | 2016-02-12 | 1 | -0/+12 |
| | |||||
* | Added test for backward compatibility of null constraints on timestamp columns | Prathamesh Sonpatki | 2016-01-31 | 1 | -0/+30 |
| | |||||
* | Pare back default `index` option for the migration generator | Prathamesh Sonpatki | 2016-01-24 | 1 | -0/+18 |
| | | | | | | | | | | - Using `references` or `belongs_to` in migrations will always add index for the referenced column by default, without adding `index:true` option to generated migration file. - Users can opt out of this by passing `index: false`. - Legacy migrations won't be affected by this change. They will continue to run as they were before. - Fixes #18146 | ||||
* | fix remove_index for postgresql when running legacy migrations | Lachlan Sylvester | 2016-01-06 | 1 | -0/+16 |
| | |||||
* | Support removing custom-names indexes when only specifying column names | Grey Baker | 2015-12-15 | 1 | -0/+42 |