Open ksfreitas opened 5 years ago
Hi, I'm using mysql 5.6 and it is not recognizing json fields - is mysql 5.7+ a dependency of this package?
Hi, I'm using mysql 5.6 and it is not recognizing json fields - is mysql 5.7+ a dependency of this package?
No, you can configure using the option documentFieldType
as legacy
. Look my fork: https://github.com/ksfreitas/sequelize-paper-trail
Hi, I'm using mysql 5.6 and it is not recognizing json fields - is mysql 5.7+ a dependency of this package?
Currently you can work with any MySQL using the undocumented param mysql
as true
.
would be nice to document the mysql parameter.
JSON field was changed to JSONB (I think its a Postgres specific field). In past versions of paper-trail, the JSON field it worked fine with MySQL 5.7+ versions.
I'm working in a patch to keep paper trail working both with Pg/MySQL native JSON fields.