]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_tag.md
Revert "Rename contact table column to ffi_keyword_denylist"
[friendica.git] / doc / database / db_tag.md
index f52478c855a031173a309188ac6fca59d433081c..5b50cdf9022ee621b19747448834792c46db72db 100644 (file)
@@ -3,10 +3,24 @@ Table tag
 
 tags and mentions
 
-| Field | Description | Type           | Null | Key | Default | Extra          |
-| ----- | ----------- | -------------- | ---- | --- | ------- | -------------- |
-| id    |             | int unsigned   | NO   | PRI | NULL    | auto_increment |
-| name  |             | varchar(96)    | NO   |     |         |                |
-| url   |             | varbinary(255) | NO   |     |         |                |
+Fields
+------
+
+| Field | Description                                                                   | Type             | Null | Key | Default | Extra          |
+| ----- | ----------------------------------------------------------------------------- | ---------------- | ---- | --- | ------- | -------------- |
+| id    |                                                                               | int unsigned     | NO   | PRI | NULL    | auto_increment |
+| name  |                                                                               | varchar(96)      | NO   |     |         |                |
+| url   |                                                                               | varbinary(383)   | NO   |     |         |                |
+| type  | Type of the tag (Unknown, General Collection, Follower Collection or Account) | tinyint unsigned | YES  |     | NULL    |                |
+
+Indexes
+------------
+
+| Name          | Fields            |
+| ------------- | ----------------- |
+| PRIMARY       | id                |
+| type_name_url | UNIQUE, name, url |
+| url           | url               |
+
 
 Return to [database documentation](help/database)