reports


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 nextval('reports_id_seq'::regclass)
user_id int4 10 null
users.id reports_user_id_foreignC
type_id int4 10 null
report_types.id reports_type_id_foreignR
source_type varchar 255 null
source_id int8 19 null
source_name varchar 255 null
options json 2147483647 null
created_at timestamp 22 null
updated_at timestamp 22 null
ready_at timestamp 22 null

Indexes

Constraint Name Type Sort Column(s)
reports_pkey Primary key Asc id
reports_source_type_source_id_index Performance Asc/Asc source_type + source_id

Relationships