From a344340f1c1fb0cf788db275f26e89f65e3d9dc6 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Thu, 17 Nov 2022 06:11:54 +0000 Subject: [PATCH] * Remove the unwanted xuan sql. --- db/standard/{zentao18.0.sql => zentao18.0.beta1.sql} | 2 ++ db/zentao.sql | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) rename db/standard/{zentao18.0.sql => zentao18.0.beta1.sql} (99%) diff --git a/db/standard/zentao18.0.sql b/db/standard/zentao18.0.beta1.sql similarity index 99% rename from db/standard/zentao18.0.sql rename to db/standard/zentao18.0.beta1.sql index cae78ceb4e..c9897d527a 100644 --- a/db/standard/zentao18.0.sql +++ b/db/standard/zentao18.0.beta1.sql @@ -1232,6 +1232,8 @@ CREATE TABLE `zt_im_chat` ( `pinnedMessages` text NOT NULL, `mergedChats` text NOT NULL DEFAULT '', `adminInvite` enum('0','1') NOT NULL DEFAULT '0', + `avatar` text NOT NULL DEFAULT '', + `archiveDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `gid` (`gid`), KEY `name` (`name`), diff --git a/db/zentao.sql b/db/zentao.sql index 557a6663ad..31412ef369 100755 --- a/db/zentao.sql +++ b/db/zentao.sql @@ -6407,8 +6407,7 @@ CREATE TABLE IF NOT EXISTS `zt_im_message` ( KEY `mgid` (`gid`), KEY `mcgid` (`cgid`), KEY `muser` (`user`), - KEY `mtype` (`type`), - UNIQUE `unique_msg`(`index`, `cgid`) + KEY `mtype` (`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- DROP TABLE IF EXISTS `zt_im_message_backup`;