]> git.mxchange.org Git - friendica.git/commitdiff
Remove default from backend columns
authorfabrixxm <fabrix.xm@gmail.com>
Wed, 21 Nov 2018 15:21:57 +0000 (16:21 +0100)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:00:00 +0000 (09:00 -0500)
https://dev.mysql.com/doc/refman/8.0/en/blob.html
BLOB and TEXT columns cannot have DEFAULT values.

config/dbstructure.config.php

index 70be49481991560f20d03cb1fb7af89f44e94b1a..0c24d8a737cae6d9ad03fedac6dfa95210d58215 100644 (file)
@@ -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"],