feat: comment to test run's case (#390)

This commit is contained in:
kimatata
2026-02-23 12:26:07 +09:00
committed by GitHub
parent 1f4ac0ae7b
commit a9674c81ab
27 changed files with 1045 additions and 40 deletions

View File

@@ -23,6 +23,10 @@ function defineRunCase(sequelize, DataTypes) {
foreignKey: 'caseId',
onDelete: 'CASCADE',
});
RunCase.hasMany(models.Comment, {
foreignKey: 'commentableId',
onDelete: 'CASCADE',
});
};
return RunCase;