On Monday, April 25, 2011 8:02:48 PM UTC-4, mart wrote: > > Hi Massimo, > > I have seen migrate=T/F, but not migrate_enabled=T/F
If you specify DAL(..., migrate_enabled=False), it will turn off all migrations, regardless of how the 'migrate' argument is set in individual tables -- so it's a quick way to completely disable all migrations. There's also a new argument to DAL called fake_migrate_all (which defaults to False). If you specify DAL(..., fake_migrate_all=True), it will force a fake_migrate of all tables, regardless of how the 'fake_migrate' argument is set in individual tables -- so, it's a quick way to fake_migrate all tables to fix broken migrations ( http://web2py.com/book/default/chapter/06#Fixing-Broken-Migrations). Note, I think in 1.95.1, this new argument was actually named fake_migrate_enabled, but it has been changed to fake_migrate_all in trunk to better reflect what it actually does. Anthony

