mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 14:53:25 +00:00
Add SSL support for PostgreSQL connection
This commit is contained in:
@@ -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),
|
||||
}),
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user