Table ad5369ce.quotas 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
commentlog_rel.record_id Defined in XML R
locked_field_bean_rel.bean_id Defined in XML R
quotas_audit.parent_id Defined in XML R
activities_users.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
user_id char 36  √  null
users.id Defined in XML R
timeperiod_id char 36  √  null
quota_type varchar 100  √  null
amount decimal 26,6  √  null
amount_base_currency decimal 26,6  √  null
committed bit 1  √  0
sync_key varchar 100  √  null
assigned_user_id char 36  √  null
users.id Defined in XML R
currency_id char 36  √  -99
currencies.id Defined in XML R
base_rate decimal 26,6  √  null

Analyzed at Mon Sep 28 07:45 UTC 2020

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
user_id + timeperiod_id Performance Asc/Asc idx_quota_user_tp  
assigned_user_id + deleted Performance Asc/Asc idx_quotas_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_quotas_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_quotas_del_d_m  
id + deleted Performance Asc/Asc idx_quotas_id_del  
name + deleted Performance Asc/Asc idx_quotas_name_del  
sync_key Must be unique Asc idx_quotas_skey This unique column is also nullable

Close relationships  within of separation: