I'm not sure there's any way to disable all migrations without setting the 'migrate' argument in each table definition. However, if you want to easily switch migrations on and off for all tables at once, you can do that by defining a 'migrate' variable. Note, model files are run in alphanumeric order, so in the first model file (or the first model file that includes any table definitions), include a 'migrate' variable like this: migrate = False Then, in all your table definitions, simply set 'migrate=migrate'. It's then easy to switch all migrations from True to False as needed. Some people include some conditional logic to detect whether web2py is running on the development machine or in production and automatically set 'migrate' to False on production. Anthony
On Monday, March 28, 2011 6:13:37 AM UTC-4, Alexandre Strzelewicz wrote: > I have recurrent problems with auto-migration. > > Is there a way to totally disable migration on all tables ? > > Thanks