Feature #77643

Epic #75555: Further Doctrine Development

Reimplement SqlSchemaMigrationService using SchemaManager

Added by Morton Jonuschat about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2016-08-25
Due date:
% Done:

100%

PHP Version:
7.0
Tags:
Complexity:
Sprint Focus:

Related issues

Related to TYPO3 Core - Feature #75205: Extension Development, ext_tables.sql "CREATE TABLE IF NOT EXISTS" Closed 2016-03-21
Related to TYPO3 Core - Feature #44991: DB table COLLATION: disabled for ext_tables.sql but not for ext_tables_static+adt.sql Closed 2013-01-30
Related to TYPO3 Core - Bug #76508: Comparison of NOT NULL fields without a default value does not work in "Compare Database" tool if a field is not autoincrement Closed 2016-06-07
Related to TYPO3 Core - Bug #76641: Database compare and "NULL default NULL" is not recognized Closed 2016-06-15

Associated revisions

Revision 2ba08444 (diff)
Added by Morton Jonuschat about 3 years ago

[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 <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

Revision 94707d68 (diff)
Added by Morton Jonuschat about 3 years ago

[FOLLOWUP][FEATURE] Doctrine: Implement SchemaMigrationService

Rename SchemaMigrator test case file, use proper namespace and change
table names in the functional tests to use an all lowercase table name
to fix test failures on Windows.

Change-Id: I30e2c5d03261a3fbcbce473ac02a134a7ba4ca4a
Resolves: #77643
Releases: master
Reviewed-on: https://review.typo3.org/49701
Reviewed-by: Wouter Wolters <>
Tested-by: Bamboo TYPO3com <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review about 3 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#2 Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#3 Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#4 Updated by Gerrit Code Review about 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#5 Updated by Gerrit Code Review about 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#6 Updated by Gerrit Code Review about 3 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#7 Updated by Gerrit Code Review about 3 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#8 Updated by Gerrit Code Review about 3 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#9 Updated by Gerrit Code Review about 3 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#10 Updated by Gerrit Code Review about 3 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#11 Updated by Gerrit Code Review about 3 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#12 Updated by Gerrit Code Review about 3 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#13 Updated by Gerrit Code Review about 3 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#14 Updated by Gerrit Code Review about 3 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#15 Updated by Gerrit Code Review about 3 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#16 Updated by Morton Jonuschat about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#17 Updated by Gerrit Code Review about 3 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49701

#18 Updated by Morton Jonuschat about 3 years ago

  • Status changed from Under Review to Resolved

#19 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF