Sha256: c92ee2ada634453091b90f348c62f92e98cbf0196a79cd44dc1a698791d82b3a

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

require 'hanami/commands/command'

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

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