diff --git a/CHANGELOG.md b/CHANGELOG.md index fa16b2012..81ce4717f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,8 +13,9 @@ and change parameters from `$table, $columns, $rows` to `$table, $rows, $columns = []` (@Tigrov) - Enh #834: Refactor `AbstractCommand::insertBatch()`, add `Quoter::getRawTableName()` to `QuoterInterface` (@Tigrov) - Chg #836: Remove `AbstractDMLQueryBuilder::getTypecastValue()` method (@Tigrov) -- Chg #767: Remove `$table` parameter from `normalizeColumnNames()` and `getNormalizeColumnNames()` methods +- Chg #837: Remove `$table` parameter from `normalizeColumnNames()` and `getNormalizeColumnNames()` methods of `AbstractDMLQueryBuilder` class (@Tigrov) +- Chg #838: Remove `SchemaInterface::TYPE_JSONB` constant (@Tigrov) ## 1.3.0 March 21, 2024 diff --git a/UPGRADE.md b/UPGRADE.md index 377edf6ed..19f330517 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -57,7 +57,7 @@ $db->createCommand()->insertBatch('user', $values)->execute(); ### New methods in `QuoterInterface` -* `QuoterInterface::getRawTableName()` - returns the raw table name without quotes. +- `QuoterInterface::getRawTableName()` - returns the raw table name without quotes. ### Remove deprecated methods @@ -67,3 +67,7 @@ $db->createCommand()->insertBatch('user', $values)->execute(); - `$table` parameter from `AbstractDMLQueryBuilder::normalizeColumnNames()` method - `$table` parameter from `AbstractDMLQueryBuilder::getNormalizeColumnNames()` method + +### Remove deprecated constants + +- `SchemaInterface::TYPE_JSONB` diff --git a/src/Schema/SchemaInterface.php b/src/Schema/SchemaInterface.php index 744ebc555..73d0893e0 100644 --- a/src/Schema/SchemaInterface.php +++ b/src/Schema/SchemaInterface.php @@ -218,12 +218,6 @@ interface SchemaInterface extends ConstraintSchemaInterface * Define the abstract column type as `json`. */ 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'; /** * Define the php type as `integer` for cast to php value.