Table discourse.public.api_keys 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('api_keys_id_seq'::regclass)
key varchar 64
user_id int4 10  √  null
created_by_id int4 10  √  null
created_at timestamp 29,6
updated_at timestamp 29,6
allowed_ips _inet 2147483647  √  null
hidden bool 1 false

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

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc api_keys_pkey  
key Performance Asc index_api_keys_on_key  
user_id Must be unique Asc index_api_keys_on_user_id This unique column is also nullable