symfony/symfony — Issue #2377: [Doctrine] Not possible to define unsigned integers in YAML
Author: naitsirch
Created: 2011-10-11 08:02:07+00:00
State: open

Hi,
i want to use unsigned integers for my entities. But it seems like Symfony2 does not support them. My yml definition file looks like that:

[code: yml]
Test\TestBundle\Entity\Foo:
type: entity
table: null
fields:
id: { type: integer, id: true, unsigned: true, generator: { strategy: AUTO } }
name: { type: string }
number: { type: integer, length: 3 }
lifecycleCallbacks: { }
[/code]