Sha256: 5b47498af8df0880c1d6dff2d5cd546b55447bcc27a5d03628eaf0cc16d2779f

Contents?: true

Size: 290 Bytes

Versions: 5

Compression:

Stored size: 290 Bytes

Contents

require 'hanami/commands/command'

module Hanami
  module Commands
    class DB
      class Create < Command
        requires 'model.configuration'

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-1.0.0.beta2 lib/hanami/commands/db/create.rb
hanami-1.0.0.beta1 lib/hanami/commands/db/create.rb
hanami-0.9.2 lib/hanami/commands/db/create.rb
hanami-0.9.1 lib/hanami/commands/db/create.rb
hanami-0.9.0 lib/hanami/commands/db/create.rb