]> git.mxchange.org Git - friendica.git/commitdiff
Changes:
authorRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 07:11:08 +0000 (09:11 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 07:13:10 +0000 (09:13 +0200)
- dbstructure(null) is no longer possible, an empty string does it

src/Database/DBStructure.php

index 0e9ec79e5d7c80765e88f36b2ee3fd64076c4677..f1ed26b4be552ea2c1a0037a30fc8ee026d8babf 100644 (file)
@@ -163,7 +163,7 @@ class DBStructure
        public static function writeStructure()
        {
                $tables = [];
-               foreach (self::definition(null) as $name => $definition) {
+               foreach (self::definition('') as $name => $definition) {
                        $indexes  = [[
                                'name'   => 'Name',
                                'fields' => 'Fields',