mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Reset SchemaMigration after updating
This commit is contained in:
parent
9b520d31e5
commit
e56c80a172
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ if ActiveRecord::Base.connection.supports_migrations?
|
|||
|
||||
def teardown
|
||||
@connection.drop_table :fruits rescue nil
|
||||
ActiveRecord::SchemaMigration.delete_all rescue nil
|
||||
end
|
||||
|
||||
def test_schema_define
|
||||
|
|
Loading…
Reference in a new issue