You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arnaudbesnier
changed the title
Dashboard has wrong field mapping field to sequelize model.
[*] Charts - Charts may have wrong field mapping field to sequelize model.
Jul 7, 2019
Steps to reproduce
createdAt
to fieldcreated_at
Expected behavior
Dashboard show no error.
Actual behavior
Dashboard show error
SQLITE_ERROR: no such column: User.createdAt
Failure Logs
Context
I think that's because of this line
forest-express-sequelize/services/line-stat-getter.js
Lines 25 to 26 in c51a606
It straight getting the column name from models attribute name, instead of the field option.
The text was updated successfully, but these errors were encountered: