Table d45civi_b72v5.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 Wed Nov 11 17:12 EST 2015

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: