mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[460-update-mysql-database-schema-for-dhcpv6--align-on-dhcpv4] Renamed a dhcp6_pool (unused table) column
This commit is contained in:
@@ -1807,6 +1807,12 @@ ALTER TABLE dhcp6_global_parameter
|
||||
REFERENCES parameter_data_type (id);
|
||||
|
||||
|
||||
-- Rename dhcp6_subnet_id column of dhcp6_pool
|
||||
|
||||
ALTER TABLE dhcp6_pool
|
||||
CHANGE dhcp6_subnet_id subnet_id INT(10) UNSIGNED NOT NULL;
|
||||
|
||||
|
||||
# Update the schema version number
|
||||
UPDATE schema_version
|
||||
SET version = '8', minor = '0';
|
||||
|
@@ -458,7 +458,7 @@ CREATE TRIGGER dhcp4_options_ADEL AFTER DELETE ON dhcp4_options
|
||||
DELIMITER ;
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table parameter_data_type
|
||||
-- Table `parameter_data_type`
|
||||
-- Reflects an enum used by Kea to define supported
|
||||
-- data types for the simple configuration parameters,
|
||||
-- e.g. global parameters used by DHCP servers.
|
||||
@@ -490,6 +490,12 @@ ALTER TABLE dhcp6_global_parameter
|
||||
REFERENCES parameter_data_type (id);
|
||||
|
||||
|
||||
-- Rename dhcp6_subnet_id column of dhcp6_pool
|
||||
|
||||
ALTER TABLE dhcp6_pool
|
||||
CHANGE dhcp6_subnet_id subnet_id INT(10) UNSIGNED NOT NULL;
|
||||
|
||||
|
||||
# Update the schema version number
|
||||
UPDATE schema_version
|
||||
SET version = '8', minor = '0';
|
||||
|
Reference in New Issue
Block a user