lib/hanami/cli/commands/db/create.rb in hanami-1.1.0.beta3 vs lib/hanami/cli/commands/db/create.rb in hanami-1.1.0.rc1
- old
+ new
@@ -1,26 +1,26 @@
module Hanami
class CLI
module Commands
module Db
- # @since x.x.x
+ # @since 1.1.0
# @api private
class Create < Command
requires "model.configuration"
desc "Create the database (only for development/test)"
- # @since x.x.x
+ # @since 1.1.0
# @api private
def call(**options)
context = Context.new(options: options)
create_database(context)
end
private
- # @since x.x.x
+ # @since 1.1.0
# @api private
def create_database(*)
require "hanami/model/migrator"
Hanami::Model::Migrator.create
end