nielsgl / sequelize-paper-trail

Sequelize plugin for tracking revision history of model instances.
MIT License
95 stars 69 forks source link

"Revision.documentId cannot be null", #93

Open ArtStepanyuk opened 4 years ago

ArtStepanyuk commented 4 years ago

Having this issue with the sequelize 5.21.2 and latest stable "sequelize-paper-trail": "^3.0.1",

tried few rc-6 and rc-8 versions with no luck

madhavsund commented 4 years ago

Same issue. any solutions

jaknas commented 4 years ago

I had NO_AUTO_VALUE_ON_ZERO sql_mode set on my DB. After removing that, no more errors