summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-23 00:31:37 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-23 00:31:37 +0000
commit90a3c76481654f00e1d6da14ee73997bea8ee31a (patch)
treef8d5d93be815b406fb7684cae1d99180e8c97cd5 /sql-files
parent3aaaaa86887209c21dd16875e3e39237e953db2e (diff)
downloadhercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.tar.gz
hercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.tar.bz2
hercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.tar.xz
hercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.zip
* 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
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/mail.sql23
-rw-r--r--sql-files/main.sql28
2 files changed, 28 insertions, 23 deletions
diff --git a/sql-files/mail.sql b/sql-files/mail.sql
deleted file mode 100644
index b5fd22ead..000000000
--- a/sql-files/mail.sql
+++ /dev/null
@@ -1,23 +0,0 @@
-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;
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
@@ -466,6 +466,34 @@ CREATE TABLE `loginlog` (
) 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`
--