File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ protected function findConstraints(TableSchemaInterface $table): void
391
391
$ table ->foreignKey ($ id , [$ foreignKey ['table ' ], $ foreignKey ['from ' ] => $ foreignKey ['to ' ]]);
392
392
} else {
393
393
/** composite FK */
394
- $ table ->compositeFK ($ id , $ foreignKey ['from ' ], $ foreignKey ['to ' ]);
394
+ $ table ->compositeForeignKey ($ id , $ foreignKey ['from ' ], $ foreignKey ['to ' ]);
395
395
}
396
396
}
397
397
}
Original file line number Diff line number Diff line change 11
11
*/
12
12
final class TableSchema extends AbstractTableSchema
13
13
{
14
- public function compositeFK (int $ id , string $ from , string $ to ): void
14
+ public function compositeForeignKey (int $ id , string $ from , string $ to ): void
15
15
{
16
16
$ this ->foreignKeys [$ id ][$ from ] = $ to ;
17
17
}
You can’t perform that action at this time.
0 commit comments