diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-17 20:48:10 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-17 20:48:10 +0000 |
commit | fd66ccb01658b7cc7654e42233fd760b4fc788ff (patch) | |
tree | 2d14d14ea47514b096e0fb757224e62888835f37 /activerecord/lib/active_record | |
parent | 86da56a6547289515cbb327f3d7423dd226fc31a (diff) | |
download | rails-fd66ccb01658b7cc7654e42233fd760b4fc788ff.tar.gz rails-fd66ccb01658b7cc7654e42233fd760b4fc788ff.tar.bz2 rails-fd66ccb01658b7cc7654e42233fd760b4fc788ff.zip |
Document :force option to create_table. References #2921.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index d1e6dcf025..09d0a80ff2 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -43,6 +43,9 @@ module ActiveRecord # Any extra options you want appended to the table definition. # [<tt>:temporary</tt>] # Make a temporary table. + # [<tt>:force</tt>] + # Set to true or false to drop the table before creating it. + # Defaults to false. # # ===== Examples # ====== Add a backend specific option to the generated SQL (MySQL) |