friendica/doc/database/db_clients.md

34 lines
1021 B
Markdown
Raw Normal View History

2015-12-27 20:50:25 -05:00
Table clients
===========
2021-06-14 02:10:11 -04:00
OAuth usage
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Fields
------
2021-06-14 02:10:11 -04:00
| Field | Description | Type | Null | Key | Default | Extra |
| ------------ | ----------- | ------------------ | ---- | --- | ------- | ----- |
| client_id | | varchar(20) | NO | PRI | NULL | |
| pw | | varchar(20) | NO | | | |
| redirect_uri | | varchar(200) | NO | | | |
| name | | text | YES | | NULL | |
| icon | | text | YES | | NULL | |
| uid | User id | mediumint unsigned | NO | | 0 | |
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Indexes
------------
| Name | Fields |
2021-06-14 04:54:57 -04:00
|------|--------|
2021-06-14 04:53:37 -04:00
| PRIMARY | client_id |
| uid | uid |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
2015-12-27 20:50:25 -05:00
Return to [database documentation](help/database)