fix: mssql initial migration crash

This commit is contained in:
Nicolas Giard committed 2018-09-08 15:49:36 -04:00
1 parent e284822875
commit 92d0925d51
18 files changed
+77 -51

No files matched your search

+2
View File
@@ -34,6 +34,7 @@ module.exports = {
case 'postgres':
dbClient = 'pg'
break
case 'mariadb':
case 'mysql':
dbClient = 'mysql2'
break
@@ -52,6 +53,7 @@ module.exports = {
this.knex = Knex({
client: dbClient,
useNullAsDefault: true,
asyncStackTraces: WIKI.IS_DEBUG,
connection: dbConfig,
pool: {
async afterCreate(conn, done) {