From 84ec53753afd8b7288d5ac224c3157c3943df054 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Sat, 22 Apr 2006 15:10:09 +0000 Subject: Update inconsistent migrations documentation. Closes #4683. [machomagna@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/migration.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index d3581e2ccc..8dd3086413 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -70,8 +70,8 @@ module ActiveRecord # * change_column(table_name, column_name, type, options): Changes the column to a different type using the same # parameters as add_column. # * remove_column(table_name, column_name): Removes the column named +column_name+ from the table called +table_name+. - # * add_index(table_name, column_name, index_type): Add a new index with the name of the column on the column. Specify an optional index_type (e.g. UNIQUE). - # * remove_index(table_name, column_name): Remove the index called the same as the column. + # * add_index(table_name, column_names, index_type, index_name): Add a new index with the name of the column, or +index_name+ (if specified) on the column(s). Specify an optional +index_type+ (e.g. UNIQUE). + # * remove_index(table_name, index_name): Remove the index specified by +index_name+. # # == Irreversible transformations # -- cgit v1.2.3