31,034
edits
(→Table) |
|||
| (3 intermediate revisions by one other user not shown) | |||
| Line 17: | Line 17: | ||
= Structure = | = Structure = | ||
{| align="left" width="100%" border="0 | == Table == | ||
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | |||
|style="background-color: #e9e9ef"| <b>Field</b> | |style="background-color: #e9e9ef"| <b>Field</b> | ||
|style="background-color: #e9e9ef"| <b>Type</b> | |style="background-color: #e9e9ef"| <b>Type</b> | ||
| Line 28: | Line 29: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 53: | Line 54: | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | UNI | ||
| | | | ||
| | | | ||
| Line 61: | Line 62: | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | UNI | ||
| | | | ||
| | | | ||
| Line 69: | Line 70: | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| UNI | |||
| | | | ||
| | | | ||
| ID of contact/address ([[Table llx_socpeople|llx_socpeople]]->rowid) or ID of user ([[Table llx_user|llx_user]]->rowid) depending on fk_c_type_contact | |||
| ID of contact ([[Table llx_socpeople|llx_socpeople]]->rowid) | |} | ||
|} | |||
== Keys == | |||
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | |||
|style="background-color: #e9e9ef"| <b>Key</b> | |||
|style="background-color: #e9e9ef"| <b>Type</b> | |||
|style="background-color: #e9e9ef"| <b>Fields</b> | |||
|- | |||
| PRIMARY | |||
| PRIMARY | |||
| rowid | |||
|- | |||
| idx_element_contact_idx1 | |||
| UNIQUE | |||
| element_id,fk_c_type_contact,fk_socpeople | |||
|- | |||
| fk_element_contact_fk_c_type_contact | |||
| MULTIPLE | |||
| fk_c_type_contact | |||
|- | |||
| idx_element_contact_fk_socpeople | |||
| MULTIPLE | |||
| fk_socpeople | |||
|} | |||