From e6b55cba604ba3fb6b2ca5ac28f100b1ceb53b3c Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Fri, 1 Feb 2019 15:53:03 +0100 Subject: [PATCH] fix: Critical bugfix 'databaseSchema' not defaulting to 'public' --- CHANGELOG.md | 4 ++++ lib/options.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fd560202c..99a0a538f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.1.7 + +- fix: Critical bugfix 'databaseSchema' not defaulting to 'public' + ## 3.1.6 - fix: Database migrator does use the databaseSchema option. diff --git a/lib/options.js b/lib/options.js index 644869997f..3fffbd8e65 100644 --- a/lib/options.js +++ b/lib/options.js @@ -7,7 +7,7 @@ const THIRTY_DAYS = 30 * 24 * 60 * 60 * 1000; const DEFAULT_OPTIONS = { databaseUrl: process.env.DATABASE_URL, - databaseSchema: 'another', + databaseSchema: 'public', port: process.env.HTTP_PORT || process.env.PORT || 4242, host: process.env.HTTP_HOST, baseUriPath: process.env.BASE_URI_PATH || '',