mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Delete the cache entry when the post is changed or deleted
This commit is contained in:
parent
7c9f10e58f
commit
da658cbf1d
6 changed files with 38 additions and 9 deletions
|
@ -6,11 +6,12 @@ Stores temporary data
|
|||
Fields
|
||||
------
|
||||
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| ------- | ----------------------------------- | -------------- | ---- | --- | ------- | ----- |
|
||||
| page | Page | varbinary(255) | NO | PRI | NULL | |
|
||||
| content | Page content | mediumtext | YES | | NULL | |
|
||||
| fetched | date when the page had been fetched | datetime | YES | | NULL | |
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| ------- | ------------------------------------------------------------------ | -------------- | ---- | --- | ------- | ----- |
|
||||
| page | Page | varbinary(255) | NO | PRI | NULL | |
|
||||
| uri-id | Id of the item-uri table that contains the uri the page belongs to | int unsigned | YES | | NULL | |
|
||||
| content | Page content | mediumtext | YES | | NULL | |
|
||||
| fetched | date when the page had been fetched | datetime | YES | | NULL | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
@ -19,6 +20,13 @@ Indexes
|
|||
| ------- | ------- |
|
||||
| PRIMARY | page |
|
||||
| fetched | fetched |
|
||||
| uri-id | uri-id |
|
||||
|
||||
Foreign Keys
|
||||
------------
|
||||
|
||||
| Field | Target Table | Target Field |
|
||||
|-------|--------------|--------------|
|
||||
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
||||
|
||||
Return to [database documentation](help/database)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue