We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This appears to be related to sequelize/sequelize#10717
If the revisionModel is Revisions, sequelize 5 has a bug and lowercases the table name as revisions in queries. This breaks sequelize-paper-trail.
revisionModel
Revisions
revisions
sequelize-paper-trail
I've found two potential solutions both added on
sequelize-paper-trail/lib/index.js
Line 637 in a0f0b6a
freezeTableName: true,
tableName: options.tableName,
The text was updated successfully, but these errors were encountered:
Compensate for bug in upstream sequelize 5 where camelcase table names
ef26988
are being rewritten as lowercase. nielsgl#82
@nielsgl ^
Sorry, something went wrong.
No branches or pull requests
This appears to be related to sequelize/sequelize#10717
If the
revisionModel
isRevisions
, sequelize 5 has a bug and lowercases the table name asrevisions
in queries. This breakssequelize-paper-trail
.I've found two potential solutions both added on
sequelize-paper-trail/lib/index.js
Line 637 in a0f0b6a
freezeTableName: true,
tableName: options.tableName,
The text was updated successfully, but these errors were encountered: