friendica/doc/database/db_group_member.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2015-12-28 02:50:25 +01:00
Table group_member
===========
2021-06-14 08:10:11 +02:00
privacy groups, member info
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 |
| gid | groups.id of the associated group | int unsigned | NO | | 0 | |
| contact-id | contact.id of the member assigned to the associated group | int unsigned | NO | | 0 | |
2015-12-28 02:50:25 +01:00
2021-06-14 10:53:37 +02:00
Indexes
------------
| Name | Fields |
|------|---------|
| PRIMARY | id |
| contactid | contact-id |
| 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-28 02:50:25 +01:00
Return to [database documentation](help/database)