mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
4705ba82db
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. |
||
---|---|---|
.. | ||
change_schema_test.rb | ||
change_table_test.rb | ||
column_attributes_test.rb | ||
column_positioning_test.rb | ||
columns_test.rb | ||
command_recorder_test.rb | ||
compatibility_test.rb | ||
create_join_table_test.rb | ||
foreign_key_test.rb | ||
helper.rb | ||
index_test.rb | ||
logger_test.rb | ||
pending_migrations_test.rb | ||
references_foreign_key_test.rb | ||
references_index_test.rb | ||
references_statements_test.rb | ||
rename_table_test.rb |