]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_host.md
Merge remote-tracking branch 'origin/2022.12-rc' into fixes
[friendica.git] / doc / database / db_host.md
index bb07a5b87a3ab97a5f50d81202ca9bd76019145a..4b2d4d1e5df9035f5ce829f6202e1be04bdc9643 100644 (file)
@@ -1,10 +1,23 @@
 Table host
 ===========
+
 Hostname
 
-| Field | Description   | Type             | Null | Key | Default | Extra          |    
-| ----- | ------------- | ---------------- | ---- | --- | ------- | -------------- |    
-| id    | sequential ID | tinyint unsigned | NO   | PRI | NULL    | auto_increment |    
-| name  | The hostname  | varchar(128)     | NO   |     |         |                |    
+Fields
+------
+
+| Field | Description   | Type             | Null | Key | Default | Extra          |
+| ----- | ------------- | ---------------- | ---- | --- | ------- | -------------- |
+| id    | sequential ID | tinyint unsigned | NO   | PRI | NULL    | auto_increment |
+| name  | The hostname  | varchar(128)     | NO   |     |         |                |
+
+Indexes
+------------
+
+| Name    | Fields       |
+| ------- | ------------ |
+| PRIMARY | id           |
+| name    | UNIQUE, name |
+
 
 Return to [database documentation](help/database)