edge badge
Methods
D
U
Instance Public methods
down()
# File activerecord/lib/active_record/migration.rb, line 474
def down
  yield if reverting
end
up()
# File activerecord/lib/active_record/migration.rb, line 470
def up
  yield unless reverting
end