I had another *.py file as backup in my model folder. I changed the 
extension and all is works fine.

thanks for the hint

On Monday, September 3, 2018 at 4:42:07 PM UTC+2, Anthony wrote:
>
> Is it possible you have a second definition of the table that does not 
> include the c_total_difference column?
>
> On Monday, September 3, 2018 at 7:13:26 AM UTC-4, Yebach wrote:
>>
>> Hello
>>
>> When I add a field to my db.py I get an error saying field does not exist.
>> If I check the sql log file there is 
>>
>> timestamp: 2018-09-03T12:08:38.256000
>> ALTER TABLE counters ADD c_total_difference INTEGER;
>> success!
>> timestamp: 2018-09-03T12:08:38.381000
>> ALTER TABLE counters DROP COLUMN c_total_difference;
>> success!
>>
>> Why is the field deleted??
>>
>> My settings are migrate = True, fake_migrate = False
>>
>> 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.

Reply via email to