lib/hanami/cli/commands/db/drop.rb in hanami-1.1.0.beta3 vs lib/hanami/cli/commands/db/drop.rb in hanami-1.1.0.rc1

- old
+ new

@@ -1,26 +1,26 @@ module Hanami class CLI module Commands - # @since x.x.x + # @since 1.1.0 # @api private module Db class Drop < Command requires "model.configuration" desc "Drop the database (only for development/test)" - # @since x.x.x + # @since 1.1.0 # @api private def call(**options) context = Context.new(options: options) drop_database(context) end private - # @since x.x.x + # @since 1.1.0 # @api private def drop_database(*) require "hanami/model/migrator" Hanami::Model::Migrator.drop end