Commit d787d50d authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

Add missing table for new log Handler

parent b6cebd9b
......@@ -223,6 +223,13 @@ db.define_table('group_assoc',
Field('first_group_id', 'reference auth_group', ondelete='CASCADE'),
Field('second_group_id', 'reference auth_group', ondelete='CASCADE'))
db.define_table('user_log',
Field('user_id', 'reference auth_user'),
Field('created', 'datetime'),
Field('msg', 'text'),
Field('table_name', 'string'),
Field('record_id', 'integer'))
## after defining tables, uncomment below to enable auditing
auth.enable_record_versioning(db)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment