From 90a3c76481654f00e1d6da14ee73997bea8ee31a Mon Sep 17 00:00:00 2001
From: zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Date: Tue, 23 Oct 2007 00:31:37 +0000
Subject: * Removed the inter_athena.conf maildb settings as they are not
 required anymore. - MailDB is now an integral part of the MainDB. - To Server
 Admins, use mysql tools to move your mail data to the new structure. - You
 can get the maildb structure from main.sql. - Renamed some vars
 (recomendation of Ultramage :D)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11557 54d463be-8e91-2dee-dedb-b68131a5f0ec
---
 sql-files/main.sql | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

(limited to 'sql-files/main.sql')

diff --git a/sql-files/main.sql b/sql-files/main.sql
index cae4570b2..d03f67548 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -465,6 +465,34 @@ CREATE TABLE `loginlog` (
   INDEX (`ip`)
 ) TYPE=MyISAM;
 
+--
+-- Table structure for table `mail`
+--
+
+DROP TABLE IF EXISTS `mail`;
+CREATE TABLE `mail` (
+  `id` bigint(20) unsigned NOT NULL auto_increment,
+  `send_name` varchar(30) NOT NULL default '',
+  `send_id` int(11) unsigned NOT NULL default '0',
+  `dest_name` varchar(30) NOT NULL default '',
+  `dest_id` int(11) unsigned NOT NULL default '0',
+  `title` varchar(45) NOT NULL default '',
+  `message` varchar(255) 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;
+
 --
 -- Table structure for table `memo`
 --
-- 
cgit v1.2.3-70-g09d2

