diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-01-30 20:52:33 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-01-30 20:52:33 +0900 |
commit | 4e551d05c9ddfc13812d8c8d87f277d1aac371c4 (patch) | |
tree | c868e59dc467d4fe265f52b65fbf69edfa278e54 /activerecord/test/models/ship_part.rb | |
parent | 6162c49e40582bf058a6bb82ccc0cfb8f92332b6 (diff) | |
download | rails-4e551d05c9ddfc13812d8c8d87f277d1aac371c4.tar.gz rails-4e551d05c9ddfc13812d8c8d87f277d1aac371c4.tar.bz2 rails-4e551d05c9ddfc13812d8c8d87f277d1aac371c4.zip |
Make `SchemaMigration.drop_table` to one SQL
`SchemaMigration.drop_table` is only used in tests.
Simply we can use `drop_table if_exists: true`.
Diffstat (limited to 'activerecord/test/models/ship_part.rb')
0 files changed, 0 insertions, 0 deletions