Hello I have a question about sequelize
(您好,我有关于续集的问题)
I have two entities two models
(我有两个实体两个模型)
users and match
(用户和匹配)
a match has two users
(一场比赛有两个用户)
my doubt how I would make this relationship
(我怀疑我将如何建立这种关系)
I would have to for two user_id?
(我必须要两个user_id?)
my match would basically have
(我的比赛基本上)
match id, player id one, player id two
(比赛ID,玩家ID一,玩家ID二)
I doubt how to relate or define this in sequelize
(我怀疑如何关联或定义这个)
ask by Felipe translate from so