foreign key sequelize migration code example Example: sequelize create record with foreign key constraint Project.belongsTo(User, {foreignKey: 'user_id'})