Class: Hanami::Commands::DB::Create

Inherits:
Command
  • Object
show all
Defined in:
lib/hanami/commands/db/create.rb

Instance Method Summary collapse

Methods inherited from Command

inherited, #initialize

Constructor Details

This class inherits a constructor from Hanami::Commands::Command

Instance Method Details

#startObject


9
10
11
12
# File 'lib/hanami/commands/db/create.rb', line 9

def start
  require 'hanami/model/migrator'
  Hanami::Model::Migrator.create
end