from the book :"define_table checks whether or not the corresponding table 
exists. If it does not, it generates the SQL to create it and executes the 
SQL. If the table does exist but differs from the one being defined, it 
generates the SQL to alter the table and executes it. If a field has 
changed type but not name, it will try to convert the data"
So  i suppose that this could help me in cleaning data (from type mismatch).
i copied the current project(application) in a new one, leaving in the dir 
'databases' only the sqlite storage.
But when i open the home page od this copied app, i got 'table already 
exists'.
In models/db.py there are no migrate setting , except for auth table, where 
i set it to migrate=False, as this seems necessary.
Why web2py does not alter(if needed) the table, and instead complains of 
already existing one?

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to