Skip to content

Commit

Permalink
Fix Postgres to use same value as detected by VCAP_SERVICES
Browse files Browse the repository at this point in the history
  • Loading branch information
aeijdenberg committed Jul 2, 2018
1 parent f6ea4a3 commit 1664193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app-core/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func exportDatabaseConfig(dbConfig datastore.DatabaseConfig) {
exportString(DB_PASSWORD, dbConfig.Password)
exportString(DB_DATABASE_NAME, dbConfig.Database)

if dbConfig.DatabaseProvider == "psql" {
if dbConfig.DatabaseProvider == "pgsql" {
exportString(DB_TYPE, TYPE_POSTGRES)
} else if dbConfig.DatabaseProvider == "mysql" {
exportString(DB_TYPE, TYPE_MYSQL)
Expand Down

0 comments on commit 1664193

Please sign in to comment.