aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy_with_name_collision/1_people_have_hobbies.rb
Commit message (Collapse)AuthorAgeFilesLines
* Internal test migrations use the private 'Current' versionMatthew Draper2015-12-151-1/+1
| | | | | | | | 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.
* Ignore origin comment when checking for duplicates on Migration.copyPiotr Sarnacki2011-12-091-0/+9
49ebe51 fixed copying migrations, but existing migrations would still trigger warnings. The proper way to compare migrations is to ignore origin lines - if migration is identical it means that we can silently skip it, regardless where it comes from.