Merge pull request #21354 from yui-knk/fix/migration_file_timestamp
[ci skip] Fix migration file's timestamp
This commit is contained in:
commit
be19bf3728
|
@ -459,7 +459,7 @@ module ActiveRecord
|
|||
# Or equivalently, if +TenderloveMigration+ is defined as in the
|
||||
# documentation for Migration:
|
||||
#
|
||||
# require_relative '2012121212_tenderlove_migration'
|
||||
# require_relative '20121212123456_tenderlove_migration'
|
||||
#
|
||||
# class FixupTLMigration < ActiveRecord::Migration
|
||||
# def change
|
||||
|
|
|
@ -652,7 +652,7 @@ can't be done.
|
|||
You can use Active Record's ability to rollback migrations using the `revert` method:
|
||||
|
||||
```ruby
|
||||
require_relative '2012121212_example_migration'
|
||||
require_relative '20121212123456_example_migration'
|
||||
|
||||
class FixupExampleMigration < ActiveRecord::Migration
|
||||
def change
|
||||
|
|
Loading…
Reference in New Issue