* Add primary key for zt_team.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `zt_team` DROP PRIMARY KEY,
|
||||
ADD PRIMARY KEY (`root`,`type`,`account`);
|
||||
+2
-1
@@ -655,7 +655,8 @@ CREATE TABLE IF NOT EXISTS `zt_team` (
|
||||
`estimate` DECIMAL(12,2) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`consumed` DECIMAL(12,2) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`left` DECIMAL(12,2) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`order` TINYINT(3) NOT NULL DEFAULT '0'
|
||||
`order` TINYINT(3) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`root`,`type`,`account`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
-- DROP TABLE IF EXISTS `zt_testreport`;
|
||||
CREATE TABLE IF NOT EXISTS `zt_testreport` (
|
||||
|
||||
Reference in New Issue
Block a user