File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed
lib/active_record/connection_adapters/abstract Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change
1
+ * Remove deprecated methods ` initialize_schema_migrations_table ` and ` initialize_internal_metadata_table ` .
2
+
3
+ * Rafael Mendonça França*
4
+
1
5
* Raises when calling ` lock! ` in a dirty record.
2
6
3
7
* Rafael Mendonça França*
Original file line number Diff line number Diff line change @@ -1015,16 +1015,6 @@ def dump_schema_information #:nodoc:
1015
1015
insert_versions_sql ( versions ) if versions . any?
1016
1016
end
1017
1017
1018
- def initialize_schema_migrations_table # :nodoc:
1019
- ActiveRecord ::SchemaMigration . create_table
1020
- end
1021
- deprecate :initialize_schema_migrations_table
1022
-
1023
- def initialize_internal_metadata_table # :nodoc:
1024
- ActiveRecord ::InternalMetadata . create_table
1025
- end
1026
- deprecate :initialize_internal_metadata_table
1027
-
1028
1018
def internal_string_options_for_primary_key # :nodoc:
1029
1019
{ primary_key : true }
1030
1020
end
Original file line number Diff line number Diff line change @@ -1107,11 +1107,6 @@ def test_unknown_migration_version_should_raise_an_argument_error
1107
1107
assert_raise ( ArgumentError ) { ActiveRecord ::Migration [ 1.0 ] }
1108
1108
end
1109
1109
1110
- def test_deprecate_initialize_internal_tables
1111
- assert_deprecated { ActiveRecord ::Base . connection . initialize_schema_migrations_table }
1112
- assert_deprecated { ActiveRecord ::Base . connection . initialize_internal_metadata_table }
1113
- end
1114
-
1115
1110
def test_deprecate_supports_migrations
1116
1111
assert_deprecated { ActiveRecord ::Base . connection . supports_migrations? }
1117
1112
end
You can’t perform that action at this time.
0 commit comments