diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f4e9b299..63bf93448 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - 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) - Bug #761: Quote aliases of CTE in `WITH` queries (@Tigrov) +- Chg #765: Deprecate `SchemaInterface::TYPE_JSONB` (@Tigrov) ## 1.1.1 August 16, 2023 diff --git a/composer.json b/composer.json index 7ce739282..37e3f53c1 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30|^5.12", "yiisoft/aliases": "^3.0", - "yiisoft/cache-file": "^2.0", + "yiisoft/cache-file": "^3.1", "yiisoft/di": "^1.0", "yiisoft/event-dispatcher": "^1.0", "yiisoft/json": "^1.0", diff --git a/src/Schema/SchemaInterface.php b/src/Schema/SchemaInterface.php index 684a11f6e..5bfa909a0 100644 --- a/src/Schema/SchemaInterface.php +++ b/src/Schema/SchemaInterface.php @@ -220,6 +220,8 @@ interface SchemaInterface extends ConstraintSchemaInterface public const TYPE_JSON = 'json'; /** * Define the abstract column type as `jsonb`. + * + * @deprecated will be removed in version 2.0.0. Use `SchemaInterface::TYPE_JSON` instead. */ public const TYPE_JSONB = 'jsonb';