friendica/doc/database/db_group_member.md

33 lines
1.2 KiB
Markdown
Raw Normal View History

2015-12-27 20:50:25 -05:00
Table group_member
===========
2021-06-14 02:10:11 -04:00
privacy circles, member 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 |
| gid | group.id of the associated circle | int unsigned | NO | | 0 | |
| contact-id | contact.id of the member assigned to the associated circle | int unsigned | NO | | 0 | |
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 |
| contactid | contact-id |
2021-06-14 04:53:37 -04:00
| gid_contactid | UNIQUE, gid, contact-id |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| gid | [group](help/database/db_group) | id |
| contact-id | [contact](help/database/db_contact) | id |
2015-12-27 20:50:25 -05:00
Return to [database documentation](help/database)