Sha256: ee7b34d9e1da3c4e658adb232527a4aba14a4b1b71566de139e64e944625d547
Contents?: true
Size: 572 Bytes
Versions: 11
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true require_relative "../../app/command" 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}" end end end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems