Add maxwidth column to oembed table

- Match Caching key for OEmbed queries
This commit is contained in:
Hypolite Petovan 2018-01-08 23:40:10 -05:00
parent 47e0900220
commit da9523ed23
3 changed files with 13 additions and 8 deletions

View file

@ -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"),
)
);