Files
TrinityCore/sql/updates/0.6/3032_creature.sql
Neo2003 9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00

7 lines
326 B
SQL

/*delete redundant column from creature table*/
ALTER TABLE `creature` ADD COLUMN `spawntimesecs` int(11) unsigned NOT NULL default '120' AFTER `spawntimemin`;
UPDATE creature SET `spawntimesecs`= (spawntimemin + spawntimemax) /2;
ALTER TABLE creature DROP COLUMN spawntimemax;
ALTER TABLE creature DROP COLUMN spawntimemin;