Table db161.customer_movement Generated by
SchemaSpy
Related columns Constraint names Comments Legend
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
Dashed lines show
implied relationships
< n > number of related tables
Please support this project 
Column Type Size Nulls Auto Default Children Parents Comments
CUSTOMER_MOVEMENT_ID int 11  √ 
CUSTOMER_ID int 11  √  null
customer.CUSTOMER_ID customer_movement_ibfk_1
PERSONNEL_ID smallint 6  √  null
personnel.PERSONNEL_ID customer_movement_ibfk_3
OFFICE_ID smallint 6
office.OFFICE_ID customer_movement_ibfk_2
STATUS smallint 6  √  null
START_DATE date 10  √  null
END_DATE date 10  √  null
UPDATED_BY smallint 6  √  null
personnel.PERSONNEL_ID customer_movement_ibfk_4
UPDATED_DATE date 10  √  null

Table contained 0 rows at Wed Dec 05 17:59 PST 2007

Indexes:
Column(s) Type Sort Constraint Name
CUSTOMER_MOVEMENT_ID Primary key Asc PRIMARY
CUSTOMER_ID + STATUS Performance Asc/Asc CUST_MOVEMENT_IDX
OFFICE_ID Performance Asc OFFICE_ID
PERSONNEL_ID Performance Asc PERSONNEL_ID
UPDATED_BY Performance Asc UPDATED_BY

Close relationships  within one two degrees of separation :