This wouldn't work for everyone as sometime you want to control the
migration per table.
As a workaround, create a variable in your model:
migrate_db = True
db.define_table('things',...,migrate=migrate_db)
db.define_table('stuff',...,migrate=migrate_db)
On Mar 3, 10:25 pm, Mengu <[email protected]> wrote:
> Hi,
>
> I think it would be better and faster for setting a global option for
> db for migrations so instead of checking per table, if that global
> option is set to True then it migrates and if it's set to False then
> it doesn't migrate. What do you think?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.