Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-5

Generalize SchemaManager Db Column to Doctrine Type Detection

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-BETA2
    • Component/s: None
    • Labels:
      None

      Description

      Currrently the Transformation from each Database Column to a Doctrine Type is hardcoded in the SchemaManager. This code has to be generalized and moved to the Platform so that people supplying custom doctrine types can overwrite this. The API for this sould look like:

      $platform->registerDoctrineType($doctrineTypeName, $dbColumnType)
      

      This way we could supply all the defaults using this API and give users the ability to overwrite or extend it based on their needs.

        Issue Links

          Activity

          Hide
          Benjamin Eberlei added a comment -

          Implemented for BETA 2

          Show
          Benjamin Eberlei added a comment - Implemented for BETA 2

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Benjamin Eberlei
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: