From 0bf8539f28204422d2848d7e3f77e315c8b0a8ae Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 18 Jun 2020 14:27:44 +0800 Subject: [PATCH] 1 --- sql/relationdb_n.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */;