Thank you for your atention Richard. Initially there was no migrate setting for the table, then realizing not working i tried to set explicitly migrate=True and then fake_migrate=True. However i don't think is there the problem, due to the fact that web2py has indeed created the column in the db, as recorded in sql.log ("ALTER TABLE ordinipo ADD confermato_il TIMESTAMP"), but the column in not view from web2py itself
Thanks Il giorno lunedì 25 maggio 2015 18:22:30 UTC+2, Richard ha scritto: > > What the state of your migrate flag? True or False? > > Notice there is also a migrate_all or something at the DB string level > which prevent migrating of every tables... > > Richard > > On Mon, May 25, 2015 at 11:48 AM, goome <marc...@gmail.com <javascript:>> > wrote: > >> Hello >> i again here to beg your help. >> I modified a table (adding a column and setting writable=False in >> another) in modes/db.py >> but it had no effect: nor a form created by SQLFORM reflect the changes, >> nor >> db.table.fields show the new column. >> But the column has indeed created in the db (sqlite). I can see it >> querying the db directly, and also insql.log i can see the modification. >> Moreover i make the same modification in the remote production server, >> and there it worked. >> What can be the problem in the local server? >> Thanks >> >> -- >> 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+un...@googlegroups.com <javascript:>. >> 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.