Q:

sequelize create record with foreign key constraint

Project.belongsTo(User, {foreignKey: 'user_id'})
0

Tags

New to Communities?

Join the community