Commit 114bad36 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

db.py add tag tables

parent 556db610
......@@ -256,6 +256,13 @@ db.define_table('user_log',
Field('table_name', 'string'),
Field('record_id', 'integer'))
db.define_table('tag',
Field('name', 'string', unique=True))
db.define_table('tag_ref',
Field('tag_id', 'reference tag'),
Field('table_name', 'string'),
Field('record_id', 'integer'))
## after defining tables, uncomment below to enable auditing
auth.enable_record_versioning(db)
......
Supports Markdown
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