Added timemodified to blog_tag_instance table and some indexes
This commit is contained in:
@@ -1477,6 +1477,12 @@ function main_upgrade($oldversion=0) {
|
||||
modify_database('',"UPDATE prefix_post SET module = 'blog';");
|
||||
}
|
||||
|
||||
if ($oldversion < 2006032001) {
|
||||
table_column('blog_tag_instance','','timemodified','integer','10','unsigned','0','not null', 'userid');
|
||||
modify_database('',"ALTER TABLE prefix_blog_tag_instance ADD INDEX bti_entryid_idx (entryid);");
|
||||
modify_database('',"ALTER TABLE prefix_blog_tag_instance ADD INDEX bti_tagid_idx (tagid);");
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user