Module: StrongMigrations::MigrationContext

Defined in:
lib/strong_migrations/migration_context.rb

Instance Method Summary collapse

Instance Method Details

#downObject

[View source]

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

[View source]

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

[View source]

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