Skip to content

Commit

Permalink
Merge pull request #2600 from govau/fixpgsql
Browse files Browse the repository at this point in the history
Fix Postgres to use same value as detected by VCAP_SERVICES
  • Loading branch information
Irfan Habib authored Jul 2, 2018
2 parents 9538802 + d348886 commit 569d697
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 569d697

Please sign in to comment.