* fix bug.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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`;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user