public.userpresencedetaileddata

public.userpresencedetaileddata

Description

User Presence Detailed Data

Columns

Name Type Default Nullable Children Parents Comment
keyid varchar(255) false Primary Key
userid varchar(50) true Agent GUID
starttime timestamp without time zone false Start Time (UTC)
starttimeltc timestamp without time zone true Start Time (LTC)
endtime timestamp without time zone true End Time (UTC)
endtimeltc timestamp without time zone true End Time (LTC)
systempresence varchar(50) true System Presence GUID
orgpresence varchar(50) true Organisation Presence GUID
routingstatus varchar(50) true Routing Status (GUID)
timeinstate numeric(20,2) true Time in State (Secs)
updated timestamp without time zone true Date Row Updated (UTC)

Constraints

Name Type Definition
userpresencedetaileddata_pkey PRIMARY KEY PRIMARY KEY (keyid, starttime)

Indexes

Name Definition
userpresencedetaileddata_pkey CREATE UNIQUE INDEX userpresencedetaileddata_pkey ON ONLY public.userpresencedetaileddata USING btree (keyid, starttime)
userpresencedetend CREATE INDEX userpresencedetend ON ONLY public.userpresencedetaileddata USING btree (endtime)
userpresencedetendltc CREATE INDEX userpresencedetendltc ON ONLY public.userpresencedetaileddata USING btree (endtimeltc)
userpresencedetorgpres CREATE INDEX userpresencedetorgpres ON ONLY public.userpresencedetaileddata USING btree (orgpresence)
userpresencedetrouting CREATE INDEX userpresencedetrouting ON ONLY public.userpresencedetaileddata USING btree (routingstatus)
userpresencedetstart CREATE INDEX userpresencedetstart ON ONLY public.userpresencedetaileddata USING btree (starttime)
userpresencedetstartltc CREATE INDEX userpresencedetstartltc ON ONLY public.userpresencedetaileddata USING btree (starttimeltc)
userpresencedetsyspres CREATE INDEX userpresencedetsyspres ON ONLY public.userpresencedetaileddata USING btree (systempresence)
userpresencedetuser CREATE INDEX userpresencedetuser ON ONLY public.userpresencedetaileddata USING btree (userid)

    • Related Articles

    • public.vwuserpresencedetaileddata

      Description See UserPresenceDetailedData - Expands all the GUIDs with their lookups(Detailed) Table Definition CREATE VIEW vwuserpresencedetaileddata AS ( SELECT upd.keyid, upd.userid, ud.name AS agentname, ud.managerid, ud.divisionid, ...
    • public.participantattributesdynamic

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false conversationid varchar(50) false conversationstartdate timestamp without time zone false conversationstartdateltc timestamp without time zone true ...
    • public.evalquestiondata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false evaluationid varchar(50) false evaluationformid varchar(50) false questiongroupid varchar(50) true questionid varchar(50) true answerid varchar(50) true ...
    • public.userinteractionpresencedetaileddata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false userid varchar(50) true starttime timestamp without time zone false starttimeltc timestamp without time zone true endtime timestamp without time zone ...
    • public.userpresencedata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false id varchar(50) true userid varchar(50) true startdate timestamp without time zone false startdateltc timestamp without time zone true timetype ...