aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Peyraud2017-12-17 15:50:03 +0100
committerFlorent Peyraud2017-12-17 15:50:03 +0100
commit3469e1f415c0ce94e02ed0433d4fc2f5f7108528 (patch)
tree73525d77c21b8a29dfb8277a19e1759524e40058
parent9d811a0c50e37e4bde863c03ba851388b04f94ee (diff)
downloadchouette-core-3469e1f415c0ce94e02ed0433d4fc2f5f7108528.tar.bz2
refactor database.yml for nulldb adapter
-rw-r--r--config/database.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
index 2a3ddf5d0..60f1d032f 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -21,6 +21,7 @@ test: &test
production:
<<: *default
+ adapter: <%= ENV.fetch 'RAILS_DB_ADAPTER', 'postgis' %>
database: chouette2
cucumber: