mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
fix: more db timezone issues
This commit is contained in:
parent
2520fac7d6
commit
2e7d51ca31
1 changed files with 7 additions and 0 deletions
|
@ -22,5 +22,12 @@ module.exports = {
|
||||||
|
|
||||||
return next();
|
return next();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
pool: {
|
||||||
|
afterCreate(conn, cb) {
|
||||||
|
conn.query('SET time_zone = "+00:00";', err => {
|
||||||
|
cb(err, conn);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue