Sequelize foreign key error on Heroku but not local testing
this is mysql error and because you define foreign key constraint on you table and try to insert unavailable value in fk field that does not exit in target table,
check element
and elementTwo
table and make sure this values are available