* Revert sql.
This commit is contained in:
@@ -388,6 +388,7 @@ CREATE TABLE `zt_file` (
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
CREATE TABLE `zt_group` (
|
||||
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`program` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
||||
`name` char(30) NOT NULL,
|
||||
`role` char(30) NOT NULL DEFAULT '',
|
||||
`desc` char(255) NOT NULL DEFAULT '',
|
||||
|
||||
@@ -4,3 +4,5 @@ DELETE FROM `zt_grouppriv` WHERE `module` = 'api' AND `method` = 'getModel';
|
||||
DELETE FROM `zt_grouppriv` WHERE `module` = 'api' AND `method` = 'sql';
|
||||
|
||||
ALTER TABLE `zt_jenkins` CHANGE `password` `password` varchar(255) COLLATE 'utf8_general_ci' NOT NULL AFTER `account`;
|
||||
|
||||
ALTER TABLE `zt_group` ADD `program` mediumint(8) unsigned NOT NULL DEFAULT 0 AFTER `id`;
|
||||
|
||||
@@ -403,6 +403,7 @@ CREATE TABLE IF NOT EXISTS `zt_file` (
|
||||
-- DROP TABLE IF EXISTS `zt_group`;
|
||||
CREATE TABLE IF NOT EXISTS `zt_group` (
|
||||
`id` mediumint(8) unsigned NOT NULL auto_increment,
|
||||
`program` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
||||
`name` char(30) NOT NULL,
|
||||
`role` char(30) NOT NULL default '',
|
||||
`desc` char(255) NOT NULL default '',
|
||||
|
||||
Reference in New Issue
Block a user