class Mongration::Migrate::Down

@private

Private Instance Methods

after_text() click to toggle source
# File lib/mongration/migrate/down.rb, line 21
def after_text
  'reverted'
end
before_text() click to toggle source
# File lib/mongration/migrate/down.rb, line 17
def before_text
  'reverting'
end
migrate(file) click to toggle source
# File lib/mongration/migrate/down.rb, line 9
def migrate(file)
  file.down
end
persist(file) click to toggle source
# File lib/mongration/migrate/down.rb, line 13
def persist(file)
  Migration.destroy_by_file_name(file.file_name)
end