CRM/RelateEntities
RelateEntities
civicrm_relate_entities
Related entity
1.0
true
id
int unsigned
true
Unique Related Entity ID
1.0
id
true
entity_table_a
Entity Table A
varchar
64
true
May contain civicrm_financial_item, civicrm_contribution, civicrm_financial_trxn, civicrm_grant, etc
1.0
entity_id_a
Entity Id A
int unsigned
true
entry in table
1.0
entity_id_a
entity_table_a
1.0
entity_table_b
Entity Table b
varchar
64
true
May contain civicrm_financial_item, civicrm_contribution, civicrm_financial_trxn, civicrm_grant, etc
1.0
entity_id_b
Entity Id B
int unsigned
true
entry in table
1.0
entity_id_b
entity_table_b
1.0
relationship_type_id
int unsigned
Relationship Type
true
id of the relationship
1.0
Select
relationship_type_id
civicrm_relationship_type
id
1.0
CASCADE
is_active
boolean
Relationship Is Active
1
is the relationship active ?
1.1
CheckBox
created_date
RelateEntities Created Date
timestamp
When was the entry was created.
false
true
CURRENT_TIMESTAMP
1.0
modified_date
RelateEntities Modified Date
timestamp
When was the entry was modified.
false
true
CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
1.0