I am working with mysql, there's no way to do this without an alter table ? (Which would be executed at each request moreover) On Nov 16, 2012 5:25 PM, "Marin Pranjić" <marin.pran...@gmail.com> wrote:
> You can use integer for development. In production, you can alter the > database with raw sql to change the field. > DAL will still think it's an integer. If needed, you can add validators to > make sure you're not working with negative numbers. > > > On Fri, Nov 16, 2012 at 5:15 PM, Richard Vézina < > ml.richard.vez...@gmail.com> wrote: > >> Which backend do you use? I think that this feature is database >> specific... >> >> Richard >> >> >> On Fri, Nov 16, 2012 at 11:12 AM, Joseph.Piron <joseph.pi...@gmail.com>wrote: >> >>> Hi all! >>> >>> I have quite a problematic issue, I would like to know how to define a >>> Field as unsigned in the DAL ? >>> I tested: >>> Field('triggerValue', 'unsigned integer', >>> requires=IS_NOT_EMPTY(),notnull >>> =True), >>> and >>> Field('triggerValue', 'integer', unsigned=True, requires= >>> IS_NOT_EMPTY(), notnull=True), >>> >>> But it does not work. >>> Could someone please enlighten me ? :D >>> >>> Thanks in advance !!! >>> >>> -- >>> >>> >>> >>> >> >> -- >> >> >> >> > > -- > > > > --