mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[460-update-mysql-database-schema-for-dhcpv6--align-on-dhcpv4] Renamed dhcp6_subnet_id in dhcp6_pd_pool too
This commit is contained in:
@@ -1807,11 +1807,13 @@ ALTER TABLE dhcp6_global_parameter
|
||||
REFERENCES parameter_data_type (id);
|
||||
|
||||
|
||||
-- Rename dhcp6_subnet_id column of dhcp6_pool
|
||||
-- Rename dhcp6_subnet_id column of dhcp6_pool and dhcp6_pd_pool
|
||||
|
||||
ALTER TABLE dhcp6_pool
|
||||
CHANGE dhcp6_subnet_id subnet_id INT(10) UNSIGNED NOT NULL;
|
||||
|
||||
ALTER TABLE dhcp6_pd_pool
|
||||
CHANGE dhcp6_subnet_id subnet_id INT(10) UNSIGNED NOT NULL;
|
||||
|
||||
# Update the schema version number
|
||||
UPDATE schema_version
|
||||
|
@@ -490,11 +490,13 @@ ALTER TABLE dhcp6_global_parameter
|
||||
REFERENCES parameter_data_type (id);
|
||||
|
||||
|
||||
-- Rename dhcp6_subnet_id column of dhcp6_pool
|
||||
-- Rename dhcp6_subnet_id column of dhcp6_pool and dhcp6_pd_pool
|
||||
|
||||
ALTER TABLE dhcp6_pool
|
||||
CHANGE dhcp6_subnet_id subnet_id INT(10) UNSIGNED NOT NULL;
|
||||
|
||||
ALTER TABLE dhcp6_pd_pool
|
||||
CHANGE dhcp6_subnet_id subnet_id INT(10) UNSIGNED NOT NULL;
|
||||
|
||||
# Update the schema version number
|
||||
UPDATE schema_version
|
||||
|
Reference in New Issue
Block a user