Add SSL support for PostgreSQL connection

This commit is contained in:
qtchaos
2023-12-30 01:09:04 +02:00
parent 9a27b0b0b4
commit b2598e3d82
5 changed files with 18 additions and 3 deletions

View File

@@ -12,6 +12,8 @@ export const ormConfigSchema = z.object({
postgres: z.object({
// connection URL for postgres database
connection: z.string(),
// whether to use SSL for the connection
ssl: z.coerce.boolean().default(false),
}),
});