Ver Fonte

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

Hugo há 5 anos atrás
pai
commit
1b70e84513
1 ficheiros alterados com 2 adições e 1 exclusões
  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",