sequelize-sscce
sequelize-sscce copied to clipboard
sscce for underscore column issue introduced by 1a16b91
In this scenario there is a table with underscore columns that does not have a primary key. When a model is saved, the generated sql for the update tries to use the camelCase attribute names instead of the underscored column names. The resulting error is
Error: SQLITE_ERROR: no such column: userId
This issue was introduced in [email protected]. Prior versions did not have this issue.