diff options
Diffstat (limited to 'modules-available/rebootcontrol/install.inc.php')
-rw-r--r-- | modules-available/rebootcontrol/install.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/rebootcontrol/install.inc.php b/modules-available/rebootcontrol/install.inc.php index 6fe040ad..7d4382d0 100644 --- a/modules-available/rebootcontrol/install.inc.php +++ b/modules-available/rebootcontrol/install.inc.php @@ -37,10 +37,10 @@ $output[] = tableCreate('reboot_subnet_x_subnet', " PRIMARY KEY (`srcid`, `dstid`), KEY `nextcheck` (`nextcheck`)"); -$output[] = tableCreate('scheduler', " +$output[] = tableCreate('reboot_scheduler', " `locationid` INT(11) NOT NULL, `action` ENUM('wol', 'sd'), - `nextwake` INT(10) UNSIGNED NOT NULL DEFAULT 0, + `nextexecution` INT(10) UNSIGNED NOT NULL DEFAULT 0, `options` BLOB, PRIMARY KEY (`locationid`, `action`)"); @@ -52,7 +52,7 @@ $output[] = tableAddConstraint('reboot_subnet_x_subnet', 'srcid', 'reboot_subnet 'ON UPDATE CASCADE ON DELETE CASCADE'); $output[] = tableAddConstraint('reboot_subnet_x_subnet', 'dstid', 'reboot_subnet', 'subnetid', 'ON UPDATE CASCADE ON DELETE CASCADE'); -$output[] = tableAddConstraint('scheduler', 'locationid', 'location', 'locationid', +$output[] = tableAddConstraint('reboot_scheduler', 'locationid', 'location', 'locationid', 'ON UPDATE CASCADE ON DELETE CASCADE'); responseFromArray($output);
\ No newline at end of file |