Character relationshipsTable: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with '{| border="1" |- ! field ! type ! foreign key ! description |- | character_id | integer | | |- | related_id | integer | | |- | relationship_type | varchar | | |- | spousena…'
 
Grimston (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| border="1"
 
 
{| class="wikitable"
|+
!UE
!Field
!Type
!Key Type
!Default
!Extra
!Description
|-
|-
! field
|
! type
|character_id
! foreign key
|int(10) unsigned
! description
|PRI
|0
|
|character id from the characters table
|-
|-
| character_id
|
| integer
|related_id
|  
|int(10) unsigned
|  
|PRI
|0
|
|character id of the related character
|-
|-
| related_id
|
| integer
|relationship_type
|  
|varchar(15)
|  
|PRI
|
|
|one of three values currently `familiar`, `buddy`, `spouse` or `exploration` 
|-
|-
| relationship_type
|
| varchar
|spousename
|  
|varchar(30)
|  
|
|-
|
| spousename
|
| varchar
|used for marriages, historical data in case of deletion
|  
|  
|}
|}
[[Category:Engine documents]]

Latest revision as of 11:53, 11 January 2022


UE Field Type Key Type Default Extra Description
character_id int(10) unsigned PRI 0 character id from the characters table
related_id int(10) unsigned PRI 0 character id of the related character
relationship_type varchar(15) PRI one of three values currently `familiar`, `buddy`, `spouse` or `exploration`
spousename varchar(30) used for marriages, historical data in case of deletion