aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG2
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb3
2 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 9897ab237f..1196065110 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Document :force option to create_table. #2921 [Blair Zajac <blair@orcaware.com>]
+
* Don't add the same conditions twice in has_one finder sql. #2916 [Jeremy Evans]
* Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
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)