aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/README.rdoc
diff options
context:
space:
mode:
authorStefan Kanev <stefan.kanev@gmail.com>2014-08-01 16:13:38 +0200
committerRyuta Kamizono <kamipo@gmail.com>2015-01-19 13:40:13 +0900
commit48e99a45310f5fec515305e90ff8ee2a6a61bada (patch)
treefe3354e0de2cf67944349db3b94ac7a4136ae8ec /activemodel/README.rdoc
parent53919bbfd2b3232ec66e0cdea7b387725653ab43 (diff)
downloadrails-48e99a45310f5fec515305e90ff8ee2a6a61bada.tar.gz
rails-48e99a45310f5fec515305e90ff8ee2a6a61bada.tar.bz2
rails-48e99a45310f5fec515305e90ff8ee2a6a61bada.zip
Add an `:if_exists` option to `drop_table`
If set to `if_exists: true`, it generates a statement like: DROP TABLE IF EXISTS posts This syntax is supported in the popular SQL servers, that is (at least) SQLite, PostgreSQL, MySQL, Oracle and MS SQL Sever. Closes #16366.
Diffstat (limited to 'activemodel/README.rdoc')
0 files changed, 0 insertions, 0 deletions