root/trunk/sql/updates/0.6/3032_creature.sql
@
2
Revision 2, 326 bytes (checked in by yumileroy, 17 years ago) |
---|
Line | |
---|---|
1 | /*delete redundant column from creature table*/ |
2 | ALTER TABLE `creature` ADD COLUMN `spawntimesecs` int(11) unsigned NOT NULL default '120' AFTER `spawntimemin`; |
3 | |
4 | UPDATE creature SET `spawntimesecs`= (spawntimemin + spawntimemax) /2; |
5 | |
6 | ALTER TABLE creature DROP COLUMN spawntimemax; |
7 | ALTER TABLE creature DROP COLUMN spawntimemin; |
Note: See TracBrowser
for help on using the browser.