mirror of
https://github.com/friendica/friendica
synced 2025-04-28 01:10:12 +00:00
Add maxwidth column to oembed table
- Match Caching key for OEmbed queries
This commit is contained in:
parent
47e0900220
commit
da9523ed23
3 changed files with 13 additions and 8 deletions
|
@ -1277,11 +1277,12 @@ class DBStructure {
|
|||
$database["oembed"] = array(
|
||||
"fields" => array(
|
||||
"url" => array("type" => "varbinary(255)", "not null" => "1", "primary" => "1"),
|
||||
"maxwidth" => array("type" => "int(11)", "not null" => "1", "primary" => "1"),
|
||||
"content" => array("type" => "mediumtext"),
|
||||
"created" => array("type" => "datetime", "not null" => "1", "default" => NULL_DATE),
|
||||
),
|
||||
"indexes" => array(
|
||||
"PRIMARY" => array("url"),
|
||||
"PRIMARY" => array("url", "maxwidth"),
|
||||
"created" => array("created"),
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue