How to create 1:N or N:N relations referencing the same table with Sequelize?

前端 未结 0 590
执念已碎
执念已碎 2021-02-15 11:36

I\'m creating a chat app and I want to create a contacts list to every user. I have an "Users" table and a "Contacts" table with "userId" and "

相关标签:
回答
  • 消灭零回复
提交回复
热议问题