Dear Forest Admin Support,
I have 3 table below:
table ‘department’: key is department_id
table ‘employee’: key is employee_id
table ‘department_employee’: foreign key fk_department to reference to ‘department’ table and foreign key fk_employee to reference to ‘employee’ table
but when i create new record to ‘department_employee’ or view list data of ‘department_employee’ table
always throws exception below:
2021-01-04T10:28:15.231395+00:00 app[web.1]: e[31m[forest] Unexpected error: key.includes is not a functione[39m
2021-01-04T10:28:15.231403+00:00 app[web.1]: e[31mTypeError: key.includes is not a functione[39m
2021-01-04T10:28:15.231404+00:00 app[web.1]: e[31m at self.set (/app/node_modules/sequelize/lib/model.js:3669:19)e[39m
2021-01-04T10:28:15.231405+00:00 app[web.1]: e[31m at self._initValues (/app/node_modules/sequelize/lib/model.js:173:10)e[39m
2021-01-04T10:28:15.231405+00:00 app[web.1]: e[31m at new Model (/app/node_modules/sequelize/lib/model.js:118:10)e[39m
2021-01-04T10:28:15.231405+00:00 app[web.1]: e[31m at new cdt (/app/node_modules/sequelize/lib/sequelize.js:422:19)e[39m
2021-01-04T10:28:15.231406+00:00 app[web.1]: e[31m at new cdt (/app/node_modules/sequelize/lib/model.js:1524:18)e[39m
2021-01-04T10:28:15.231406+00:00 app[web.1]: e[31m at Function.build (/app/node_modules/sequelize/lib/model.js:2164:12)e[39m
2021-01-04T10:28:15.231407+00:00 app[web.1]: e[31m at model._setInclude (/app/node_modules/sequelize/lib/model.js:3797:85)e[39m
pls helpme review it.
Thanks & Regards!
Hung Chu