Class: CopyBot::Steps::RunMigrationsOnLocalDb
- Defined in:
- lib/copy_bot/steps/run_migrations_on_local_db.rb
Instance Attribute Summary
Attributes inherited from BaseStep
Instance Method Summary collapse
Methods inherited from BaseStep
Constructor Details
This class inherits a constructor from CopyBot::Steps::BaseStep
Instance Method Details
#run ⇒ String
5 6 7 8 9 |
# File 'lib/copy_bot/steps/run_migrations_on_local_db.rb', line 5 def run Rake::Task['db:migrate'].invoke @success = true @message = 'Ran migrations on local DB.' end |