add missing driver type from db config
This commit is contained in:
parent
d45d93b750
commit
ac930bf0d7
@ -15,6 +15,7 @@ export = process.env.NODE_ENV === 'development'
|
||||
entities: ['server/entities/**/*.entity.ts'],
|
||||
}
|
||||
: {
|
||||
type: 'postgres',
|
||||
url: process.env.DATABASE_URL,
|
||||
ssl: { rejectUnauthorized: true },
|
||||
migrations: ['server/database/migrations/*.ts'],
|
||||
|
@ -11,6 +11,7 @@ export const config: TypeOrmModuleOptions =
|
||||
autoLoadEntities: true,
|
||||
}
|
||||
: {
|
||||
type: 'postgres',
|
||||
url: process.env.DATABASE_URL,
|
||||
ssl: { rejectUnauthorized: true },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user