summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/install.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/rebootcontrol/install.inc.php')
-rw-r--r--modules-available/rebootcontrol/install.inc.php2
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,