On Monday, August 13, 2012 4:32:25 PM UTC-4, Khalil KHAMLICHI wrote:
>
> yes, but don't forget to add this option to each table definition : 
> migrate=False 
>

You don't have to add that to each table definition -- instead, you have 
two options:

DAL(..., migrate=False)

will set the default value of "migrate" to False for any table that doesn't 
explicitly set the "migrate" argument (so can be overridden for specific 
tables).

DAL(..., migrate_enabled=False)

will disable all migrations, regardless of whether the "migrate" argument 
is set in any given table. See 
http://web2py.com/books/default/chapter/29/6#Migrations.

Anthony

-- 



Reply via email to