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:
@@ -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
|
||||||
|
@@ -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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user