It appears that if I use _enable_record_versioning to archive a table
to another database, then that database must have an auth_user table.
Is there any way to archive a table to another database and have
it refer to the auth_user table in the local database?
# local database
db =
DAL('mysql://arch:*****@localhost/arch',pool_size=1,check_reserved=['mysql'])
# external database
db2 =
DAL('mysql://arch2:*****@localhost/arch2',pool_size=1,check_reserved=['mysql'])
db.define_table('stuff',
Field('pointtype','integer',),
Field('comment','string'),
auth.signature,
)
db.stuff._enable_record_versioning(archive_db=db2)
--
---
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/groups/opt_out.