Skip to content

Commit fb4d8f6

Browse files
committed
Deprecate compositeForeignKey()
yiisoft/db-sqlite#268 (review)
1 parent fb4c084 commit fb4d8f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Schema/TableSchemaInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ public function foreignKey(string|int $id, array $to): void;
210210
* @param string $to The column name in foreign table.
211211
*
212212
* @throws NotSupportedException
213+
*
214+
* @deprecated will be removed in version 2.0.0
213215
*/
214216
public function compositeForeignKey(int $id, string $from, string $to): void;
215217
}

0 commit comments

Comments
 (0)