Uploaded image for project: 'Doctrine DBAL'
  1. Doctrine DBAL
  2. DBAL-5

Generalize SchemaManager Db Column to Doctrine Type Detection

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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
          beberlei Benjamin Eberlei added a comment -

          Implemented for BETA 2

          Show
          beberlei Benjamin Eberlei added a comment - Implemented for BETA 2

            People

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

              Dates

              • Created:
                Updated:
                Resolved: