mirror of
https://github.com/friendica/friendica
synced 2024-12-23 17:20:16 +00:00
32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
Table account-user
|
|
===========
|
|
|
|
Remote and local accounts
|
|
|
|
Fields
|
|
------
|
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
| ------ | ------------------------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |
|
|
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
|
|
| uri-id | Id of the item-uri table entry that contains the account url | int unsigned | NO | | NULL | |
|
|
| uid | User ID | mediumint unsigned | NO | | NULL | |
|
|
|
|
Indexes
|
|
------------
|
|
|
|
| Name | Fields |
|
|
| ---------- | ------------------- |
|
|
| PRIMARY | id |
|
|
| uri-id_uid | UNIQUE, uri-id, uid |
|
|
| uid_uri-id | uid, uri-id |
|
|
|
|
Foreign Keys
|
|
------------
|
|
|
|
| Field | Target Table | Target Field |
|
|
|-------|--------------|--------------|
|
|
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
|
| uid | [user](help/database/db_user) | uid |
|
|
|
|
Return to [database documentation](help/database)
|