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

10 lines
254 B
SQL

ALTER TABLE corpse
CHANGE time time_old timestamp NOT NULL default '0000-00-00 00:00:00',
ADD COLUMN time bigint(20) unsigned NOT NULL default '0' AFTER data;
UPDATE corpse
SET time = UNIX_TIMESTAMP(time_old);
ALTER TABLE corpse
DROP time_old;