1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

fix: Critical bugfix 'databaseSchema' not defaulting to 'public'

This commit is contained in:
ivaosthu 2019-02-01 15:53:03 +01:00
parent 766932bc68
commit e6b55cba60
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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 || '',