Add support for composite keys (#1479)

* Add support for composite keys

* chore: add composite foreign key test
This commit is contained in:
Caleb White
2024-02-08 07:42:27 +01:00
committed by GitHub
parent 5c886fb653
commit 6115100a0f
6 changed files with 117 additions and 5 deletions
+2 -1
View File
@@ -322,7 +322,8 @@ return [
|
| When using custom relation types its possible for the class name to not contain
| the proper return type of the relation. The key of the array is the relationship
| method name. The value of the array is the return type of the relation.
| method name. The value of the array is the return type of the relation ('many'
| or 'morphTo').
| e.g. `'relationName' => 'many'`.
|
*/