Table d47civi_0z3xa.civicrm_entity_file Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
id int unsigned 10  √  primary key
entity_table varchar 64  √  null physical tablename for entity being joined to file, e.g. civicrm_contact
entity_id int unsigned 10 FK to entity table specified in entity_table column.
file_id int unsigned 10
civicrm_file.id FK_civicrm_entity_file_file_id R
FK to civicrm_file

Table contained 0 rows at mer. avr. 13 16:52 EDT 2016

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
file_id Performance Asc FK_civicrm_entity_file_file_id
entity_table + entity_id Performance Asc/Asc index_entity
entity_table + entity_id + file_id Performance Asc/Asc/Asc index_entity_file_id

Close relationships: