Changeset 1072
- Timestamp:
- 12/13/09 13:00:31 (2 years ago)
- File:
-
- 1 edited
-
trunk/scripts/migrate-task-tags (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/migrate-task-tags
r1069 r1072 7 7 db_query(" 8 8 ALTER TABLE `ia_tags` 9 ADD COLUMN `type` ENUM('author','contest','year','round','age_group','method','algorithm','tag') NOT NULL 9 ADD COLUMN `type` ENUM('author','contest','year','round','age_group','method','algorithm','tag') NOT NULL, 10 DROP INDEX `name`, 11 ADD UNIQUE INDEX `name_type` USING BTREE(`name`, `type`) 10 12 "); 11 13 db_query('UPDATE `ia_tags` SET `type` = "tag"');
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)