aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2015-09-29 02:03:58 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2015-09-29 02:06:52 +0530
commit58a0c2ea98cd0d46965e4ce7346a1159dce0dbd8 (patch)
treef3f8abd5c671b0339e08cb0f1dc8525bb931352b /activerecord/lib/active_record/migration
parent4147ab730e807f622e5260a5f876749ff41fef26 (diff)
downloadrails-58a0c2ea98cd0d46965e4ce7346a1159dce0dbd8.tar.gz
rails-58a0c2ea98cd0d46965e4ce7346a1159dce0dbd8.tar.bz2
rails-58a0c2ea98cd0d46965e4ce7346a1159dce0dbd8.zip
adding basic change_column and remove_columns in CommandRecorder documentations [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/migration')
-rw-r--r--activerecord/lib/active_record/migration/command_recorder.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb
index 4c4afb4dbd..0fa665c7e0 100644
--- a/activerecord/lib/active_record/migration/command_recorder.rb
+++ b/activerecord/lib/active_record/migration/command_recorder.rb
@@ -9,6 +9,7 @@ module ActiveRecord
# * add_index
# * add_reference
# * add_timestamps
+ # * change_column
# * change_column_default (must supply a :from and :to option)
# * change_column_null
# * create_join_table
@@ -18,6 +19,7 @@ module ActiveRecord
# * drop_table (must supply a block)
# * enable_extension
# * remove_column (must supply a type)
+ # * remove_columns (must specify at least one column name or more)
# * remove_foreign_key (must supply a second table)
# * remove_index
# * remove_reference