Explorar o código

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

Hugo %!s(int64=5) %!d(string=hai) anos
pai
achega
1b70e84513
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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",