summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
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`
--