Skip to content

Commit

Permalink
Deprecate compositeForeignKey()
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Sep 23, 2023
1 parent fb4c084 commit fb4d8f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Schema/TableSchemaInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ public function foreignKey(string|int $id, array $to): void;
* @param string $to The column name in foreign table.
*
* @throws NotSupportedException
*
* @deprecated will be removed in version 2.0.0
*/
public function compositeForeignKey(int $id, string $from, string $to): void;
}

0 comments on commit fb4d8f6

Please sign in to comment.