Permalink
Browse files

Use `SchemaStatements#initialize_schema_migrations_table` instead of …

…`ActiveRecord::SchemaMigration.create_table`.
  • Loading branch information...
1 parent 1ffa4ab commit 5d788e94f04f2e0e5f86c2c83649a92ffbedc29d @kamipo kamipo committed Nov 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/migration.rb
@@ -896,7 +896,7 @@ def initialize(direction, migrations, target_version = nil)
validate(@migrations)
- ActiveRecord::SchemaMigration.create_table
+ Base.connection.initialize_schema_migrations_table
end
def current_version

0 comments on commit 5d788e9

Please sign in to comment.