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

17 lines
971 B
SQL

DROP TABLE IF EXISTS `mail`;
CREATE TABLE `mail` (
`id` bigint(20) unsigned NOT NULL default '0' COMMENT 'Identifier',
`messageType` int(11) unsigned NOT NULL default '0',
`sender` bigint(20) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
`receiver` bigint(20) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
`subject` longtext,
`itemPageId` int(11) unsigned NOT NULL default '0',
`item_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Mail Item Global Unique Identifier',
`item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
`time` int(11) unsigned NOT NULL default '0',
`money` int(11) unsigned NOT NULL default '0',
`cod` bigint(11) unsigned NOT NULL default '0',
`checked` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `idx_receiver` (`receiver`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';