Sha256: 2839dd01baf8a4242e8c7253db7e0252484c759c851f6c991f8042379ef325a4

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

require 'hanami/commands/command'

module Hanami
  module Commands
    # @api private
    class DB
      # @api private
      class Create < Command
        requires 'model.configuration'

        # @api private
        def start
          require 'hanami/model/migrator'
          Hanami::Model::Migrator.create
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hanami-1.0.0 lib/hanami/commands/db/create.rb
hanami-1.0.0.rc1 lib/hanami/commands/db/create.rb
hanami-1.0.0.beta3 lib/hanami/commands/db/create.rb