From b427212b00fd708b2969a6ed14fc410f69f422ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Kolly?= Date: Sun, 28 Jul 2019 18:11:42 +0200 Subject: [PATCH] Properly implement migrations for caa field in TABLE_DOMAIN_DNS using `showUpdateStep()` and `lastStepStatus()` --- install/updates/froxlor/0.10/update_0.10.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/updates/froxlor/0.10/update_0.10.inc.php b/install/updates/froxlor/0.10/update_0.10.inc.php index fae59b55..a009fb54 100644 --- a/install/updates/froxlor/0.10/update_0.10.inc.php +++ b/install/updates/froxlor/0.10/update_0.10.inc.php @@ -266,6 +266,9 @@ if (\Froxlor\Froxlor::isFroxlorVersion('0.10.0-rc1')) { if (\Froxlor\Froxlor::isDatabaseVersion('201904250')) { + showUpdateStep("Adding field caa for domains"); Database::query("ALTER TABLE `" . TABLE_PANEL_DOMAINS . "` ADD `caa` text default NULL AFTER `letsencrypt`;"); + lastStepStatus(0); + \Froxlor\Froxlor::updateToDbVersion('201907270'); } \ No newline at end of file