draft

6 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 null
draft_type int2 5 null
username text 2147483647 null
ref_id int4 10 null
draft_data json 2147483647 null
create_time timestamptz 35,6 CURRENT_TIMESTAMP
modify_time timestamptz 35,6 null

Indexes

Constraint Name Type Sort Column(s)
pk_draft Primary key Asc id
idx_unq_draft Performance Asc/Asc/Asc draft_type + username + ref_id
unq_draft Must be unique Asc/Asc/Asc draft_type + username + ref_id

Relationships