* Move the upgrade xuanxuan sql to upgrade 18.4.

This commit is contained in:
hufangzhou
2023-07-12 10:22:18 +08:00
parent 76e5329522
commit 4ea64cb4cf
+9 -9
View File
@@ -635,14 +635,6 @@ class upgradeModel extends model
$this->setURSwitchStatus($fromVersion);
break;
case '18_4_beta1':
if(!$executedXuanxuan)
{
$xuanxuanSql = $this->app->getAppRoot() . 'db' . DS . 'upgradexuanxuan7.1.sql';
$this->execSQL($xuanxuanSql);
$xuanxuanSql = $this->app->getAppRoot() . 'db' . DS . 'upgradexuanxuan7.2.beta.sql';
$this->execSQL($xuanxuanSql);
}
if($this->config->edition != 'open')
{
$this->processDeployStepAction();
@@ -650,7 +642,15 @@ class upgradeModel extends model
$this->checkPivotSQL();
}
break;
case '18_4':
if(!$executedXuanxuan)
{
$xuanxuanSql = $this->app->getAppRoot() . 'db' . DS . 'upgradexuanxuan7.1.sql';
$this->execSQL($xuanxuanSql);
$xuanxuanSql = $this->app->getAppRoot() . 'db' . DS . 'upgradexuanxuan7.2.beta.sql';
$this->execSQL($xuanxuanSql);
}
break;
}
$this->deletePatch();