Sha256: bee260e988c6b0a2046e84ebe8f611942e223bd91c0d2e0bb6088a11506946c1

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

require 'hanami/commands/db/abstract'

module Hanami
  module Commands
    class DB
      class Drop < Abstract
        def start
          require 'hanami/model/migrator'
          Hanami::Model::Migrator.drop
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-0.8.0 lib/hanami/commands/db/drop.rb
hanami-0.7.3 lib/hanami/commands/db/drop.rb
hanami-0.7.2 lib/hanami/commands/db/drop.rb
hanami-0.7.1 lib/hanami/commands/db/drop.rb
hanami-0.7.0 lib/hanami/commands/db/drop.rb