aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2015-01-21 02:46:07 +0000
committerYasuo Honda <yasuo.honda@gmail.com>2015-01-21 16:17:34 +0000
commited3c38c7aa2653ddba67ad12926ac158fbdf6c32 (patch)
treef80e14398c2882be845431b106259e1b06ded860 /activerecord/lib/active_record/connection_adapters
parentbe9b68038e83a617eb38c26147659162e4ac3d2c (diff)
downloadrails-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 'activerecord/lib/active_record/connection_adapters')
0 files changed, 0 insertions, 0 deletions