sequelize-revisions
sequelize-revisions copied to clipboard
MySQL support?
Hey,
I'm getting the following error using MySQL database:
Unhandled rejection SequelizeDatabaseError: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'JSON NOT NULL,
createdAt
DATETIME NOT NUL L,updatedAt
DATETIME NOT NULL, PRI' at line 1 at Query.formatError (D:\express-tpss\node_modules\sequelize\lib\dialects\mysql\query.js:175:14) at Query._callback (D:\express-tpss\node_modules\sequelize\lib\dialects\mysql\query.js:49:21) at Query.Sequence.end (D:\express-tpss\node_modules\mysql\lib\protocol\sequences\Sequence.js:96:24) at Query.ErrorPacket (D:\express-tpss\node_modules\mysql\lib\protocol\sequences\Query.js:94:8) at Protocol._parsePacket (D:\express-tpss\node_modules\mysql\lib\protocol\Protocol.js:280:23) at Parser.write (D:\express-tpss\node_modules\mysql\lib\protocol\Parser.js:73:12) at Protocol.write (D:\express-tpss\node_modules\mysql\lib\protocol\Protocol.js:39:16) at Socket.(D:\express-tpss\node_modules\mysql\lib\Connection.js:96:28) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at readableAddChunk (_stream_readable.js:146:16) at Socket.Readable.push (_stream_readable.js:110:10) at TCP.onread (net.js:529:20)