diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2015-01-21 02:46:07 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2015-01-21 16:17:34 +0000 |
commit | ed3c38c7aa2653ddba67ad12926ac158fbdf6c32 (patch) | |
tree | f80e14398c2882be845431b106259e1b06ded860 /actionpack/lib/action_controller/metal | |
parent | be9b68038e83a617eb38c26147659162e4ac3d2c (diff) | |
download | rails-ed3c38c7aa2653ddba67ad12926ac158fbdf6c32.tar.gz rails-ed3c38c7aa2653ddba67ad12926ac158fbdf6c32.tar.bz2 rails-ed3c38c7aa2653ddba67ad12926ac158fbdf6c32.zip |
Replace `if exists` with `table_exists?` and drop table statement with `drop_table`
since 'drop table if exists' statement does not always work with some databases such as Oracle.
also Oracle drop table statement will not drop sequence objects.
Diffstat (limited to 'actionpack/lib/action_controller/metal')
0 files changed, 0 insertions, 0 deletions