lib/hanami/cli/commands/app/db/drop.rb in hanami-cli-2.0.0.rc1 vs lib/hanami/cli/commands/app/db/drop.rb in hanami-cli-2.0.0
- old
+ new
@@ -5,12 +5,14 @@
module Hanami
module CLI
module Commands
module App
module DB
+ # @api private
class Drop < App::Command
desc "Delete database"
+ # @api private
def call(**)
if database.drop_command
out.puts "=> database #{database.name} dropped"
else
out.puts "=> failed to drop #{database.name}"