friendica-github/doc/database/db_group.md

33 lines
1.2 KiB
Markdown
Raw Normal View History

2015-12-28 01:50:25 +00:00
Table group
===========
2021-06-14 06:10:11 +00:00
privacy groups, group info
2015-12-28 01:50:25 +00:00
2021-06-14 08:53:37 +00:00
Fields
------
2021-06-14 06:10:11 +00:00
| 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 group has been deleted | boolean | NO | | 0 | |
| name | human readable name of group | varchar(255) | NO | | | |
2015-12-28 01:50:25 +00:00
2021-06-14 08:53:37 +00:00
Indexes
------------
2021-06-14 12:15:10 +00:00
| Name | Fields |
| ------- | ------ |
| PRIMARY | id |
| uid | uid |
2021-06-14 08:53:37 +00:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
2015-12-28 01:50:25 +00:00
Return to [database documentation](help/database)