From fb4d8f6ba984f27cedc8275f52abb84ef9fb340a Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sat, 23 Sep 2023 12:46:07 +0700 Subject: [PATCH] Deprecate compositeForeignKey() https://github.com/yiisoft/db-sqlite/pull/268#pullrequestreview-1564079720 --- src/Schema/TableSchemaInterface.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Schema/TableSchemaInterface.php b/src/Schema/TableSchemaInterface.php index 1dd5d72d3..47fe0c107 100644 --- a/src/Schema/TableSchemaInterface.php +++ b/src/Schema/TableSchemaInterface.php @@ -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; }