Thanks to Michael Fig we have two new important features in trunk

1) to deal with legacy databases

      db.define_table('mytable',Field('myfield','id'),Field
('otherfield'))

allows to redefine the name of the 'id' field.

2) If you mess up .table files you ca try:

     delete all .table files
     db.define_table(....,make_migrate=True)

The latter will rebuild missing .table files. Only works if table
defintions and db tables are consistent.

Let me know if test any of this.

Massimo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to