Table af99dbf6.activities_users 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
activity_id char 36
activities.id Defined in XML R
parent_type varchar 100  √  null
parent_id char 36  √  null
accounts.id Defined in XML R
acl_role_sets.id Defined in XML R
activities.id Defined in XML R
bugs.id Defined in XML R
calls.id Defined in XML R
campaigns.id Defined in XML R
cases.id Defined in XML R
categories.id Defined in XML R
contacts.id Defined in XML R
contracts.id Defined in XML R
dashboards.id Defined in XML R
documents.id Defined in XML R
eapm.id Defined in XML R
embedded_files.id Defined in XML R
filters.id Defined in XML R
forecast_manager_worksheets.id Defined in XML R
forecast_worksheets.id Defined in XML R
kbarticles.id Defined in XML R
kbcontent_templates.id Defined in XML R
kbcontents.id Defined in XML R
kbdocuments.id Defined in XML R
leads.id Defined in XML R
meetings.id Defined in XML R
notes.id Defined in XML R
notifications.id Defined in XML R
oauth_consumer.id Defined in XML R
opportunities.id Defined in XML R
pdfmanager.id Defined in XML R
product_categories.id Defined in XML R
product_templates.id Defined in XML R
products.id Defined in XML R
prospects.id Defined in XML R
quotas.id Defined in XML R
quotes.id Defined in XML R
revenue_line_items.id Defined in XML R
schedulers.id Defined in XML R
styleguide.id Defined in XML R
subscriptions.id Defined in XML R
sugarfavorites.id Defined in XML R
tags.id Defined in XML R
tasks.id Defined in XML R
taxrates.id Defined in XML R
teams.id Defined in XML R
users.id Defined in XML R
users_signatures.id Defined in XML R
weblogichooks.id Defined in XML R
fields longtext 2147483647  √  null
date_modified datetime 19  √  null
deleted bit 1  √  0

Analyzed at Sun Mar 05 08:16 UTC 2017

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
parent_type + parent_id Performance Asc/Asc activities_records
activity_id + parent_id + parent_type Performance Asc/Asc/Asc activities_users_parent

Close relationships  within of separation: