[DDC-2132] [GH-509] SchemaTool ignoring 'fixed' option Created: 07/Nov/12  Updated: 08/Feb/14  Resolved: 12/Nov/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.4
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


 Description   

This issue is created automatically through a Github pull request on behalf of smottt:

Url: https://github.com/doctrine/doctrine2/pull/509

Message:

If the column is set to fixed string length like this:

```php
<?php

/**

  • @ORM\Column(type="string", length=2, options= {"fixed" = true}

    )
    */
    protected $foo;
    ```

The schema tool will not detect that 'fixed' option correctly when generating update SQL.

Fix attached.



 Comments   
Comment by Benjamin Eberlei [ 07/Nov/12 ]

A related Github Pull-Request [GH-509] was closed
https://github.com/doctrine/doctrine2/pull/509

Comment by Doctrine Bot [ 08/Feb/14 ]

A related Github Pull-Request [GH-509] was closed:
https://github.com/doctrine/dbal/pull/509

Generated at Thu Oct 23 08:16:58 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.