Sha256: c022a836ab38d1c2b1548de28b453f052f5b9aecaac1c16b96d7151b82092853
Contents?: true
Size: 630 Bytes
Versions: 11
Compression:
Stored size: 630 Bytes
Contents
# frozen_string_literal: true require_relative "../../../app/command" module Hanami module CLI module Commands module App module DB # @api private module Structure # @api private class Dump < App::Command desc "Dumps database structure to db/structure.sql file" # @api private def call(*) measure("#{database.name} structure dumped to db/structure.sql") do database.dump_command end end end end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems