SchemaTool ignoring 'fixed' option #509

Merged
merged 1 commit into from Nov 7, 2012

Projects

None yet

4 participants

@smottt
Contributor
smottt commented Nov 7, 2012

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

<?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.

@doctrinebot

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2132

@guilhermeblanco guilhermeblanco merged commit 182ed07 into doctrine:master Nov 7, 2012

1 check passed

default The Travis build passed
Details
@stof
Member
stof commented Nov 7, 2012

Trailing whitespaces should be removed and a test should be added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment