friendica/doc/database/db_group.md

36 lines
1.7 KiB
Markdown
Raw Normal View History

2015-12-27 20:50:25 -05:00
Table group
===========
2021-06-14 02:10:11 -04:00
privacy circles, circle info
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Fields
------
| Field | Description | Type | Null | Key | Default | Extra |
| ------- | ----------------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
| uid | Owner User id | mediumint unsigned | NO | | 0 | |
| visible | 1 indicates the member list is not private | boolean | NO | | 0 | |
| deleted | 1 indicates the circle has been deleted | boolean | NO | | 0 | |
| cid | Contact id of forum. When this field is filled then the members are synced automatically. | int unsigned | YES | | NULL | |
| name | human readable name of circle | varchar(255) | NO | | | |
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Indexes
------------
2021-06-14 08:15:10 -04:00
| Name | Fields |
| ------- | ------ |
| PRIMARY | id |
| uid | uid |
| cid | cid |
2021-06-14 04:53:37 -04:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
| cid | [contact](help/database/db_contact) | id |
2021-06-14 04:53:37 -04:00
2015-12-27 20:50:25 -05:00
Return to [database documentation](help/database)