Hello,

I often have to switch between dev and prod db and web2py tells that tables already exist each time I change this line :

db = DAL('dbengine://dbengineparameters') in
db.py...

Normally I can remove the auth tables and let web2py recreate them...

I know that I can personalize the auth tables by defining the models in db.py and set them to migrate=False. I already did it for the auth_user table to add couples of fields into it.

But I am wondering if there is a other way to tell web2py to migrate=False those tables without defining all the RBAC tables...

Thanks

Jonhy


Reply via email to