Table gym_trainer_development.workouts 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 serial 10  √  nextval('workouts_id_seq'::regclass)
workout_history_logs.workout_id fk_rails_79d10bfc2e C
workout_items.workout_id fk_rails_e0dde338fd C
workout_set_groups.workout_id fk_rails_a090b10e90 C
user_id int4 10  √  null
users.id fk_rails_40b8fd8af6 C
workout_name varchar 2147483647  √  null
status varchar 2147483647  √  null
created_at timestamp 29,6
updated_at timestamp 29,6
finished_at timestamp 29,6  √  null
workout_total_weight numeric 131089  √  null

Table contained 3 rows at Tue Feb 07 18:38 CET 2017

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc workouts_pkey

Close relationships  within of separation: