mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 15:35:17 +00:00
[#2299] Fixed minor review comments
modified: src/share/database/scripts/mysql/dhcpdb_create.mysql src/share/database/scripts/mysql/upgrade_013_to_014.sh.in src/share/database/scripts/pgsql/dhcpdb_create.pgsql src/share/database/scripts/pgsql/upgrade_011_to_012.sh.in
This commit is contained in:
@@ -4288,7 +4288,7 @@ UPDATE schema_version
|
||||
|
||||
-- This line starts database upgrade to version 14.0.
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp4_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp4_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp4_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp4_subnet
|
||||
@@ -4316,7 +4316,7 @@ CREATE TRIGGER dhcp4_shared_network_BDEL BEFORE DELETE ON dhcp4_shared_network
|
||||
END $$
|
||||
DELIMITER ;
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp6_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp6_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp6_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp6_subnet
|
||||
|
@@ -54,7 +54,7 @@ fi
|
||||
mysql "$@" <<EOF
|
||||
-- This line starts database upgrade to version 14.0.
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp4_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp4_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp4_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp4_subnet
|
||||
@@ -82,7 +82,7 @@ CREATE TRIGGER dhcp4_shared_network_BDEL BEFORE DELETE ON dhcp4_shared_network
|
||||
END $$
|
||||
DELIMITER ;
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp6_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp6_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp6_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp6_subnet
|
||||
|
@@ -4917,7 +4917,7 @@ UPDATE schema_version
|
||||
|
||||
-- This starts schema update to 12.0.
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp4_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp4_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp4_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp4_subnet
|
||||
@@ -4943,7 +4943,7 @@ END;
|
||||
$dhcp4_shared_network_BDEL$
|
||||
LANGUAGE plpgsql;
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp6_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp6_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp6_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp6_subnet
|
||||
|
@@ -38,7 +38,7 @@ START TRANSACTION;
|
||||
|
||||
-- This starts schema update to 12.0.
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp4_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp4_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp4_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp4_subnet
|
||||
@@ -64,7 +64,7 @@ END;
|
||||
\$dhcp4_shared_network_BDEL\$
|
||||
LANGUAGE plpgsql;
|
||||
|
||||
-- Modify shared-network-name foreign key contraint on dhcp6_subnet to not perform
|
||||
-- Modify shared-network-name foreign key constraint on dhcp6_subnet to not perform
|
||||
-- the update when the network is deleted the cascaded update will not execute
|
||||
-- dhcp6_subnet update trigger leaving the updated subnets without audit_entries.
|
||||
ALTER TABLE dhcp6_subnet
|
||||
|
Reference in New Issue
Block a user