Sha256: f632695db03c303cfcf2d92e613fdc221e3649be36c347cb656ac48fe8fd87f9
Contents?: true
Size: 693 Bytes
Versions: 18
Compression:
Stored size: 693 Bytes
Contents
module Hanami class CLI module Commands module Db # @since 1.1.0 # @api private class Version < Command requires "model.configuration.no_logger" desc "Print the current migrated version" # @since 1.1.0 # @api private def call(**options) context = Context.new(options: options) print_database_version(context) end private # @since 1.1.0 # @api private def print_database_version(*) require "hanami/model/migrator" puts Hanami::Model::Migrator.version end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems