diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-13 23:37:38 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-13 23:37:38 +0900 |
commit | e9e7e7d3fd70fb31224b9d1234b04cf41249ff2d (patch) | |
tree | 803f11a317e28b7e4a1eec0f92386eec29ac3287 /activerecord/test/cases | |
parent | 4f7d32311e6500eac52fee1aedd4aca18d73fce5 (diff) | |
download | rails-e9e7e7d3fd70fb31224b9d1234b04cf41249ff2d.tar.gz rails-e9e7e7d3fd70fb31224b9d1234b04cf41249ff2d.tar.bz2 rails-e9e7e7d3fd70fb31224b9d1234b04cf41249ff2d.zip |
Reset migration version before testing migration
https://buildkite.com/rails/rails/builds/61695#373bb1a7-677f-49ec-95e7-a92467fefd60/1076-1084
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/uuid_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/uuid_test.rb b/activerecord/test/cases/adapters/postgresql/uuid_test.rb index fe69b82764..71b4d3298e 100644 --- a/activerecord/test/cases/adapters/postgresql/uuid_test.rb +++ b/activerecord/test/cases/adapters/postgresql/uuid_test.rb @@ -285,6 +285,7 @@ class PostgresqlUUIDGenerationTest < ActiveRecord::PostgreSQLTestCase uses_transaction \ def test_schema_dumper_for_uuid_primary_key_default_in_legacy_migration + ActiveRecord::SchemaMigration.delete_all @verbose_was = ActiveRecord::Migration.verbose ActiveRecord::Migration.verbose = false @@ -334,6 +335,7 @@ class PostgresqlUUIDTestNilDefault < ActiveRecord::PostgreSQLTestCase uses_transaction \ def test_schema_dumper_for_uuid_primary_key_with_default_nil_in_legacy_migration + ActiveRecord::SchemaMigration.delete_all @verbose_was = ActiveRecord::Migration.verbose ActiveRecord::Migration.verbose = false |