Skip to content
Browse files

Use `SchemaStatements#initialize_schema_migrations_table` instead of …

…`ActiveRecord::SchemaMigration.create_table`.
  • Loading branch information...
1 parent 5da96e0 commit c40e286e5c37599ee9258e7db70d51841c6a1c09 @kamipo kamipo committed with fxn Nov 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/migration.rb
View
2 activerecord/lib/active_record/migration.rb
@@ -879,7 +879,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 c40e286

Please sign in to comment.
Something went wrong with that request. Please try again.