-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for upserts? #61
Comments
Paper trail uses sequelize hooks. This is possible setting |
From what I can see, sequelize-paper-trail does not use the sequelize-paper-trail/lib/index.js Lines 199 to 204 in e9b48cc
|
One problem with using
|
@Lemmmy @ksfreitas any ideas on how to implement it / whether it's worth to implement it? |
Support for upsert opperation PR: #123 |
Currently, it does not look like sequelize-paper-trail supports revisions for upserts (and possibly bulkCreate too?). Would it be possible/feasible to support this, or should I manually do findOne + insert/update? I'm using MySQL.
The text was updated successfully, but these errors were encountered: