[web2py] Re: Removing Foreign Key constraint?

2013-07-12 Thread Olivier Johner
It's ok for the foreign key but when you archive records in another database, all fields comes in "big int" and raise a value error for string fields ValueError: invalid literal for long() with base 10: 'v6 box spearmint' Le dimanche 16 juin 2013 10:28:26 UTC+2, Massimo Di Pierro a écrit : > >

[web2py] Re: Removing Foreign Key constraint?

2013-07-15 Thread Olivier Johner
I propose this patch Le vendredi 12 juillet 2013 14:08:21 UTC+2, Olivier Johner a écrit : > > It's ok for the foreign key but when you archive records in another > database, all fields comes in "big int" and raise a value error for string > fields > > Val

[web2py] Re: Removing Foreign Key constraint?

2013-07-16 Thread Olivier Johner
Just a little modification and all is right. Le lundi 15 juillet 2013 16:21:13 UTC+2, Massimo Di Pierro a écrit : > > I made some simplification to your patch. Please check it in trunk. Thank > you! > > > On Monday, 15 July 2013 03:51:39 UTC-5, Olivier Johner wrote: >>