]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_item-uri.md
Merge remote-tracking branch 'upstream/develop' into api-edit
[friendica.git] / doc / database / db_item-uri.md
index 85c7a40b3c884beea150354cda1787f0de26bf94..a6b006ec79d9ec996ed27d036d83071016bbd4f4 100644 (file)
@@ -1,11 +1,25 @@
 Table item-uri
 ===========
+
 URI and GUID for items
 
-| Field | Description | Type | Null | Key | Default | Extra |
-| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
-| id |  | int unsigned | NO | PRI | NULL | auto_increment |    
-| uri | URI of an item | varbinary(255) | NO |  | NULL |  |    
-| guid | A unique identifier for an item | varbinary(255) | YES |  | NULL |  |    
+Fields
+------
+
+| Field | Description                     | Type           | Null | Key | Default | Extra          |
+| ----- | ------------------------------- | -------------- | ---- | --- | ------- | -------------- |
+| id    |                                 | int unsigned   | NO   | PRI | NULL    | auto_increment |
+| uri   | URI of an item                  | varbinary(383) | NO   |     | NULL    |                |
+| guid  | A unique identifier for an item | varbinary(255) | YES  |     | NULL    |                |
+
+Indexes
+------------
+
+| Name    | Fields      |
+| ------- | ----------- |
+| PRIMARY | id          |
+| uri     | UNIQUE, uri |
+| guid    | guid        |
+
 
 Return to [database documentation](help/database)