]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_tag.md
Don't show dislike if unwanted / views use the correct icon now / colours adjusted
[friendica.git] / doc / database / db_tag.md
index e2d3cc07de67faae371fb20f477b68a47efa9102..5b50cdf9022ee621b19747448834792c46db72db 100644 (file)
@@ -1,11 +1,26 @@
 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)