foreign key sequelize code example
Example 1: sequelize create record with foreign key constraint
Project.belongsTo(User, {foreignKey: 'user_id'})
Example 2: ignore foreign key constraint in sequelize
UnhandledPromiseRejectionWarning: SequelizeForeignKeyConstraintError: insert or update on table "approvers" violates foreign key constraint