From 9342888bd594d882edfdbcecefb3f735ab284c61 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Wed, 21 Nov 2018 16:21:57 +0100 Subject: [PATCH] Remove default from backend columns https://dev.mysql.com/doc/refman/8.0/en/blob.html BLOB and TEXT columns cannot have DEFAULT values. --- config/dbstructure.config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dbstructure.config.php b/config/dbstructure.config.php index 70be49481..0c24d8a73 100644 --- a/config/dbstructure.config.php +++ b/config/dbstructure.config.php @@ -955,8 +955,8 @@ return [ "allow_gid" => ["type" => "mediumtext", "comment" => "Access Control - list of allowed groups"], "deny_cid" => ["type" => "mediumtext", "comment" => "Access Control - list of denied contact.id"], "deny_gid" => ["type" => "mediumtext", "comment" => "Access Control - list of denied groups"], - "backend-class" => ["type" => "tinytext", "default" => "", "comment" => "Storage backend class"], - "backend-ref" => ["type" => "text", "default" => "", "comment" => "Storage backend data reference"] + "backend-class" => ["type" => "tinytext", "comment" => "Storage backend class"], + "backend-ref" => ["type" => "text", "comment" => "Storage backend data reference"] ], "indexes" => [ "PRIMARY" => ["id"],