CommentShares


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 public.gen_random_uuid()
ShareId uuid 2147483647 null
Shares.id CommentShares_ShareId_fkey R

Foreign key, referencing public.Shares

CommentId uuid 2147483647 null
Comments.id CommentShares_CommentId_fkey R

Foreign key, referencing to qn_ans.Comments

Indexes

Constraint Name Type Sort Column(s)
CommentShares_pkey Primary key Asc id
unique_shareid_commentid Must be unique Asc/Asc ShareId + CommentId

Relationships