This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

[Symfony2] unsigned integers with defined length

Requests for new symfony features.

[Symfony2] unsigned integers with defined length

by naitsirch » Fri Sep 30, 2011 11:58 am

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: Select all
  type: entity
  table: null
    id: { type: integer, id: true, unsigned: true, generator: { strategy: AUTO } }
    name: { type: string }
    number: { type: integer, length: 3 }
  lifecycleCallbacks: {  }

Another problem:
It is not possible to define the length by using the 'length' attribute.

Are there any solution or should I create a new issue in symfony's bugtracker?
Junior Member
Posts: 8
Joined: Mon Sep 26, 2011 12:48 pm

Re: [Symfony2] unsigned integers with defined length

by bjo3rn » Sat Nov 26, 2011 7:05 pm

User avatar
Faithful Member
Posts: 1245
Joined: Fri Jun 17, 2011 10:03 am
Location: Germany