Sequelize how to structure the chat part of the app?
问题 I currently have an app where users can log in and make posts. Next to each post, there is button that if pressed, the current user can send a message to the user who created the post. I have a posts model and a user model. Each user can post as many posts as they want, but each post only belongs to one user. const User = db.define( "User", { id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true, }, name: { type: Sequelize.STRING, }, email: { type: Sequelize.STRING, }, password