Table a1b9088d.shifts 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 char 36
activities_users.parent_id Defined in XML R
locked_field_bean_rel.bean_id Defined in XML R
shifts_users.shift_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
commentlog_rel.record_id Defined in XML R
shifts_audit.parent_id Defined in XML R
name varchar 255  √  null
date_entered datetime 19  √  null
date_modified datetime 19  √  null
modified_user_id char 36  √  null
users.id Defined in XML R
created_by char 36  √  null
users.id Defined in XML R
description text 65535  √  null
deleted bit 1  √  0
timezone varchar 255  √  null
date_start date 10  √  null
date_end date 10  √  null
sync_key varchar 100  √  null
assigned_user_id char 36  √  null
users.id Defined in XML R
team_id char 36  √  null
teams.id Defined in XML R
team_set_id char 36  √  null
team_sets.id Defined in XML R
team_sets_teams.team_set_id Defined in XML R
acl_team_set_id char 36  √  null
is_open_sunday bit 1  √  0
sunday_open_hour varchar 2  √  null
sunday_open_minutes varchar 2  √  null
sunday_close_hour varchar 2  √  null
sunday_close_minutes varchar 2  √  null
is_open_monday bit 1  √  1
monday_open_hour varchar 2  √  null
monday_open_minutes varchar 2  √  null
monday_close_hour varchar 2  √  null
monday_close_minutes varchar 2  √  null
is_open_tuesday bit 1  √  1
tuesday_open_hour varchar 2  √  null
tuesday_open_minutes varchar 2  √  null
tuesday_close_hour varchar 2  √  null
tuesday_close_minutes varchar 2  √  null
is_open_wednesday bit 1  √  1
wednesday_open_hour varchar 2  √  null
wednesday_open_minutes varchar 2  √  null
wednesday_close_hour varchar 2  √  null
wednesday_close_minutes varchar 2  √  null
is_open_thursday bit 1  √  1
thursday_open_hour varchar 2  √  null
thursday_open_minutes varchar 2  √  null
thursday_close_hour varchar 2  √  null
thursday_close_minutes varchar 2  √  null
is_open_friday bit 1  √  1
friday_open_hour varchar 2  √  null
friday_open_minutes varchar 2  √  null
friday_close_hour varchar 2  √  null
friday_close_minutes varchar 2  √  null
is_open_saturday bit 1  √  0
saturday_open_hour varchar 2  √  null
saturday_open_minutes varchar 2  √  null
saturday_close_hour varchar 2  √  null
saturday_close_minutes varchar 2  √  null

Analyzed at Fri Mar 05 08:49 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
acl_team_set_id + deleted Performance Asc/Asc idx_shifts_acl_tmst_id  
assigned_user_id + deleted Performance Asc/Asc idx_shifts_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_shifts_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_shifts_del_d_m  
id + deleted Performance Asc/Asc idx_shifts_id_del  
name + deleted Performance Asc/Asc idx_shifts_name_del  
sync_key Must be unique Asc idx_shifts_skey This unique column is also nullable
team_set_id + deleted Performance Asc/Asc idx_shifts_tmst_id  

Close relationships  within of separation: