Sha256: 8ecf0d7df8327569f80d94054ea930fbcf9bddf63735208bdb21506a8bf2e329

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

require 'hanami/commands/command'

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

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