<<<<<<< HEAD
DROP TABLE IF EXISTS wnprc.on_call_calendars;
CREATE TABLE wnprc.on_call_calendars
(
    calendar_id             VARCHAR(100),
    calendar_type           VARCHAR(100),
    display_name            VARCHAR(500),
    api_action              VARCHAR(200),
    folder_id               VARCHAR(200),
    show_by_default         BOOLEAN DEFAULT TRUE,
    requires_authorization  BOOLEAN DEFAULT FALSE,
    default_bg_color        VARCHAR(20),
    authorized_groups       VARCHAR(500),

    -- Default fields for LabKey.
    container         entityid NOT NULL,
    createdby         userid,
    created           TIMESTAMP,
    modifiedby        userid,
    modified          TIMESTAMP,

    CONSTRAINT pk_on_call_calendar_id PRIMARY KEY (calendar_id)
);

DROP TABLE IF EXISTS wnprc.on_call_calendars;
CREATE TABLE wnprc.on_call_calendars
(
    calendar_id             VARCHAR(100),
    calendar_type           VARCHAR(100),
    display_name            VARCHAR(500),
    api_action              VARCHAR(200),
    folder_id               VARCHAR(200),
    show_by_default         BOOLEAN DEFAULT TRUE,
    requires_authorization  BOOLEAN DEFAULT FALSE,
    default_bg_color        VARCHAR(20),
    authorized_groups       VARCHAR(500),

    -- Default fields for LabKey.
    container         entityid NOT NULL,
    createdby         userid,
    created           TIMESTAMP,
    modifiedby        userid,
    modified          TIMESTAMP,

    CONSTRAINT pk_on_call_calendar_id PRIMARY KEY (calendar_id)
);

Remove debris from merge conflict
Remove debris from merge conflict
