diff options
author | Simon Rettberg | 2019-11-27 17:25:46 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-27 17:25:46 +0100 |
commit | ca312a6ace43a6fde58d1c09057c7b0bd34f15a2 (patch) | |
tree | 3cb4e5ac2b29f7fcc99dfda5df26f11a64caeaf3 /modules-available/rebootcontrol/install.inc.php | |
parent | [js_ip/locations] Mode cidr/ip handling to own module (diff) | |
download | slx-admin-ca312a6ace43a6fde58d1c09057c7b0bd34f15a2.tar.gz slx-admin-ca312a6ace43a6fde58d1c09057c7b0bd34f15a2.tar.xz slx-admin-ca312a6ace43a6fde58d1c09057c7b0bd34f15a2.zip |
[statistics/rebootcontrol] Implement editing subnet
Diffstat (limited to 'modules-available/rebootcontrol/install.inc.php')
-rw-r--r-- | modules-available/rebootcontrol/install.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/rebootcontrol/install.inc.php b/modules-available/rebootcontrol/install.inc.php index 0ce5dd23..eb484d3e 100644 --- a/modules-available/rebootcontrol/install.inc.php +++ b/modules-available/rebootcontrol/install.inc.php @@ -12,7 +12,7 @@ $output[] = tableCreate('reboot_subnet', " `lastseen` INT(10) UNSIGNED NOT NULL DEFAULT '0', `seencount` INT(10) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`subnetid`), - KEY `range` (`start`, `end`)"); + UNIQUE KEY `range` (`start`, `end`)"); $output[] = tableCreate('reboot_jumphost', " `hostid` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, |