forked from opennetadmin/ona
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MP: minor fixes to install update script.. added menu option to edit …
…menu to add domain.
- Loading branch information
1 parent
d270b83
commit 4b37d4a
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
-- Add server_id column | ||
ALTER TABLE `dhcp_option_entries` ADD `server_id` INT( 10 ) UNSIGNED NOT NULL COMMENT 'DHCP entries for a specific server' AFTER `host_id`; | ||
|
||
-- Fixup the default primary host id value in devices table | ||
-- Fixup the default primary host id value in devices table | ||
update devices set primary_host_id = (select hosts.id from hosts where device_id like devices.id); | ||
|
||
-- add a rebuild flag for domain servers | ||
ALTER TABLE `dns_server_domains` ADD `rebuild_flag` INT( 1 ) UNSIGNED NOT NULL COMMENT 'Tack if this domain needs to be rebuilt on this server'; | ||
ALTER TABLE `dns_server_domains` ADD `rebuild_flag` INT( 1 ) UNSIGNED NOT NULL COMMENT 'Track if this domain needs to be rebuilt on this server'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters