[PR #509] SchemaTool ignoring 'fixed' option #8310

Closed
opened 2026-01-22 15:59:19 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/509

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/doctrine/orm/pull/509 **State:** closed **Merged:** Yes --- 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.
admin added the pull-request label 2026-01-22 15:59:19 +01:00
admin closed this issue 2026-01-22 15:59:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8310