Skip to content

Conversation

@sauliusgrigaitis
Copy link
Contributor

I'm surprised why so much people use privileged user for database access from Rails. App database user should not be allowed to drop/create databases. So I added options to specify privileged username and password (PostgreSQL only) for those who use unprivileged user for Rails app:

set :db_remote_superuser, 'postgres'
set :db_remote_superuser_password, 'secret'
set :db_local_superuser, 'postgres'
set :db_local_superuser_password, 'secret'

Solves #40

@sauliusgrigaitis sauliusgrigaitis changed the title Allow to specify privileged user for database drop/create (PostgreSQL only). Solves #40 Allow to specify privileged user for database drop/create (PostgreSQL only) Nov 22, 2015
@numbata
Copy link
Collaborator

numbata commented Nov 30, 2016

What about idea of PR #100 : allow to use local database.yml with custom credentials for remote database?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants