Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Remove deprecated method `supports_migrations?`
- Loading branch information
|
|
@@ -1,3 +1,7 @@ |
|
|
* Remove deprecated method `supports_migrations?`. |
|
|
|
|
|
*Rafael Mendonça França* |
|
|
|
|
|
* Remove deprecated methods `initialize_schema_migrations_table` and `initialize_internal_metadata_table`. |
|
|
|
|
|
*Rafael Mendonça França* |
|
|
|
@@ -196,11 +196,6 @@ def adapter_name |
|
|
self.class::ADAPTER_NAME |
|
|
end |
|
|
|
|
|
def supports_migrations? # :nodoc: |
|
|
true |
|
|
end |
|
|
deprecate :supports_migrations? |
|
|
|
|
|
def supports_primary_key? # :nodoc: |
|
|
true |
|
|
end |
|
|
|
@@ -1107,10 +1107,6 @@ def test_unknown_migration_version_should_raise_an_argument_error |
|
|
assert_raise(ArgumentError) { ActiveRecord::Migration[1.0] } |
|
|
end |
|
|
|
|
|
def test_deprecate_supports_migrations |
|
|
assert_deprecated { ActiveRecord::Base.connection.supports_migrations? } |
|
|
end |
|
|
|
|
|
def test_deprecate_schema_migrations_table_name |
|
|
assert_deprecated { ActiveRecord::Migrator.schema_migrations_table_name } |
|
|
end |
|
|