From 4e6dd7dd5feaf4e0a4df5fe71636f82c9a57ae66 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 28 Feb 2018 23:48:54 -0500 Subject: [PATCH] Update db cache table documentation --- doc/database/db_cache.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/database/db_cache.md b/doc/database/db_cache.md index 3675474a5a..f5691d08a6 100644 --- a/doc/database/db_cache.md +++ b/doc/database/db_cache.md @@ -1,11 +1,13 @@ Table cache =========== +Stores temporary data + | Field | Description | Type | Null | Key | Default | Extra | | ------------ | ---------------------------------- | ------------ | ---- | --- | ------------------- | ----- | -| k | horizontal width + url or resource | varchar(255) | NO | PRI | NULL | | -| v | OEmbed response from site | text | NO | | NULL | | +| k | cache key | varchar(255) | NO | PRI | NULL | | +| v | cached serialized value | text | NO | | NULL | | +| expires | datetime of cache expiration | datetime | NO | MUL | 0001-01-01 00:00:00 | | | updated | datetime of cache insertion | datetime | NO | MUL | 0001-01-01 00:00:00 | | -| expire_mode | | int(11) | NO | | 0 | | Return to [database documentation](help/database)