Remove charset and multipleStatements from config file, added hardcoded
This commit is contained in:
parent
1b4afbca81
commit
f610f93fa7
4 changed files with 9 additions and 6 deletions
|
|
@ -10,7 +10,10 @@ const knex = require('knex')({
|
|||
connection: {
|
||||
...config.mysql,
|
||||
|
||||
// DATE and DATETIME types contain no timezone info. The MySQL driver tries to interpret them w.r.t. to local time, which
|
||||
charset: utf8mb4,
|
||||
multipleStatements: true,
|
||||
|
||||
// DATE and DATETIME types contain no timezone info. The MySQL driver tries to interpret them w.r.t. to local time, which
|
||||
// does not work well with assigning these values in UTC and handling them as if in UTC
|
||||
dateStrings: [
|
||||
'DATE',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue