rathena/sql-files/mail.sql
zephyrus c34325a53b - Added the new mail system. Requires optimization and tests.
- Updated the maildb sql structure.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:38:26 +00:00

24 lines
998 B
SQL

DROP TABLE IF EXISTS `mail`;
CREATE TABLE `mail` (
`id` bigint(20) unsigned NOT NULL auto_increment,
`send_name` tinytext NOT NULL DEFAULT '',
`send_id` int(11) unsigned NOT NULL default '0',
`dest_name` tinytext NOT NULL DEFAULT '',
`dest_id` int(11) unsigned NOT NULL default '0',
`title` tinytext NOT NULL DEFAULT '',
`message` text NOT NULL DEFAULT '',
`time` int(11) unsigned NOT NULL default '0',
`read_flag` tinyint(1) unsigned NOT NULL default '0',
`zeny` int(11) unsigned NOT NULL default '0',
`nameid` int(11) unsigned NOT NULL default '0',
`amount` int(11) unsigned NOT NULL default '0',
`refine` tinyint(3) unsigned NOT NULL default '0',
`attribute` tinyint(4) unsigned NOT NULL default '0',
`identify` smallint(6) NOT NULL default '0',
`card0` smallint(11) NOT NULL default '0',
`card1` smallint(11) NOT NULL default '0',
`card2` smallint(11) NOT NULL default '0',
`card3` smallint(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM;