提交 be19bf37 编写于 作者: R Robin Dupret

Merge pull request #21354 from yui-knk/fix/migration_file_timestamp

[ci skip] Fix migration file's timestamp
......@@ -459,7 +459,7 @@ def initialize(name = self.class.name, version = nil)
# 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册