]> git.mxchange.org Git - friendica.git/commitdiff
Update db cache table documentation
authorHypolite Petovan <mrpetovan@gmail.com>
Thu, 1 Mar 2018 04:48:54 +0000 (23:48 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 5 Mar 2018 04:13:19 +0000 (23:13 -0500)
doc/database/db_cache.md

index 3675474a5ab7b74bccd24477ad6e4f5c23ed3909..f5691d08a6f266f5fc93c56cd1dd28170e073850 100644 (file)
@@ -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)