public.scheduledata

public.scheduledata

Columns

Name Type Default Nullable Children Parents Comment
keyid varchar(100) false
userid varchar(50) true Agent GUID
buid varchar(50) true Business Unit GUID
scheduleid varchar(50) true Schedule GUID
shiftid integer true Shift GUID
shiftstartdate timestamp without time zone true Shift Start Date (UTC)
shiftstartdateltc timestamp without time zone true
shiftlengthtime integer true Shift Length (Mins)
activitystartdate timestamp without time zone true Activity Start Date (UTC)
activitystartdateltc timestamp without time zone true Activity Start Date (LTC)
activitylengthtime integer true Activity Length (Mins)
activitydescription varchar(200) true Activity Description
activitycodeid varchar(50) true Activity GUID
activitypaid bit(1) true Activity is Paid Work? (True/False)
shiftmanuallyeditted bit(1) true Shift Manually Editted (True/False)
updated timestamp without time zone true Date Row Updated (UTC)

Constraints

Name Type Definition
scheduledata_pkey PRIMARY KEY PRIMARY KEY (keyid)

Indexes

Name Definition
scheduledata_pkey CREATE UNIQUE INDEX scheduledata_pkey ON public.scheduledata USING btree (keyid)