Shows the Ticket?
Ovidio Marinho Falcao Neto
Web Developer
[email protected]
[email protected]
ITJP - itjp.net.br
83 8826 9088 - Oi
83 9334 0266 - Claro
Brasil
2012/7/20 Bruno Rocha <[email protected]>
>
> are you sure the migrate is not False in db = DAL(...) ?
>
> try including migrate=True in your define_table
>
>
> On Fri, Jul 20, 2012 at 6:17 PM, Marek Mollin <[email protected]> wrote:
>
>> Hey,
>> Problem is as follows.
>> I start a clean db in psql. Test the connection + delete all the
>> /databases files to fresh with remote db.
>> When I launch index page tables start getting created then I get error
>> regarding some table is missing. I check sql.log and it did not even start
>> creating the table (this + a few more get ommited).
>>
>> I have check_reserved in my DAL declaration. Table is not ill named:
>>
>> db.define_table('delivery_type',
>> Field('name','string'),
>> Field('price','double'),
>> format=lambda r: r.name
>> )
>>
>> but there are others not getting created
>> version 1.99.7
>>
>> --
>>
>>
>>
>>
>
> --
>
>
>
>
--