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'],
|
entities: ['server/entities/**/*.entity.ts'],
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
|
type: 'postgres',
|
||||||
url: process.env.DATABASE_URL,
|
url: process.env.DATABASE_URL,
|
||||||
ssl: { rejectUnauthorized: true },
|
ssl: { rejectUnauthorized: true },
|
||||||
migrations: ['server/database/migrations/*.ts'],
|
migrations: ['server/database/migrations/*.ts'],
|
||||||
|
@ -11,6 +11,7 @@ export const config: TypeOrmModuleOptions =
|
|||||||
autoLoadEntities: true,
|
autoLoadEntities: true,
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
|
type: 'postgres',
|
||||||
url: process.env.DATABASE_URL,
|
url: process.env.DATABASE_URL,
|
||||||
ssl: { rejectUnauthorized: true },
|
ssl: { rejectUnauthorized: true },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user