we don't have that column
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-12-06 19:52:30 +01:00
parent 305f3f6f86
commit 97cf30ed7a
3 changed files with 8 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ platform:
trigger:
branch:
- 2.1.x
- upgrade-2
event:
include:
- push

View File

@@ -37,8 +37,8 @@ if (!defined('_CRON_UPDATE')) {
}
if (Froxlor::isDatabaseVersion('202304260')) {
Update::showUpdateStep("Cleaning domains table");
Database::query("ALTER TABLE `" . TABLE_PANEL_DOMAINS . "` DROP COLUMN `ismainbutsubto`;");
//Update::showUpdateStep("Cleaning domains table");
//Database::query("ALTER TABLE `" . TABLE_PANEL_DOMAINS . "` DROP COLUMN `ismainbutsubto`;");
Update::lastStepStatus(0);
Update::showUpdateStep("Creating new tables and fields");

View File

@@ -0,0 +1,5 @@
<?php
chmod('/app//bin/froxlor-cli', 0755);
// re-create cron.d configuration file
exec('/app//bin/froxlor-cli froxlor:cron -r 99');
exit;