]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_item-uri.md
Merge pull request #12407 from HankG/friendica-api-photo-endpoint-updates
[friendica.git] / doc / database / db_item-uri.md
index cc7a28e3ab8687628e768ddce3c2f4ca0c0553ad..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)