reversible()
Instance Public methods
Used to specify an operation that can be run in one direction or another.
Call the methods up and down of the yielded
object to run a block only in one given direction. The whole block will be
called in the right order within the migration.
In the following example, the looping on users will always be done when the
three columns 'first_name', 'last_name' and
'full_name' exist, even when migrating down:
class SplitNameMigration < ActiveRecord: