diff --git a/sql/relationdb_n.sql b/sql/relationdb_n.sql index 11be56a..ea353ef 100644 --- a/sql/relationdb_n.sql +++ b/sql/relationdb_n.sql @@ -125,7 +125,8 @@ CREATE TABLE `event` ( `status` int(11) NOT NULL DEFAULT '0' COMMENT '0:未处理 1:已处理', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', PRIMARY KEY (`idx`), - KEY `account_id` (`account_id`) + KEY `sender_id` (`sender_id`), + KEY `target_id` (`target_id`) ) 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 */;