diff --git a/install/updates/froxlor/0.9/update_0.9.inc.php b/install/updates/froxlor/0.9/update_0.9.inc.php index 750d05b3..cc2463b7 100644 --- a/install/updates/froxlor/0.9/update_0.9.inc.php +++ b/install/updates/froxlor/0.9/update_0.9.inc.php @@ -3321,14 +3321,6 @@ if (isFroxlorVersion('0.9.35.1')) { updateToVersion('0.9.36'); } -if (isFroxlorVersion('0.9.37')) { - showUpdateStep("Updating from 0.9.37 to 0.9.38", false); - showUpdateStep("Adding unique key to ipsandports table"); - Database::query("ALTER TABLE `" . TABLE_PANEL_IPSANDPORTS . "` ADD UNIQUE KEY `ip_port` (`ip`,`port`)"); - lastStepStatus(0); - updateToVersion('0.9.38'); -} - if (isDatabaseVersion('201604270')) { showUpdateStep("Adding new dns related tables and settings"); @@ -3483,3 +3475,10 @@ if (isDatabaseVersion('201609120')) { updateToDbVersion('201609200'); } + +if (isDatabaseVersion('201609200')) { + showUpdateStep("Adding unique key to ipsandports table"); + Database::query("ALTER TABLE `" . TABLE_PANEL_IPSANDPORTS . "` ADD UNIQUE KEY `ip_port` (`ip`,`port`)"); + lastStepStatus(0); + updateToDbVersion('201609270'); +}