2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 15:35:17 +00:00

[#2299] Script sync issues

modified:   dhcpdb_create.mysql
modified:   upgrade_013_to_014.sh.in
This commit is contained in:
Thomas Markwalder
2022-06-03 10:05:45 -04:00
parent df14c7593e
commit 2ef4f4f78f
2 changed files with 9 additions and 9 deletions

View File

@@ -4346,8 +4346,6 @@ DELIMITER ;
UPDATE schema_version
SET version = '14', minor = '0';
-- This line concludes database upgrade to version 14.
# Notes:

View File

@@ -52,6 +52,7 @@ then
fi
mysql "$@" <<EOF
-- Modify shared-network-name foreign key contraint 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.
@@ -92,7 +93,7 @@ ALTER TABLE dhcp6_subnet
ON DELETE NO ACTION ON UPDATE NO ACTION;
-- Modify BEFORE delete trigger on dhcp6_shared_network to explicitly
-- update dhcp4_subnets. This ensures there are audit entries for updated
-- update dhcp6_subnets. This ensures there are audit entries for updated
-- subnets.
DROP TRIGGER dhcp6_shared_network_BDEL;
@@ -113,4 +114,5 @@ UPDATE schema_version
SET version = '14', minor = '0';
-- This line concludes database upgrade to version 14.
EOF