Table discourse.public.post_uploads 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('post_uploads_id_seq'::regclass)
post_id int4 10
upload_id int4 10

Table contained 5 rows at Fri Mar 27 12:26 PDT 2015

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc post_uploads_pkey
post_id + upload_id Must be unique Asc/Asc idx_unique_post_uploads