poder cambiar la base de datos de producción

This commit is contained in:
f 2021-05-17 15:51:20 -03:00
parent c3d7dc317c
commit 43b85a6e9b
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
DATABASE=
RAILS_ENV= RAILS_ENV=
IMAP_SERVER= IMAP_SERVER=
DEFAULT_FROM= DEFAULT_FROM=

View file

@ -23,7 +23,7 @@ test:
production: production:
adapter: postgresql adapter: postgresql
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
database: sutty database: <%= ENV.fetch('DATABASE') { 'sutty' } %>
user: sutty user: sutty
host: postgresql host: postgresql
encoding: unicode encoding: unicode