root/trunk/sql/updates/0.6/2637_auctionhouse.sql
@
2
Revision 2, 282 bytes (checked in by yumileroy, 17 years ago) |
---|
Line | |
---|---|
1 | ALTER TABLE `auctionhouse` |
2 | ADD `item_template` int(11) unsigned NOT NULL default '0' AFTER `itemguid`; |
3 | |
4 | UPDATE `auctionhouse`,`item_instance` |
5 | SET `item_template` = SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',4),' ',-1) |
6 | WHERE `auctionhouse`.`itemguid` = `item_instance`.`guid`; |
Note: See TracBrowser
for help on using the browser.