feat: remove associations
This commit is contained in:
@@ -84,9 +84,9 @@ Robot.init(
|
||||
}
|
||||
);
|
||||
|
||||
Robot.hasMany(Run, {
|
||||
foreignKey: 'robotId',
|
||||
as: 'runs', // Alias for the relation
|
||||
});
|
||||
// Robot.hasMany(Run, {
|
||||
// foreignKey: 'robotId',
|
||||
// as: 'runs', // Alias for the relation
|
||||
// });
|
||||
|
||||
export default Robot;
|
||||
Reference in New Issue
Block a user