From: Marcin Siodelski Date: Thu, 4 Oct 2018 16:20:35 +0000 (+0200) Subject: [#93,!35] Added missing column in MySQL upgrade script. X-Git-Tag: 5-netconf-extend-syntax_base~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6726e65521c241c20da5b03fa8e91b5165164936;p=thirdparty%2Fkea.git [#93,!35] Added missing column in MySQL upgrade script. --- diff --git a/src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in b/src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in index f50207a17e..5c3105ffdd 100644 --- a/src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in +++ b/src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in @@ -194,6 +194,7 @@ CREATE TABLE IF NOT EXISTS dhcp4_option_def ( code SMALLINT UNSIGNED NOT NULL, name VARCHAR(128) NOT NULL, space VARCHAR(128) NOT NULL, + type TINYINT UNSIGNED NOT NULL, modification_ts TIMESTAMP NOT NULL, array TINYINT(1) NOT NULL, encapsulate VARCHAR(128) NOT NULL, @@ -420,6 +421,7 @@ CREATE TABLE IF NOT EXISTS dhcp6_option_def ( code SMALLINT UNSIGNED NOT NULL, name VARCHAR(128) NOT NULL, space VARCHAR(128) NOT NULL, + type TINYINT UNSIGNED NOT NULL, modification_ts TIMESTAMP NOT NULL, array TINYINT(1) NOT NULL, encapsulate VARCHAR(128) NOT NULL,