diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-20 00:21:30 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-20 00:21:30 +0900 |
commit | 7674df550b0cde7f18b3d70967f0cb3ac61ae244 (patch) | |
tree | d47a847faaf3e37b286bf5970c2560b4b3726508 /activerecord/test/cases/adapters | |
parent | 893d5fb0a24bc69b07574924d78ca7f9826f9403 (diff) | |
download | rails-7674df550b0cde7f18b3d70967f0cb3ac61ae244.tar.gz rails-7674df550b0cde7f18b3d70967f0cb3ac61ae244.tar.bz2 rails-7674df550b0cde7f18b3d70967f0cb3ac61ae244.zip |
Deprecate `initialize_schema_migrations_table` and `initialize_internal_metadata_table`
These internal initialize methods are no longer used internally.
Diffstat (limited to 'activerecord/test/cases/adapters')
-rw-r--r-- | activerecord/test/cases/adapters/mysql2/schema_migrations_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapters/mysql2/schema_migrations_test.rb b/activerecord/test/cases/adapters/mysql2/schema_migrations_test.rb index fa54aac6b3..605baa9905 100644 --- a/activerecord/test/cases/adapters/mysql2/schema_migrations_test.rb +++ b/activerecord/test/cases/adapters/mysql2/schema_migrations_test.rb @@ -16,7 +16,7 @@ class SchemaMigrationsTest < ActiveRecord::Mysql2TestCase table_name = ActiveRecord::SchemaMigration.table_name connection.drop_table table_name, if_exists: true - connection.initialize_schema_migrations_table + ActiveRecord::SchemaMigration.create_table assert connection.column_exists?(table_name, :version, :string, collation: "utf8_general_ci") end @@ -27,7 +27,7 @@ class SchemaMigrationsTest < ActiveRecord::Mysql2TestCase table_name = ActiveRecord::InternalMetadata.table_name connection.drop_table table_name, if_exists: true - connection.initialize_internal_metadata_table + ActiveRecord::InternalMetadata.create_table assert connection.column_exists?(table_name, :key, :string, collation: "utf8_general_ci") end |