Doctrine 1
  1. Doctrine 1
  2. DC-253

Missing Data Types In DataDict For MsSql

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0-BETA3
    • Fix Version/s: 1.2.0-RC1
    • Component/s: Import/Export
    • Labels:
      None

      Description

      There are some missing data types in the getPortableDeclaration function for MsSql. The following diff adds the types I found missing so far.

      Thanks,
      Mike

      diff -r doctrine\lib\Doctrine\DataDict\Mssql.php Doctrine-1.1.2\lib\Doctrine\DataDict\Mssql.php
      193,202d192
      < case 'uniqueidentifier':
      < $type[] = 'string';
      < $length = 36;
      < break;
      < case 'sql_variant':
      < case 'sysname':
      < case 'binary':
      < $type[] = 'string';
      < $length = null;
      < break;

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Michael Card
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: