rails/railties/test/application/rake
eileencodes 22cef24b6e
Fix migrations with the same timestamps in multiple databases
In #42604 we added functionality that would sort the migrations by
timestamp so that if there were 2 migrations in 2 databases that were
dependent on one another they would be run in timestamp order rather
than in cluster order.

While debugging another issue I realized that if the timestamps are the
same that only one of the migrations will get run. This fixes the issue
by collecting all the db configs for a version so that we get the entire
list.

Co-authored-by: John Crepezzi <john.crepezzi@gmail.com>
2021-06-30 09:28:16 -04:00
..
dbs_test.rb chore: fix grammar and spelling 2021-04-12 05:30:44 +10:00
framework_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
log_test.rb Revert "Avoid chdir error in Railties tests on Ruby master" 2020-12-26 15:01:24 +09:00
migrations_test.rb Guard against using VERSION with db:rollback (#41430) 2021-02-15 19:30:05 -05:00
multi_dbs_test.rb Fix migrations with the same timestamps in multiple databases 2021-06-30 09:28:16 -04:00
restart_test.rb Revert "Avoid chdir error in Railties tests on Ruby master" 2020-12-26 15:01:24 +09:00
tmp_test.rb rails tmp:clear: clear tmp/storage 2021-05-28 22:34:49 -04:00