Table discourse.public.versions 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('versions_id_seq'::regclass)
versioned_id int4 10  √  null
versioned_type varchar 255  √  null
user_id int4 10  √  null
user_type varchar 255  √  null
user_name varchar 255  √  null
modifications text 2147483647  √  null
number int4 10  √  null
reverted_from int4 10  √  null
tag varchar 255  √  null
created_at timestamp 29,6
updated_at timestamp 29,6

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

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc versions_pkey
created_at Performance Asc index_versions_on_created_at
number Performance Asc index_versions_on_number
tag Performance Asc index_versions_on_tag
user_id + user_type Performance Asc/Asc index_versions_on_user_id_and_user_type
user_name Performance Asc index_versions_on_user_name
versioned_id + versioned_type Performance Asc/Asc index_versions_on_versioned_id_and_versioned_type