Skip to content

Commit

Permalink
Deprecate compositeForeignKey() (#755)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
  • Loading branch information
Tigrov and vjik committed Sep 26, 2023
1 parent 264d589 commit a60a912
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Expand Up @@ -3,10 +3,11 @@
## 1.1.2 under development

- Bug #751: Fix collected debug actions (@xepozz)
- Chg #755: Deprecate `TableSchemaInterface::compositeForeignKey()` (@Tigrov)
- Enh #756: Refactor `Quoter` (@Tigrov)
- Bug #756: Fix `quoteSql()` for SQL containing table with prefix (@Tigrov)
- Bug #756: Fix `getTableNameParts()` for cases when different quotes for tables and columns (@Tigrov)
- Bug #756: Fix `quoteTableName()` for sub-query with alias (@Tigrov)
- Bug #756: Fix `Quoter::quoteSql()` for SQL containing table with prefix (@Tigrov)
- Bug #756: Fix `Quoter::getTableNameParts()` for cases when different quotes for tables and columns (@Tigrov)
- Bug #756: Fix `Quoter::quoteTableName()` for sub-query with alias (@Tigrov)

## 1.1.1 August 16, 2023

Expand Down
2 changes: 2 additions & 0 deletions src/Schema/TableSchemaInterface.php
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 a60a912

Please sign in to comment.