Note, if you want to version multiple tables, you can do:

auth.enable_record_versioning(db)

That will only version tables that have modified_on and modified_by fields 
(e.g., as created by auth.signature). You can further limit the tables to 
be versioned via:

auth.enable_record_versioning([list, of, tables])

Anthony

On Saturday, December 12, 2015 at 12:51:15 AM UTC-5, Alex Glaros wrote:
>
> okay.... I copied db.RoleMembership._enable_record_versioning() to db.py 
> and see that an archive table automatically was created
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to