From 3b9d03b4ce590e16b3ce96054532464981aa3a94 Mon Sep 17 00:00:00 2001 From: Enrico Stano Date: Wed, 31 Jan 2018 10:54:54 +0100 Subject: [PATCH] Add default DB name for staging --- config/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index 5ff305bc2..5856d3b67 100644 --- a/config/database.yml +++ b/config/database.yml @@ -27,7 +27,7 @@ test: staging: <<: *defaults - database: <%= ENV.fetch('DATABASE_NAME') %> + database: <%= ENV.fetch('DATABASE_NAME', 'timeoverflow_staging') %> production: # Set DATABASE_URL environment variable