From 57450ee56ebc61340bf6eea2c3e029f8f0ce90c2 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Thu, 15 Apr 2021 14:51:10 +0800 Subject: [PATCH] * Finish task #37526. --- db/update15.0.rc2.sql | 1 + module/upgrade/model.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/db/update15.0.rc2.sql b/db/update15.0.rc2.sql index 085cf030e6..0fabf2c405 100644 --- a/db/update15.0.rc2.sql +++ b/db/update15.0.rc2.sql @@ -1 +1,2 @@ DELETE FROM zt_cron WHERE command='moduleName=weekly&methodName=computeWeekly'; +ALTER TABLE zt_story drop column `project`; diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 4ee03e2537..9d5f753755 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -4333,7 +4333,6 @@ class upgradeModel extends model public function processMergedData($programID, $projectID, $lineID, $productIdList = array(), $sprintIdList = array()) { /* Product linked objects. */ - $this->dao->update(TABLE_STORY)->set('project')->eq($projectID)->where('product')->in($productIdList)->exec(); $this->dao->update(TABLE_RELEASE)->set('project')->eq($projectID)->where('product')->in($productIdList)->exec(); /* Compute product acl. */