Sha256: 3d566d62f2b695662aead7e2a18ac7d1e42a2f4c4ddb8c8f7b6f9f36a01fcf37

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

require 'hanami/commands/command'

module Hanami
  module Commands
    # @api private
    class DB
      # @api private
      class Prepare < Command
        requires 'model.sql'

        # @api private
        def start
          require 'hanami/model/migrator'
          Hanami::Model::Migrator.prepare
        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/prepare.rb
hanami-1.0.0.rc1 lib/hanami/commands/db/prepare.rb
hanami-1.0.0.beta3 lib/hanami/commands/db/prepare.rb