Move mod/attach to src, add Attach model, update attach table to use storage backends

This commit is contained in:
fabrixxm
2019-01-02 15:13:05 +01:00
committed by Hypolite Petovan
parent df230126c9
commit fc2b804ccc
4 changed files with 222 additions and 55 deletions
+3 -1
View File
@@ -34,7 +34,7 @@
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1298);
define('DB_UPDATE_VERSION', 1299);
}
return [
@@ -99,6 +99,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", "comment" => "Storage backend class"],
"backend-ref" => ["type" => "text", "comment" => "Storage backend data reference"],
],
"indexes" => [
"PRIMARY" => ["id"],