create table trackings ( ip_address text not null, origin text references client_origins not null, user_agent text, referrer text ); comment on table trackings is ' Series of attributes for tracking purposes '; comment on column trackings.origin is ' Client originating the order request essentially any of the values of the client_origin enum. '; comment on column trackings.referrer is ' Optional page referrer. ';