[FEATURE] Doctrine: Implement SchemaMigrationService
Implement a SQL schema migration service based on an actual parser for CREATE TABLE statements that are mapped to Doctrine Table objects. This enables the use of the Doctrine DBAL SchemaManager for all schema modifications. The new Schema migration service is fully aware of multiple database connections and normalizes MySQL specific data types to standard compliant types. This mostly affects the TINYINT data type which gets converted to a SMALLINT. Resolves: #77643 Resolves: #77369 Resolves: #76508 Resolves: #76641 Resolves: #75205 Resolves: #71645 Resolves: #44991 Releases: master Change-Id: Ic56941c2ae9717836d89bce74261d11424da340b Reviewed-on: https://review.typo3.org/49593 Tested-by:Bamboo TYPO3com <info@typo3.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
Showing
- typo3/sysext/core/Classes/Database/Connection.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/Connection.php
- typo3/sysext/core/Classes/Database/ConnectionPool.php 48 additions, 0 deletionstypo3/sysext/core/Classes/Database/ConnectionPool.php
- typo3/sysext/core/Classes/Database/Schema/EventListener/SchemaColumnDefinitionListener.php 127 additions, 0 deletions...e/Schema/EventListener/SchemaColumnDefinitionListener.php
- typo3/sysext/core/Classes/Database/Schema/Exception/StatementException.php 55 additions, 0 deletions.../Classes/Database/Schema/Exception/StatementException.php
- typo3/sysext/core/Classes/Database/Schema/Exception/UnexpectedSignalReturnValueTypeException.php 24 additions, 0 deletions...ma/Exception/UnexpectedSignalReturnValueTypeException.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/AbstractCreateDefinitionItem.php 25 additions, 0 deletions...tabase/Schema/Parser/AST/AbstractCreateDefinitionItem.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/AbstractCreateStatement.php 25 additions, 0 deletions...es/Database/Schema/Parser/AST/AbstractCreateStatement.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/CreateColumnDefinitionItem.php 123 additions, 0 deletions...Database/Schema/Parser/AST/CreateColumnDefinitionItem.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/CreateDefinition.php 39 additions, 0 deletions...e/Classes/Database/Schema/Parser/AST/CreateDefinition.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/CreateForeignKeyDefinitionItem.php 61 additions, 0 deletions...base/Schema/Parser/AST/CreateForeignKeyDefinitionItem.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/CreateIndexDefinitionItem.php 105 additions, 0 deletions.../Database/Schema/Parser/AST/CreateIndexDefinitionItem.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/CreateTableClause.php 47 additions, 0 deletions.../Classes/Database/Schema/Parser/AST/CreateTableClause.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/CreateTableStatement.php 56 additions, 0 deletions...asses/Database/Schema/Parser/AST/CreateTableStatement.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/DataType/AbstractDataType.php 187 additions, 0 deletions.../Database/Schema/Parser/AST/DataType/AbstractDataType.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/DataType/BigIntDataType.php 24 additions, 0 deletions...es/Database/Schema/Parser/AST/DataType/BigIntDataType.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/DataType/BinaryDataType.php 33 additions, 0 deletions...es/Database/Schema/Parser/AST/DataType/BinaryDataType.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/DataType/BitDataType.php 33 additions, 0 deletions...asses/Database/Schema/Parser/AST/DataType/BitDataType.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/DataType/BlobDataType.php 32 additions, 0 deletions...sses/Database/Schema/Parser/AST/DataType/BlobDataType.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/DataType/CharDataType.php 35 additions, 0 deletions...sses/Database/Schema/Parser/AST/DataType/CharDataType.php
- typo3/sysext/core/Classes/Database/Schema/Parser/AST/DataType/DateDataType.php 30 additions, 0 deletions...sses/Database/Schema/Parser/AST/DataType/DateDataType.php
Please register or sign in to comment