summaryrefslogtreecommitdiffstats
path: root/src/share/database/scripts/mysql/dhcpdb_create.mysql
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/database/scripts/mysql/dhcpdb_create.mysql')
-rw-r--r--src/share/database/scripts/mysql/dhcpdb_create.mysql11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/share/database/scripts/mysql/dhcpdb_create.mysql b/src/share/database/scripts/mysql/dhcpdb_create.mysql
index 7efb7f9213..a4c0848da8 100644
--- a/src/share/database/scripts/mysql/dhcpdb_create.mysql
+++ b/src/share/database/scripts/mysql/dhcpdb_create.mysql
@@ -2286,6 +2286,12 @@ CREATE TRIGGER dhcp6_options_ADEL AFTER DELETE ON dhcp6_options
END $$
DELIMITER ;
+# Update the schema version number
+UPDATE schema_version
+SET version = '8', minor = '0';
+
+# This line concludes database upgrade to version 8.0.
+
# Add lifetime bounds
ALTER TABLE dhcp4_shared_network
ADD COLUMN min_valid_lifetime INT(10) DEFAULT NULL,
@@ -2309,10 +2315,9 @@ ALTER TABLE dhcp6_subnet
# Update the schema version number
UPDATE schema_version
-SET version = '8', minor = '0';
-
-# This line concludes database upgrade to version 8.0.
+SET version = '8', minor = '1';
+# This line concludes database upgrade to version 8.1.
# Notes:
#