diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2013-11-20 11:42:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2013-11-20 11:42:06 +0900 |
commit | 5d788e94f04f2e0e5f86c2c83649a92ffbedc29d (patch) | |
tree | be6006ac419b8f1baeb0f39c1a115a21b59885f8 /activerecord/lib/active_record | |
parent | 1ffa4abcd595b98ad83bc6b80cdf3b5a30fa25c9 (diff) | |
download | rails-5d788e94f04f2e0e5f86c2c83649a92ffbedc29d.tar.gz rails-5d788e94f04f2e0e5f86c2c83649a92ffbedc29d.tar.bz2 rails-5d788e94f04f2e0e5f86c2c83649a92ffbedc29d.zip |
Use `SchemaStatements#initialize_schema_migrations_table` instead of `ActiveRecord::SchemaMigration.create_table`.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index d010f23517..a4247fb6f4 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -896,7 +896,7 @@ module ActiveRecord validate(@migrations) - ActiveRecord::SchemaMigration.create_table + Base.connection.initialize_schema_migrations_table end def current_version |