X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_application-token.md;h=9899a5e8b31cad46b9b23fcef5e52a913616f370;hb=8a7d08ae2860d82fe98a26f4e86626b3c7eb4d1e;hp=e37bce6c9f5d7d26cadb6d048ac25ff5e0e28907;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_application-token.md b/doc/database/db_application-token.md index e37bce6c9f..9899a5e8b3 100644 --- a/doc/database/db_application-token.md +++ b/doc/database/db_application-token.md @@ -3,6 +3,9 @@ Table application-token OAuth user token +Fields +------ + | Field | Description | Type | Null | Key | Default | Extra | | -------------- | ------------- | ------------------ | ---- | --- | ------- | ----- | | application-id | | int unsigned | NO | PRI | NULL | | @@ -16,4 +19,20 @@ OAuth user token | follow | Follow scope | boolean | YES | | NULL | | | push | Push scope | boolean | YES | | NULL | | +Indexes +------------ + +| Name | Fields | +| ------- | ------------------- | +| PRIMARY | application-id, uid | +| uid_id | uid, application-id | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| application-id | [application](help/database/db_application) | id | +| uid | [user](help/database/db_user) | uid | + Return to [database documentation](help/database)