]> git.mxchange.org Git - friendica.git/blobdiff - static/dbstructure.config.php
First draft for using a image grid to display attached images.
[friendica.git] / static / dbstructure.config.php
index a7bf84a466fade7a6eb314d21a6a75dc6bf7ee0c..f8e01e51eec7e93f139c2b0f5494efbc33be6c4c 100644 (file)
@@ -1129,6 +1129,7 @@ return [
                        "height" => ["type" => "smallint unsigned", "not null" => "1", "default" => "0", "comment" => ""],
                        "width" => ["type" => "smallint unsigned", "not null" => "1", "default" => "0", "comment" => ""],
                        "datasize" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "comment" => ""],
+                       "blurhash" => ["type" => "varbinary(255)", "comment" => "BlurHash representation of the photo"],
                        "data" => ["type" => "mediumblob", "not null" => "1", "comment" => ""],
                        "scale" => ["type" => "tinyint unsigned", "not null" => "1", "default" => "0", "comment" => ""],
                        "profile" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => ""],
@@ -1340,6 +1341,7 @@ return [
                        "height" => ["type" => "smallint unsigned", "comment" => "Height of the media"],
                        "width" => ["type" => "smallint unsigned", "comment" => "Width of the media"],
                        "size" => ["type" => "bigint unsigned", "comment" => "Media size"],
+                       "blurhash" => ["type" => "varbinary(255)", "comment" => "BlurHash representation of the image"],
                        "preview" => ["type" => "varbinary(512)", "comment" => "Preview URL"],
                        "preview-height" => ["type" => "smallint unsigned", "comment" => "Height of the preview picture"],
                        "preview-width" => ["type" => "smallint unsigned", "comment" => "Width of the preview picture"],