Pluggable storage backends: first steps
- add backend related columns in photo table - add system resource storage class - add code to load image data from backend class - return "nosign" image as photo meta with SystemResource backend
This commit is contained in:
parent
89eaf508f1
commit
3b3c4e8cc7
4 changed files with 83 additions and 10 deletions
|
@ -34,7 +34,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1293);
|
||||
define('DB_UPDATE_VERSION', 1294);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -955,6 +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"]
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["id"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue