2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[#3683] Finished update

This commit is contained in:
Francis Dupont
2025-02-06 22:56:38 +01:00
parent c41cac3aa7
commit 73845e4e57
2 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ fi
# Check version. # Check version.
version=$(mysql_version "${@}") version=$(mysql_version "${@}")
if test "${version}" != "27.0"; then if test "${version}" != "28.0"; then
printf 'This script upgrades 28.0 to 29.0. ' printf 'This script upgrades 28.0 to 29.0. '
printf 'Reported version is %s. Skipping upgrade.\n' "${version}" printf 'Reported version is %s. Skipping upgrade.\n' "${version}"
exit 0 exit 0

View File

@@ -63,8 +63,9 @@ ALTER TABLE dhcp6_subnet
ADD COLUMN ddns_ttl_min BIGINT DEFAULT NULL, ADD COLUMN ddns_ttl_min BIGINT DEFAULT NULL,
ADD COLUMN ddns_ttl_max BIGINT DEFAULT NULL; ADD COLUMN ddns_ttl_max BIGINT DEFAULT NULL;
-- New lease state for address registration -- Update the schema version number.
INSERT INTO lease_state VALUES (4, 'registered'); UPDATE schema_version
SET version = '28', minor = '0';
-- This line concludes the schema upgrade to version 28.0. -- This line concludes the schema upgrade to version 28.0.