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 SQLite3: Implement add_foreign_key and remove_foreign_key 2019-02-11 14:15:16 +09:00
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 add_reference should respect column position for both reference id and type columns 2017-09-01 21:49:28 +09:00
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 Remove NoForeignKeySupportTest which is no longer reached 2019-02-16 15:13:00 +09:00
references_index_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
references_statements_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
rename_table_test.rb Remove usage of strip_heredoc in the framework in favor of <<~ 2018-02-16 19:28:30 -05:00