aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-04-01 19:14:17 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-04-01 19:14:17 +0000
commit217f67bf847c3f80e9e13698fd42dcf3b3782fa9 (patch)
tree1b63efef7f5719d7e6e31e5e1a6776e6aed8200a /activerecord/lib
parent584bec967be4c3ff2e293126d5b65418d0655324 (diff)
downloadrails-217f67bf847c3f80e9e13698fd42dcf3b3782fa9.tar.gz
rails-217f67bf847c3f80e9e13698fd42dcf3b3782fa9.tar.bz2
rails-217f67bf847c3f80e9e13698fd42dcf3b3782fa9.zip
Doc fix (closes #4521)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/migration.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 47a6ed7086..d3581e2ccc 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -61,6 +61,7 @@ module ActiveRecord
# that can then add columns to it, following the same format as add_column. See example above. The options hash is for
# fragments like "DEFAULT CHARSET=UTF-8" that are appended to the create table definition.
# * <tt>drop_table(name)</tt>: Drops the table called +name+.
+ # * <tt>rename_table(old_name, new_name)</tt>: Renames the table called +old_name+ to +new_name+.
# * <tt>add_column(table_name, column_name, type, options)</tt>: Adds a new column to the table called +table_name+
# named +column_name+ specified to be one of the following types:
# :string, :text, :integer, :float, :datetime, :timestamp, :time, :date, :binary, :boolean. A default value can be specified