lib/hanami/cli/commands/db.rb in hanami-1.1.0.beta1 vs lib/hanami/cli/commands/db.rb in hanami-1.1.0.beta2
- old
+ new
@@ -9,22 +9,24 @@
module Db
require "hanami/cli/commands/db/version"
require "hanami/cli/commands/db/create"
require "hanami/cli/commands/db/drop"
require "hanami/cli/commands/db/migrate"
+ require "hanami/cli/commands/db/rollback"
require "hanami/cli/commands/db/prepare"
require "hanami/cli/commands/db/apply"
require "hanami/cli/commands/db/console"
end
end
register "db" do |prefix|
- prefix.register "version", Commands::Db::Version
- prefix.register "create", Commands::Db::Create
- prefix.register "drop", Commands::Db::Drop
- prefix.register "migrate", Commands::Db::Migrate
- prefix.register "prepare", Commands::Db::Prepare
- prefix.register "apply", Commands::Db::Apply
- prefix.register "console", Commands::Db::Console
+ prefix.register "version", Commands::Db::Version
+ prefix.register "create", Commands::Db::Create
+ prefix.register "drop", Commands::Db::Drop
+ prefix.register "migrate", Commands::Db::Migrate
+ prefix.register "rollback", Commands::Db::Rollback
+ prefix.register "prepare", Commands::Db::Prepare
+ prefix.register "apply", Commands::Db::Apply
+ prefix.register "console", Commands::Db::Console
end
end
end