instead of migrate=True, use migrate="myjunktablefile.table" and rename the [UUID].table as "myjunktablefile.table". This way you will not have migration issues.
Massimo On May 25, 11:05 am, Hans <johann.scheibelho...@easytouch-edv.com> wrote: > I'm facing issues when a 'next version' of an application is moved > from one system (like development system) to another one. The unique > string in the begin of the .table files of the auth tables is making > troubles. > I think what happens is that on the new system the app gets a new > unique string, finds that the .table files for the auth table do not > exist with this new string (just the old one) and tries to create the > table -> raising a error because the table already exists. > I usually uninstall the old app version and and then load the new > version with the same name, both via admin web interface. > > I attached the following solution which works for me tools.py (based > on 1.62.3). See changes of the 'migrate=True' options. > > If that makes sense for others too maybe it can be integrated into one > of the next versions. > > ...cant attach or upload a file here...sending it to grandmaster > massimo directly ;-) > > Hans --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---