use password from database.yml for dbconsole
This commit is contained in:
parent
b33da0ee23
commit
499761d84a
|
@ -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`
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,7 +5,7 @@ module Capistrano
|
|||
# Console
|
||||
module Console
|
||||
# Gem version
|
||||
VERSION = '2.1.0'
|
||||
VERSION = '2.1.1'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue