Files
Viano-Core/sql/updates/0.5/1949_corpse.sql
T
Neo2003 9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00

14 lines
702 B
SQL

ALTER TABLE `game_corpse`
RENAME TO `corpse`;
CREATE TABLE `corpse_grid` (
`guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
`position_x` int(11) NOT NULL default '0',
`position_y` int(11) NOT NULL default '0',
`cell_position_x` int(11) NOT NULL default '0',
`cell_position_y` int(11) NOT NULL default '0',
`grid` int(11) unsigned NOT NULL default '0' COMMENT 'Grid Identifier',
`cell` int(11) unsigned NOT NULL default '0' COMMENT 'Cell Identifier',
`map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
UNIQUE KEY `idx_search` (`grid`,`cell`,`map`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid System';