use password from database.yml for dbconsole

This commit is contained in:
Florian Schwab 2016-10-04 16:41:31 +02:00
parent b33da0ee23
commit 499761d84a
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Change Log
## 2.1.1 (2016-10-04)
### Feature
- use password from database.yml for dbconsole
## 2.1.0 (2016-09-23)
### Feature
- add support for `rails dbconsole`

View File

@ -29,7 +29,7 @@ namespace :rails do
run_interactively primary(:app) do
within current_path do
as user: fetch(:console_user) do
execute(:rails, :dbconsole, '-e', fetch(:console_env))
execute(:rails, :dbconsole, '-p', '-e', fetch(:console_env))
end
end
end

View File

@ -5,7 +5,7 @@ module Capistrano
# Console
module Console
# Gem version
VERSION = '2.1.0'
VERSION = '2.1.1'
end
end
end