mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-06 17:05:14 +00:00
[4552] Added siaddr, sname and file into the hosts table.
This commit is contained in:
@@ -465,6 +465,12 @@ ALTER TABLE dhcp6_options
|
||||
ADD CONSTRAINT fk_dhcp6_option_scope FOREIGN KEY (scope_id)
|
||||
REFERENCES dhcp_option_scope (scope_id);
|
||||
|
||||
# Add columns holding reservations for siaddr, sname and file fields
|
||||
# carried within DHCPv4 message.
|
||||
ALTER TABLE hosts ADD COLUMN dhcp4_next_server INT UNSIGNED NULL;
|
||||
ALTER TABLE hosts ADD COLUMN dhcp4_server_hostname VARCHAR(64) NULL;
|
||||
ALTER TABLE hosts ADD COLUMN dhcp4_boot_file_name VARCHAR(128) NULL;
|
||||
|
||||
# Update the schema version number
|
||||
UPDATE schema_version
|
||||
SET version = '4', minor = '2';
|
||||
|
Reference in New Issue
Block a user