Skip to content

Commit 0a87be8

Browse files
committed
[#3683] Finished update
1 parent 59ef648 commit 0a87be8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/share/database/scripts/mysql/upgrade_028_to_029.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fi
2828

2929
# Check version.
3030
version=$(mysql_version "${@}")
31-
if test "${version}" != "27.0"; then
31+
if test "${version}" != "28.0"; then
3232
printf 'This script upgrades 28.0 to 29.0. '
3333
printf 'Reported version is %s. Skipping upgrade.\n' "${version}"
3434
exit 0

src/share/database/scripts/pgsql/upgrade_027_to_028.sh.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ ALTER TABLE dhcp6_subnet
6363
ADD COLUMN ddns_ttl_min BIGINT DEFAULT NULL,
6464
ADD COLUMN ddns_ttl_max BIGINT DEFAULT NULL;
6565
66-
-- New lease state for address registration
67-
INSERT INTO lease_state VALUES (4, 'registered');
66+
-- Update the schema version number.
67+
UPDATE schema_version
68+
SET version = '28', minor = '0';
6869
6970
-- This line concludes the schema upgrade to version 28.0.
7071

0 commit comments

Comments
 (0)