]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_application.md
Merge pull request #11043 from annando/api-fixes
[friendica.git] / doc / database / db_application.md
index 461cc1188103caab91afd3839ddd09f88adc7fd6..0a91e703ad960f421a5e4dd4678858a7ed0bbeda 100644 (file)
@@ -3,6 +3,9 @@ Table application
 
 OAuth application
 
+Fields
+------
+
 | Field         | Description     | Type         | Null | Key | Default | Extra          |
 | ------------- | --------------- | ------------ | ---- | --- | ------- | -------------- |
 | id            | generated index | int unsigned | NO   | PRI | NULL    | auto_increment |
@@ -17,4 +20,13 @@ OAuth application
 | follow        | Follow scope    | boolean      | YES  |     | NULL    |                |
 | push          | Push scope      | boolean      | YES  |     | NULL    |                |
 
+Indexes
+------------
+
+| Name      | Fields            |
+| --------- | ----------------- |
+| PRIMARY   | id                |
+| client_id | UNIQUE, client_id |
+
+
 Return to [database documentation](help/database)