Skip to content

Commit

Permalink
Compensate for bug in upstream sequelize 5 where camelcase table names
Browse files Browse the repository at this point in the history
are being rewritten as lowercase. nielsgl#82
  • Loading branch information
createthis committed Aug 19, 2019
1 parent a0f0b6a commit ef26988
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,8 @@ exports.init = (sequelize, optionsArg) => {
options.revisionModel,
attributes,
{
underscored: options.underscored,
underscored: options.underscored,
tableName: options.revisionModel,
},
);
Revision.associate = function associate(models) {
Expand Down

0 comments on commit ef26988

Please sign in to comment.