Sha256: d29adcda09067de348c5705b22f571bc84bde3e541eb85d80b0e42fe1ee7e534
Contents?: true
Size: 539 Bytes
Versions: 8
Compression:
Stored size: 539 Bytes
Contents
# frozen_string_literal: true require_relative "../../application" module Hanami module CLI module Commands module Monolith module DB class Create < Application desc "Create database" def call(**) if database.create_command out.puts "=> database #{database.name} created" else out.puts "=> failed to create database #{database.name}" end end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems