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
+2
View File
@@ -655,6 +655,8 @@ CREATE TABLE prefix_tags (
userid INTEGER NOT NULL default 0,
text varchar(255) NOT NULL default ''
);
CREATE INDEX tags_typeuserid_idx ON prefix_tags (type, userid);
CREATE INDEX tags_text_idx ON prefix_tags (text);
CREATE TABLE prefix_blog_tag_instance (
id SERIAL PRIMARY KEY,