3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00

fix: more db timezone issues

This commit is contained in:
Dragory 2018-08-02 17:53:03 +03:00
parent 2520fac7d6
commit 2e7d51ca31

View file

@ -22,5 +22,12 @@ module.exports = {
return next();
}
},
pool: {
afterCreate(conn, cb) {
conn.query('SET time_zone = "+00:00";', err => {
cb(err, conn);
});
}
}
};