Well, i did something so stupid i should not tell you

i copied db.py to db1.py to "play around" with it  (i dont use git so far )

:PPP

Problem solved .
Thank you

2014-11-08 12:07 GMT+00:00 Niphlod <niph...@gmail.com>:

> please post your DAL instantiation and your model definition. You're
> somewhere stuck between migration or having fake migration turned on at all
> times.
>
> On Saturday, November 8, 2014 12:47:11 PM UTC+1, Ramos wrote:
>>
>> i see the file c8b669d15150d7109e5f7ab36744a5b7_lixo.table  as new file
>> but my  initial email was about table trabalhador and i see the file
>> 71af41af6457e21d6c7414e7ccb45c9a_trabalhador.table as last modified in
>> 2013
>>
>> I need help here
>>
>> 2014-11-08 11:39 GMT+00:00 António Ramos <ramst...@gmail.com>:
>>
>>> I just create another table
>>>
>>> my model
>>> db.define_table('lixo',
>>>     Field('status','integer',default=0),
>>>     Field('situation','integer',default=1)
>>>     )
>>>
>>> sql.log
>>> timestamp: 2014-11-08T11:37:43.948890
>>> CREATE TABLE lixo(
>>>     id INTEGER PRIMARY KEY AUTOINCREMENT,
>>>     status INTEGER,
>>>     situation INTEGER
>>> );
>>> success!
>>> success!
>>> success!
>>> success!
>>> success!
>>> success!
>>> success!
>>> success!
>>>
>>> however i cannot see it in admin
>>>
>>> that is strange ,why ?
>>> Thank you
>>>
>>> 2014-11-08 11:34 GMT+00:00 António Ramos <ramst...@gmail.com>:
>>>
>>> hello i added a field in my table but dont see it in admin
>>>> Also changed the label of another field and in admin still see the old
>>>> label.
>>>> Then i opened the sql.log and i see the alter table to add that field
>>>> and then i see a lot if sequential success! like this
>>>>
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>> success!
>>>>
>>>>
>>>>
>>>> Why is not my field visible in admin ?
>>>> and why do i see old label instead of new one.
>>>>
>>>> Is normal those sequential success message? (nothing in between them )
>>>>
>>>> Thank you
>>>>
>>>>
>>>
>>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to