mirror of
https://github.com/friendica/friendica
synced 2024-12-29 20:02:19 +00:00
4f6e02357a
- Table names "group" and "group_member" are unchanged
32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
Table group_member
|
|
===========
|
|
|
|
privacy circles, member info
|
|
|
|
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 | |
|
|
|
|
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 |
|
|
|
|
Return to [database documentation](help/database)
|