Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use foreign key DSL in our tests. | Yves Senn | 2014-07-16 | 1 | -2/+2 |
| | |||||
* | `rename_index`: add the new index before removing the old one. | Yves Senn | 2013-11-26 | 1 | -6/+19 |
| | | | | | | | | | | | This prevents the following error when a MySQL index on a foreign key column is renamed: ``` ActiveRecord::StatementInvalid: Mysql2::Error: Cannot drop index 'index_engines_on_car_id': needed in a foreign key constraint: DROP INDEX `index_engines_on_car_id` ON `engines` ``` refs: #13038. | ||||
* | sets limit 191 for schema_migrations#version in mysql2 if the encoding is ↵ | Xavier Noria | 2013-03-17 | 1 | -0/+26 |
"utf8mb4" Please, see rationale in the included CHANGELOG patch. |