Update update_0.9.inc.php

This commit is contained in:
Grigory Morozov
2016-09-27 23:08:30 +07:00
committed by GitHub
parent dc428b7de2
commit 3ff85e167c

View File

@@ -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');
}