PostgreSQLSchemaManager

class \TYPO3\CMS\Core\Database\Schema\SchemaManager\PostgreSQLSchemaManager

Extends
PostgreSQLSchemaManager
Uses
ColumnTypeCommentMethodsTrait

Extending the doctrine PostgreSQLSchemaManager to integrate additional processing stuff due to the dropped event system with `doctrine/dbal 4.x`.

For example, this is used to process custom doctrine types.

Platform specific SchemaManager are extended to manipulate the schema handling. TYPO3 needs to do that to provide additional doctrine type handling and other workarounds or alignments. Long time this have been done by using the doctrine EventManager to hook into several places, which no longer exists.

Tags

link
https://github.com/doctrine/dbal/blob/3.7.x/UPGRADE.md#deprecated-not-setting-a-schema-manager-factory
link
https://github.com/doctrine/dbal/blob/3.7.x/UPGRADE.md#deprecated-extension-via-doctrine-event-manager

Table of Contents

Methods

_getPortableTableColumnDefinition()  : Column
Gets Table Column Definition.
parentGetPortableTableColumnDefinition()  : Column
Gets Table Column Definition.

Methods

_getPortableTableColumnDefinition()

Gets Table Column Definition.

protected _getPortableTableColumnDefinition(array<string, mixed> $tableColumn) : Column

Parameters

$tableColumn : array<string, mixed>

Return values

Column

parentGetPortableTableColumnDefinition()

Gets Table Column Definition.

protected parentGetPortableTableColumnDefinition(array $tableColumn) : Column

This is a copy of PostgreSQLSchemaManager::_getPortableTableColumnDefinition() with a minor change to respect column comments for Doctrine Type matching and thus restoring Doctrine DBAL behaviour before v4.x.

Parameters

$tableColumn : array

Tags

throws
Exception

Return values

Column
On this page