feat: comment to test run's case (#390)
This commit is contained in:
@@ -23,6 +23,10 @@ function defineRunCase(sequelize, DataTypes) {
|
||||
foreignKey: 'caseId',
|
||||
onDelete: 'CASCADE',
|
||||
});
|
||||
RunCase.hasMany(models.Comment, {
|
||||
foreignKey: 'commentableId',
|
||||
onDelete: 'CASCADE',
|
||||
});
|
||||
};
|
||||
|
||||
return RunCase;
|
||||
|
||||
Reference in New Issue
Block a user