Table discourse.public.topic_links 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('topic_links_id_seq'::regclass)
topic_id int4 10
post_id int4 10  √  null
user_id int4 10
url varchar 500
domain varchar 100
internal bool 1 false
link_topic_id int4 10  √  null
created_at timestamp 29,6
updated_at timestamp 29,6
reflection bool 1  √  false
clicks int4 10 0
link_post_id int4 10  √  null
title varchar 255  √  null
crawled_at timestamp 29,6  √  null
quote bool 1 false

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

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc forum_thread_links_pkey
post_id Performance Asc index_topic_links_on_post_id
topic_id Performance Asc index_topic_links_on_topic_id
topic_id + post_id + url Must be unique Asc/Asc/Asc unique_post_links