Table d47civi_0z3xa.civicrm_note 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  √  Note ID
entity_table varchar 64 Name of table where item being referenced is stored.
entity_id int unsigned 10 Foreign key to the referenced item.
note text 65535  √  null Note and/or Comment.
contact_id int unsigned 10  √  null
civicrm_contact.id FK_civicrm_note_contact_id N
FK to Contact ID creator
modified_date date 10  √  null When was this note last modified/edited
subject varchar 255  √  null subject of note description
privacy varchar 255  √  null Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)

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

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

Close relationships  within of separation: