Commit c9ac23f8 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

my account: add indexes for tag_ref table

parent 35776447
Pipeline #186167 passed with stages
in 10 minutes and 45 seconds
......@@ -288,6 +288,12 @@ db.define_table('tag_ref',
Field('table_name', 'string'),
Field('record_id', 'integer'))
db.executesql('CREATE INDEX table_name_index ON tag_ref (table_name);')
db.executesql('CREATE INDEX record_id_index ON tag_ref (record_id);')
## after defining tables, uncomment below to enable auditing
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