Pārlūkot izejas kodu

fix: pass env.DB_SSL to Knex so that migrations succeed with SSL (#316)

Hugo 5 gadi atpakaļ
vecāks
revīzija
1b70e84513
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      knexfile.ts

+ 2 - 1
knexfile.ts

@@ -8,7 +8,8 @@ module.exports = {
       database: env.DB_NAME,
       user: env.DB_USER,
       port: env.DB_PORT,
-      password: env.DB_PASSWORD
+      password: env.DB_PASSWORD,
+      ssl: env.DB_SSL,
     },
     migrations: {
       tableName: "knex_migrations",