Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-62

Length of a string column cannot exceed 255

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1-RC3
    • Fix Version/s: 2.0-RC4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mysql

      Description

      I use the annotation mapping:
      here's my mapping informations:

      /** 
      * @var mixed optionValue
      * @orm:Column(nullable="true", name="option_value", length="2000", type="string") 
      */
      protected $optionValue;
      

      when i check the mysql column type it's still "varchar(255)".

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: