Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
fiste788 committed Sep 13, 2024
1 parent 4745022 commit 2b14f03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Model/Table/ChampionshipsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ public function initialize(array $config): void
'foreignKey' => 'season_id',
'joinType' => 'INNER',
]);
$this->belongsTo('Teams', [
$this->hasMany('Teams', [
'foreignKey' => 'championship_id',
'joinType' => 'INNER',
]);
$this->hasMany('RollOfHonors', [
'foreignKey' => 'championship_id',
Expand Down

0 comments on commit 2b14f03

Please sign in to comment.