Table llx boxes: Difference between revisions

m
→‎Table: insert entity
m (→‎Table: insert entity)
Line 3: Line 3:
{{ListOfTables}}
{{ListOfTables}}


= Content/Contenu/Contenido =
=Content/Contenu/Contenido=


{{flag en}} Contains the order position of active boxes
{{flag en}}
Contains the order position of active boxes


{{flag fr}} Contient la position des boîtes actives
{{flag fr}}
Contient la position des boîtes actives


{{flag sp}} Contiene la ordenación de las cajas activas.
{{flag sp}}
Contiene la ordenación de las cajas activas.


= Structure =
=Structure=
== Table ==
==Table==
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
{| class="dolbox" width="100%" cellspacing="0" cellpadding="1" border="0" align="left"
  |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>
  |style="background-color: #e9e9ef"| <b>Null</b>
  | style="background-color: #e9e9ef" |<b>Null</b>
  |style="background-color: #e9e9ef"| <b>Key</b>
  | style="background-color: #e9e9ef" |<b>Key</b>
  |style="background-color: #e9e9ef"| <b>Default</b>
  | style="background-color: #e9e9ef" |<b>Default</b>
  |style="background-color: #e9e9ef"| <b>Extra</b>
  | style="background-color: #e9e9ef" |<b>Extra</b>
  |style="background-color: #e9e9ef"| <b>Description</b>
  | style="background-color: #e9e9ef" |<b>Description</b>
|-  
|-  
| rowid  
|rowid
| int(11)  
|int(11)
| NO
|NO
| PRI
|PRI
| NULL
|NULL
| auto_increment  
|auto_increment
| technical index  
|technical index
|-
|entity
|int(11)
|NO
|
|1
|
|
|-  
|-  
| box_id
|box_id
| int(11)  
|int(11)
| NO
|NO
| UNI
|UNI
|  
|
|  
|
| ID of box ([[Boxes def (Table SQL)|llx_boxes_def]]->rowid)
|ID of box ([[Boxes def (Table SQL)|llx_boxes_def]]->rowid)
|-  
|-  
| position
|position
| smallint(6)
|smallint(6)
| NO
|NO
| UNI
|UNI
|  
|
|  
|
| Position of box
|Position of box
|-  
|-  
| box_order
|box_order
| varchar(3)
|varchar(3)
| NO
|NO
|  
|
|  
|
|  
|
| Order of box
|Order of box
|-
|-
| fk_user
|fk_user
| int(11)
|int(11)
| NO
|NO
| UNI
|UNI
| 0
|0
|  
|
| ID of user that affect the box order ([[Table llx_user|llx_user]]->rowid)
|ID of user that affect the box order ([[Table llx_user|llx_user]]->rowid)
|}&nbsp;
|}&nbsp;
== Keys ==
==Keys==
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
{| class="dolbox" width="100%" cellspacing="0" cellpadding="1" border="0" align="left"
  |style="background-color: #e9e9ef"| <b>Key</b>
  | style="background-color: #e9e9ef" |<b>Key</b>
  |style="background-color: #e9e9ef"| <b>Type</b>
  | style="background-color: #e9e9ef" |<b>Type</b>
  |style="background-color: #e9e9ef"| <b>Fields</b>
  | style="background-color: #e9e9ef" |<b>Fields</b>
|-  
|-  
| PRIMARY
|PRIMARY
| PRIMARY
|PRIMARY
| rowid
|rowid
|-  
|-  
| uk_boxes
|uk_boxes
| UNIQUE
|UNIQUE
| box_id,position,fk_user
|box_id,position,fk_user
|-  
|-  
| idx_boxes_boxid  
|idx_boxes_boxid
| MULTIPLE
|MULTIPLE
| box_id
|box_id
|-  
|-  
| idx_boxes_fk_user
|idx_boxes_fk_user
| MULTIPLE
|MULTIPLE
| fk_user
|fk_user
|}&nbsp;
|}&nbsp;
1,988

edits