* fix bug.

This commit is contained in:
wangyidong
2020-03-13 10:01:02 +08:00
parent 82fff1b42f
commit 4905c7aef6
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -638,6 +638,7 @@ CREATE TABLE IF NOT EXISTS `zt_repo` (
`acl` text NOT NULL,
`synced` tinyint(1) NOT NULL DEFAULT '0',
`lastSync` datetime NOT NULL,
`desc` text NOT NULL,
`deleted` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+2
View File
@@ -66,3 +66,5 @@ UPDATE `zt_webhook` SET `type` = 'wechatgroup' WHERE `type` = 'weixin';
UPDATE `zt_grouppriv` SET `method` = 'edit' WHERE `module` = 'repo' AND `method` = 'settings';
UPDATE `zt_grouppriv` SET `method` = 'showsynccommit' WHERE `module` = 'repo' AND `method` = 'showsynccomment';
UPDATE `zt_grouppriv` SET `method` = 'showsynccommit' WHERE `module` = 'repo' AND `method` = 'showSyncComment';
ALTER TABLE `zt_repo` ADD `desc` text NOT NULL AFTER `lastSync`;
+1
View File
@@ -641,6 +641,7 @@ CREATE TABLE IF NOT EXISTS `zt_repo` (
`acl` text NOT NULL,
`synced` tinyint(1) NOT NULL DEFAULT '0',
`lastSync` datetime NOT NULL,
`desc` text NOT NULL,
`deleted` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;