瀏覽代碼

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

Hugo 5 年之前
父節點
當前提交
1b70e84513
共有 1 個文件被更改,包括 2 次插入1 次删除
  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",