]> git.mxchange.org Git - friendica.git/commitdiff
Don't merge:
authorRoland Häder <roland@mxchange.org>
Mon, 18 Jul 2022 23:45:44 +0000 (01:45 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 23 Jun 2025 20:53:13 +0000 (22:53 +0200)
- updated database structure files from reverted commit #BlacklistIsNoRacism

database.sql
doc/database/db_cache.md
doc/database/db_contact.md

index 7203839882e897a76a0fd68533303373e367a164..39c472f6cbd185d258a490fe74f769960e941b27 100644 (file)
@@ -487,7 +487,7 @@ CREATE TABLE IF NOT EXISTS `attach` (
 -- TABLE cache
 --
 CREATE TABLE IF NOT EXISTS `cache` (
-       `k` varbinary(255) NOT NULL COMMENT 'cache key',
+       `k` varchar(255) NOT NULL COMMENT 'cache key',
        `v` mediumtext COMMENT 'cached serialized value',
        `expires` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of cache expiration',
        `updated` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of cache insertion',
index 27a11daa66c7dbe8af06a5ae292b7ec2ff6d5aac..b2780d6224c89ab4ef97c9304c728c36d1948ac2 100644 (file)
@@ -6,12 +6,12 @@ Stores temporary data
 Fields
 ------
 
-| Field   | Description                  | Type           | Null | Key | Default             | Extra |
-| ------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |
-| k       | cache key                    | varbinary(255) | NO   | PRI | NULL                |       |
-| v       | cached serialized value      | mediumtext     | YES  |     | NULL                |       |
-| expires | datetime of cache expiration | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
-| updated | datetime of cache insertion  | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
+| Field   | Description                  | Type         | Null | Key | Default             | Extra |
+| ------- | ---------------------------- | ------------ | ---- | --- | ------------------- | ----- |
+| k       | cache key                    | varchar(255) | NO   | PRI | NULL                |       |
+| v       | cached serialized value      | mediumtext   | YES  |     | NULL                |       |
+| expires | datetime of cache expiration | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
+| updated | datetime of cache insertion  | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
 
 Indexes
 ------------
index d6924d9ddf2e6b82bd41010c7b233d56a8137f24..1d1c3b2e7e4a19561726dc5d2dc8d7b191257936 100644 (file)
@@ -69,7 +69,7 @@ Fields
 | info                      |                                                                                                                | mediumtext         | YES  |     | NULL                |                |
 | notify_new_posts          |                                                                                                                | boolean            | NO   |     | 0                   |                |
 | fetch_further_information |                                                                                                                | tinyint unsigned   | NO   |     | 0                   |                |
-| ffi_keyword_blacklist      |                                                                                                                | text               | YES  |     | NULL                |                |
+| ffi_keyword_blacklist     |                                                                                                                | text               | YES  |     | NULL                |                |
 | photo                     | Link to the profile photo of the contact                                                                       | varbinary(383)     | YES  |     |                     |                |
 | thumb                     | Link to the profile photo (thumb size)                                                                         | varbinary(383)     | YES  |     |                     |                |
 | micro                     | Link to the profile photo (micro size)                                                                         | varbinary(383)     | YES  |     |                     |                |
@@ -95,7 +95,7 @@ Fields
 | profile-id                | Deprecated                                                                                                     | int unsigned       | YES  |     | NULL                |                |
 
 Indexes
--------
+------------
 
 | Name                        | Fields                               |
 | --------------------------- | ------------------------------------ |