浏览代码

add useNullAsDefault to knexfile as well

Pouria Ezzati 1 年之前
父节点
当前提交
d6413ef8ef
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      knexfile.js

+ 1 - 0
knexfile.js

@@ -11,6 +11,7 @@ module.exports = {
     password: env.DB_PASSWORD,
     ssl: env.DB_SSL,
   },
+  useNullAsDefault: true,
   migrations: {
     tableName: "knex_migrations",
     directory: "server/migrations",