mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
2 changed files with 2 additions and 2 deletions
|
@ -459,7 +459,7 @@ module ActiveRecord
|
||||||
# Or equivalently, if +TenderloveMigration+ is defined as in the
|
# Or equivalently, if +TenderloveMigration+ is defined as in the
|
||||||
# documentation for Migration:
|
# documentation for Migration:
|
||||||
#
|
#
|
||||||
# require_relative '2012121212_tenderlove_migration'
|
# require_relative '20121212123456_tenderlove_migration'
|
||||||
#
|
#
|
||||||
# class FixupTLMigration < ActiveRecord::Migration
|
# class FixupTLMigration < ActiveRecord::Migration
|
||||||
# def change
|
# def change
|
||||||
|
|
|
@ -652,7 +652,7 @@ can't be done.
|
||||||
You can use Active Record's ability to rollback migrations using the `revert` method:
|
You can use Active Record's ability to rollback migrations using the `revert` method:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
require_relative '2012121212_example_migration'
|
require_relative '20121212123456_example_migration'
|
||||||
|
|
||||||
class FixupExampleMigration < ActiveRecord::Migration
|
class FixupExampleMigration < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
|
|
Loading…
Reference in a new issue