Skip to content
Browse files

Doc fix (closes #4521)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 584bec9 commit 217f67bf847c3f80e9e13698fd42dcf3b3782fa9 @dhh dhh committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/lib/active_record/migration.rb
View
1 activerecord/lib/active_record/migration.rb
@@ -61,6 +61,7 @@ def initialize(version)
# 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

0 comments on commit 217f67b

Please sign in to comment.
Something went wrong with that request. Please try again.