changing tags->text to varchar 20, created index on tags(type, userid), and tags(text)

This commit is contained in:
toyomoyo
2006-04-24 05:53:06 +00:00
parent 9fad492eb5
commit 31513aa13e
5 changed files with 20 additions and 3 deletions
+3 -1
View File
@@ -878,7 +878,9 @@ CREATE TABLE prefix_tags (
`id` int(10) NOT NULL auto_increment,
`type` varchar(255) NOT NULL default 'official',
`userid` int(10) NOT NULL default '0',
`text` varchar(255) NOT NULL default '',
`text` varchar(20) NOT NULL default '',
KEY `tags_typeuserid_idx` (`type`, `userid`),
KEY `tags_text` (`text`);
PRIMARY KEY (`id`)
) TYPE=MyISAM COMMENT ='tags structure for moodle.';