mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Update docs as remove_column
can be reversed
As `remove_column` can be reversed when a type is provided this example was not accurate anymore.
This commit is contained in:
parent
e2d11970f2
commit
88de317992
1 changed files with 3 additions and 3 deletions
|
@ -494,9 +494,9 @@ module ActiveRecord
|
|||
# This migration will create the horses table for you on the way up, and
|
||||
# automatically figure out how to drop the table on the way down.
|
||||
#
|
||||
# Some commands like +remove_column+ cannot be reversed. If you care to
|
||||
# define how to move up and down in these cases, you should define the +up+
|
||||
# and +down+ methods as before.
|
||||
# Some commands cannot be reversed. If you care to define how to move up
|
||||
# and down in these cases, you should define the +up+ and +down+ methods
|
||||
# as before.
|
||||
#
|
||||
# If a command cannot be reversed, an
|
||||
# <tt>ActiveRecord::IrreversibleMigration</tt> exception will be raised when
|
||||
|
|
Loading…
Reference in a new issue