Create Home tab

This commit is contained in:
Takeshi Kimata
2024-03-20 20:09:06 +09:00
parent 66f36c1f31
commit 8a2ca8c563
8 changed files with 117 additions and 8 deletions

View File

@@ -10,6 +10,10 @@ function defineProject(sequelize, DataTypes) {
},
});
Project.associate = (models) => {
Project.hasMany(models.Folder, { foreignKey: "projectId" });
};
return Project;
}