Class: Openbox::Commands::Migrate
- Inherits:
-
Openbox::Command
- Object
- Thor::Group
- Openbox::Command
- Openbox::Commands::Migrate
- Defined in:
- lib/openbox/commands/migrate.rb
Overview
The Migrate Command
Instance Method Summary collapse
-
#execute ⇒ Object
Run rails migrate.
Methods inherited from Openbox::Command
Instance Method Details
#execute ⇒ Object
Run rails migrate
13 14 15 16 |
# File 'lib/openbox/commands/migrate.rb', line 13 def execute Openbox.database.ensure_connection! system('bundle exec rails db:migrate') end |