diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-22 20:38:26 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-22 20:38:26 +0000 |
commit | 38b5e25fd06a5d03413f59e3e37c6ffc21d0d02d (patch) | |
tree | 2ac7f91b25ed1c8da6e0e8bae0bb1e24b2c144d9 /sql-files | |
parent | 256a7ebe4e172686f547cf406fd642d6e76e4ed4 (diff) | |
download | hercules-38b5e25fd06a5d03413f59e3e37c6ffc21d0d02d.tar.gz hercules-38b5e25fd06a5d03413f59e3e37c6ffc21d0d02d.tar.bz2 hercules-38b5e25fd06a5d03413f59e3e37c6ffc21d0d02d.tar.xz hercules-38b5e25fd06a5d03413f59e3e37c6ffc21d0d02d.zip |
- Added the new mail system. Requires optimization and tests.
- Updated the maildb sql structure.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11548 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/mail.sql | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/sql-files/mail.sql b/sql-files/mail.sql index 62cc9d65d..b5fd22ead 100644 --- a/sql-files/mail.sql +++ b/sql-files/mail.sql @@ -1,12 +1,23 @@ +DROP TABLE IF EXISTS `mail`; CREATE TABLE `mail` ( - `message_id` int(11) NOT NULL auto_increment, - `to_account_id` int(11) NOT NULL default '0', - `to_char_name` varchar(24) NOT NULL default '', - `from_account_id` int(11) NOT NULL default '0', - `from_char_name` varchar(24) NOT NULL default '', - `message` varchar(80) NOT NULL default '', - `read_flag` tinyint(1) NOT NULL default '0', - `priority` tinyint(1) NOT NULL default '0', - `check_flag` tinyint(1) NOT NULL default '0', - PRIMARY KEY (`message_id`) -) TYPE=MyISAM; + `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; |