Sfoglia il codice sorgente

add useNullAsDefault to knexfile as well

Pouria Ezzati 1 anno fa
parent
commit
d6413ef8ef
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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",