Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modernizes hash syntax in activerecord | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | Internal test migrations use the private 'Current' version | Matthew Draper | 2015-12-15 | 3 | -3/+3 |
| | | | | | | | | Apart from specific versioning support, our tests should focus on the behaviour of whatever version they're accompanying, regardless of when they were written. Application code should *not* do this. | ||||
* | in the middle of refactoring | Aaron Patterson | 2010-12-03 | 3 | -6/+6 |
| | |||||
* | Implemented ActiveRecord::Migrations#copy based on James Adam's idea | Piotr Sarnacki | 2010-09-03 | 3 | -0/+33 |
ActiveRecord::Migration#copy allows to copy migrations from one place to another, changing migrations versions and adding scope to filename. For example: ActiveRecord::Migration.copy("db/migrate", :blog_engine => "vendor/gems/blog/db/migrate") will copy all migrations from vendor/gems/blog/db/migrate to db/migrate with such format: Versions of copied migrations will be reversioned to be appended after migrations that already exists in db/migrate |