Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "add missing methods supported by reversible migrations using …

…the change method"

This reverts commit 7f91eeb.

Reason: Incorrect documenting. The newly added methods to the list are
not actually supported by reversible migrations.
  • Loading branch information...
commit 2332aa6e188a14afb16c13a879d272b2c3ff03b8 1 parent 837a74b
@vijaydev vijaydev authored
View
5 activerecord/lib/active_record/migration/command_recorder.rb
@@ -6,11 +6,8 @@ class Migration
#
# * add_column
# * add_index
- # * add_timestamps
- # * change_column
- # * change_column_default
+ # * add_timestamp
# * create_table
- # * remove_column
# * remove_timestamps
# * rename_column
# * rename_index
View
5 railties/guides/source/migrations.textile
@@ -344,11 +344,8 @@ The +change+ method removes the need to write both +up+ and +down+ methods in th
* +add_column+
* +add_index+
-* +add_timestamps+
-* +change_column+
-* +change_column_default+
+* +add_timestamp+
* +create_table+
-* +remove_column+
* +remove_timestamps+
* +rename_column+
* +rename_index+
Please sign in to comment.
Something went wrong with that request. Please try again.