From aec5c98411551c058ba0209da7f804fa9f1b9b4d Mon Sep 17 00:00:00 2001 From: f Date: Wed, 28 Dec 2022 16:50:45 -0300 Subject: [PATCH] =?UTF-8?q?feat:=20usar=20DATABASE=5FURL=20en=20producci?= =?UTF-8?q?=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/database.yml b/config/database.yml index cd599a24..41fae09c 100644 --- a/config/database.yml +++ b/config/database.yml @@ -26,8 +26,4 @@ test: user: <%= ENV['USER'] %> production: - adapter: postgresql - pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> - database: <%= ENV.fetch('DATABASE') { 'sutty' } %> - user: sutty - host: postgresql + url: <%= ENV['DATABASE_URL'] %>