Module: OnlineMigrations::DatabaseTasks
- Defined in:
- lib/online_migrations/database_tasks.rb
Instance Method Summary collapse
Instance Method Details
#migrate ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/online_migrations/database_tasks.rb', line 6 def migrate(*, **) super rescue => e if e.cause.is_a?(OnlineMigrations::Error) # strip cause def e.cause nil end end raise e end |