File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/share/database/scripts Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 28
28
29
29
# Check version.
30
30
version=$( mysql_version " ${@ } " )
31
- if test " ${version} " ! = " 27 .0" ; then
31
+ if test " ${version} " ! = " 28 .0" ; then
32
32
printf ' This script upgrades 28.0 to 29.0. '
33
33
printf ' Reported version is %s. Skipping upgrade.\n' " ${version} "
34
34
exit 0
Original file line number Diff line number Diff line change @@ -63,8 +63,9 @@ ALTER TABLE dhcp6_subnet
63
63
ADD COLUMN ddns_ttl_min BIGINT DEFAULT NULL,
64
64
ADD COLUMN ddns_ttl_max BIGINT DEFAULT NULL;
65
65
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';
68
69
69
70
-- This line concludes the schema upgrade to version 28.0.
70
71
You can’t perform that action at this time.
0 commit comments