🐛 Fix postgres schema

This commit is contained in:
Jan Oberhauser
2020-05-13 09:31:31 +02:00
parent 96e5d34065
commit 6c685ccae1
2 changed files with 11 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ export async function init(): Promise<IDatabaseCollections> {
password: await GenericHelpers.getConfigValue('database.postgresdb.password') as string,
port: await GenericHelpers.getConfigValue('database.postgresdb.port') as number,
username: await GenericHelpers.getConfigValue('database.postgresdb.user') as string,
schema: await GenericHelpers.getConfigValue('database.postgresdb.schema') as string,
schema: config.get('database.postgresdb.schema'),
migrations: [InitialMigration1587669153312],
migrationsRun: true,
migrationsTableName: `${entityPrefix}migrations`,