1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/migration
John Hawthorn 4705ba82db Use FileUpdateChecker for Migration::CheckPending
Migration::CheckPending is a rack middleware normally used in
development to raise an exception if there pending migrations.

This commit replaces the existing caching, which avoided checking all
migrations if the newest migration (by version number) hadn't changed.
Instead, we now use FileUpdateChecker, which has two advantages: it can
detect new migrations which aren't the highest version, and it is
faster.
2019-10-08 16:29:12 -07:00
..
change_schema_test.rb
change_table_test.rb add_reference/remove_reference takes keyword arguments 2019-09-28 14:21:35 +09:00
column_attributes_test.rb Raise ArgumentError for invalid :limit and :precision like as other options 2019-04-07 16:14:42 +09:00
column_positioning_test.rb
columns_test.rb Cache database version in schema cache 2019-04-03 11:10:14 -04:00
command_recorder_test.rb Workaround for kwargs 2.7 and 2.6 incompatibility 2019-09-11 12:24:32 +09:00
compatibility_test.rb Move SchemaMigration to migration_context 2019-06-14 11:15:08 -04:00
create_join_table_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
foreign_key_test.rb Respect table name prefix/suffix for truncate_all 2019-04-04 04:16:24 +09:00
helper.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
index_test.rb Accept columns passed with options in remove_index 2019-09-10 22:21:20 +01:00
logger_test.rb Move SchemaMigration to migration_context 2019-06-14 11:15:08 -04:00
pending_migrations_test.rb Use FileUpdateChecker for Migration::CheckPending 2019-10-08 16:29:12 -07:00
references_foreign_key_test.rb
references_index_test.rb
references_statements_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
rename_table_test.rb