Module: StrongMigrations::MigrationContext

Defined in:
lib/strong_migrations/migration_context.rb

Instance Method Summary collapse

Instance Method Details

#downObject



9
10
11
12
13
# File 'lib/strong_migrations/migration_context.rb', line 9

def down(...)
  super
rescue => e
  strong_migrations_process_exception(e)
end

#runObject



15
16
17
18
19
# File 'lib/strong_migrations/migration_context.rb', line 15

def run(...)
  super
rescue => e
  strong_migrations_process_exception(e)
end

#upObject



3
4
5
6
7
# File 'lib/strong_migrations/migration_context.rb', line 3

def up(...)
  super
rescue => e
  strong_migrations_process_exception(e)
end