* Use TABLE_TEAM instead of zt_team.

This commit is contained in:
daitingting
2018-04-12 09:40:30 +08:00
parent a65ea6aee6
commit 12e7357de3
+1 -1
View File
@@ -2271,7 +2271,7 @@ class upgradeModel extends model
->andWhere('id')->ne($maxID)
->exec();
}
$this->dao->exec("ALTER TABLE `zt_team` ADD UNIQUE `team` (`root`, `type`, `account`)");
$this->dao->exec("ALTER TABLE " . TABLE_TEAM . " ADD UNIQUE `team` (`root`, `type`, `account`)");
return !dao::isError();
}
}