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 int4 10 null
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

Check Constraints

Constraint Name Constraint
reports_type_check (((type >= 1) AND (type <= 16))) NOT VALID

Relationships