lib/hanami/commands/db/create.rb in hanami-0.8.0 vs lib/hanami/commands/db/create.rb in hanami-0.9.0

- old
+ new

@@ -1,10 +1,12 @@ -require 'hanami/commands/db/abstract' +require 'hanami/commands/command' module Hanami module Commands class DB - class Create < Abstract + class Create < Command + requires 'model.configuration' + def start require 'hanami/model/migrator' Hanami::Model::Migrator.create end end