diff --git a/data/web/inc/init_db.inc.php b/data/web/inc/init_db.inc.php index 02813ece..1c3e5229 100644 --- a/data/web/inc/init_db.inc.php +++ b/data/web/inc/init_db.inc.php @@ -3,7 +3,7 @@ function init_db_schema() { try { global $pdo; - $db_version = "28012020_0755"; + $db_version = "16022020_1304"; $stmt = $pdo->query("SHOW TABLES LIKE 'versions'"); $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC)); @@ -553,7 +553,7 @@ function init_db_schema() { "maxage" => "SMALLINT NOT NULL DEFAULT '0'", "mins_interval" => "VARCHAR(50) NOT NULL DEFAULT '0'", "maxbytespersecond" => "VARCHAR(50) NOT NULL DEFAULT '0'", - "port1" => "SMALLINT NOT NULL", + "port1" => "SMALLINT UNSIGNED NOT NULL", "enc1" => "ENUM('TLS','SSL','PLAIN') DEFAULT 'TLS'", "delete2duplicates" => "TINYINT(1) NOT NULL DEFAULT '1'", "delete1" => "TINYINT(1) NOT NULL DEFAULT '0'",