friendica/doc/database/db_application.md

33 lines
1.5 KiB
Markdown
Raw Normal View History

Table application
===========
2021-06-14 02:10:11 -04:00
OAuth application
2021-06-14 04:53:37 -04:00
Fields
------
| Field | Description | Type | Null | Key | Default | Extra |
| ------------- | --------------- | -------------- | ---- | --- | ------- | -------------- |
| id | generated index | int unsigned | NO | PRI | NULL | auto_increment |
| client_id | | varchar(64) | NO | | NULL | |
| client_secret | | varchar(64) | NO | | NULL | |
| name | | varchar(255) | NO | | NULL | |
| redirect_uri | | varbinary(383) | NO | | NULL | |
| website | | varbinary(383) | YES | | NULL | |
| scopes | | varchar(255) | YES | | NULL | |
| read | Read scope | boolean | YES | | NULL | |
| write | Write scope | boolean | YES | | NULL | |
| follow | Follow scope | boolean | YES | | NULL | |
| push | Push scope | boolean | YES | | NULL | |
2021-06-14 04:53:37 -04:00
Indexes
------------
2021-06-14 08:15:10 -04:00
| Name | Fields |
| --------- | ----------------- |
| PRIMARY | id |
2021-06-14 04:53:37 -04:00
| client_id | UNIQUE, client_id |
Return to [database documentation](help/database)