Delete the cache entry when the post is changed or deleted

This commit is contained in:
Michael 2022-09-06 21:51:47 +00:00
parent 7c9f10e58f
commit da658cbf1d
6 changed files with 38 additions and 9 deletions

View file

@ -1055,12 +1055,14 @@ return [
"comment" => "Stores temporary data",
"fields" => [
"page" => ["type" => "varbinary(255)", "not null" => "1", "primary" => "1", "comment" => "Page"],
"uri-id" => ["type" => "int unsigned", "foreign" => ["item-uri" => "id"], "comment" => "Id of the item-uri table that contains the uri the page belongs to"],
"content" => ["type" => "mediumtext", "comment" => "Page content"],
"fetched" => ["type" => "datetime", "comment" => "date when the page had been fetched"],
],
"indexes" => [
"PRIMARY" => ["page"],
"fetched" => ["fetched"],
"uri-id" => ["uri-id"],
],
],
"parsed_url" => [