1
This commit is contained in:
parent
d1ace7688b
commit
356ba6a1a6
@ -40,15 +40,14 @@ DROP TABLE IF EXISTS `t_mailbox`;
|
||||
CREATE TABLE `t_mailbox` (
|
||||
`idx` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`mailid` bigint NOT NULL COMMENT 'mail id',
|
||||
`_from` varchar(60) CHARACTER SET utf8 NOT NULL COMMENT 'from',
|
||||
`_to` varchar(60) CHARACTER SET utf8 NOT NULL COMMENT 'to',
|
||||
`from` varchar(60) CHARACTER SET utf8 NOT NULL COMMENT 'from',
|
||||
`to` varchar(60) CHARACTER SET utf8 NOT NULL COMMENT 'to',
|
||||
`subject` mediumblob COMMENT 'subject',
|
||||
`content` mediumblob COMMENT '消息内容',
|
||||
`ext` mediumblob COMMENT 'ext',
|
||||
`attachments` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '附件',
|
||||
`mailtype` int(11) NOT NULL DEFAULT '0' COMMENT 'mailtype',
|
||||
`mailsubtype` int(11) NOT NULL DEFAULT '0' COMMENT 'mailsubtype',
|
||||
`usertype` int(11) NOT NULL DEFAULT '0' COMMENT 'usertype',
|
||||
`type` int(11) NOT NULL DEFAULT '0' COMMENT 'mailtype',
|
||||
`sub_type` int(11) NOT NULL DEFAULT '0' COMMENT 'mailsubtype',
|
||||
`user_type` int(11) NOT NULL DEFAULT '0' COMMENT 'usertype',
|
||||
`deleted` int(11) NOT NULL DEFAULT '0' COMMENT '是否已删除',
|
||||
`sendtime` int(11) NOT NULL DEFAULT '0' COMMENT '发送时间',
|
||||
`expiretime` int(11) NOT NULL DEFAULT '0' COMMENT '过期时间',
|
||||
@ -56,20 +55,20 @@ CREATE TABLE `t_mailbox` (
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
PRIMARY KEY (`idx`),
|
||||
UNIQUE KEY `mailid` (`mailid`),
|
||||
KEY `_to` (`_to`),
|
||||
KEY `_from` (`_from`),
|
||||
KEY `to` (`to`),
|
||||
KEY `from` (`from`),
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
--
|
||||
-- Table structure for table `account_data`
|
||||
-- Table structure for table `t_account_data`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `account_data`;
|
||||
DROP TABLE IF EXISTS `t_account_data`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `account_data` (
|
||||
CREATE TABLE `t_account_data` (
|
||||
`idx` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`accountid` varchar(60) CHARACTER SET utf8 NOT NULL COMMENT '账号id',
|
||||
`blobdata` mediumblob COMMENT '账号',
|
||||
|
Loading…
x
Reference in New Issue
Block a user