Permalink
Browse files

adding dropindex and addindex for modified tags table

  • Loading branch information...
1 parent f4e7407 commit 3dba170e7d74ae0ef1384d28c06046e1120bacef toyomoyo committed Apr 24, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/db/migrate2utf8.xml
View
@@ -33,8 +33,8 @@
</TABLE>
<TABLE name="tags">
<FIELDS>
- <FIELD name="type" method="NO_CONV" type="varchar" length="255" />
- <FIELD name="text" method="PHP_FUNCTION" type="varchar" length="255">
+ <FIELD name="type" method="NO_CONV" type="varchar" length="20" dropindex="tags_typeuserid_idx" addindex="tags_typeuserid_idx(type(20), userid)" />
+ <FIELD name="text" method="PHP_FUNCTION" type="varchar" length="255" dropindex="tags_text_idx" addindex="tags_text_idx(text(255))">
<PHP_FUNCTION>
migrate2utf8_tags_text(RECORDID)
</PHP_FUNCTION>

0 comments on commit 3dba170

Please sign in to comment.