Module: RedshiftSimpleMigrator::Migration::RunCallbacksWrapper
- Defined in:
- lib/redshift_simple_migrator/migration.rb
Instance Method Summary collapse
Instance Method Details
#down ⇒ Object
22 23 24 25 26 |
# File 'lib/redshift_simple_migrator/migration.rb', line 22 def down run_callbacks :down do super end end |
#exec(*args) ⇒ Object
28 29 30 31 |
# File 'lib/redshift_simple_migrator/migration.rb', line 28 def exec(*args) log_sql(args[0]) super end |
#execute(*args) ⇒ Object
33 34 35 36 |
# File 'lib/redshift_simple_migrator/migration.rb', line 33 def execute(*args) log_sql(args[0]) super end |
#up ⇒ Object
16 17 18 19 20 |
# File 'lib/redshift_simple_migrator/migration.rb', line 16 def up run_callbacks :up do super end end |