On Mon, Jun 13, 2011 at 3:43 PM, Carlos <[email protected]> wrote: > Hi Massimo (and others), > Can you please let me know if this is supported by web2py (therefore > considered a bug)?. > Otherwise, do you have any recommendations to solve it?.
You can define your tables manually via SQL, and disable web2py migrations. I don't think you can redefine a table in web2py, and it would be "counter-productive" anyway. Circular references may work in SQLite as it does little for consistency and data integrity, but postgresql is strict, you should first create all the tables, insert initial data, then add foreing key constraints. I think this is not yet supported automatically in web2py, but you can find workarounds easily. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com

