friendica_2021-01/doc/database/db_manage.md

33 lines
951 B
Markdown
Raw Normal View History

2015-12-28 02:50:25 +01:00
Table manage
===========
2021-06-14 08:10:11 +02:00
table of accounts that can manage each other
2015-12-28 02:50:25 +01:00
2021-06-14 10:53:37 +02:00
Fields
------
2021-06-14 08:10:11 +02:00
| Field | Description | Type | Null | Key | Default | Extra |
| ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- |
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
| uid | User id | mediumint unsigned | NO | | 0 | |
| mid | User id | mediumint unsigned | NO | | 0 | |
2015-12-28 02:50:25 +01:00
2021-06-14 10:53:37 +02:00
Indexes
------------
2021-06-14 14:15:10 +02:00
| Name | Fields |
| ------- | ---------------- |
| PRIMARY | id |
2021-06-14 10:53:37 +02:00
| uid_mid | UNIQUE, uid, mid |
2021-06-14 14:15:10 +02:00
| mid | mid |
2021-06-14 10:53:37 +02:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
| mid | [user](help/database/db_user) | uid |
2015-12-28 02:50:25 +01:00
Return to [database documentation](help/database)