--
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements.  See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership.  The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may not use this file except in compliance
-- with the License.  You may obtain a copy of the License at
-- 
--   http://www.apache.org/licenses/LICENSE-2.0
-- 
-- Unless required by applicable law or agreed to in writing,
-- software distributed under the License is distributed on an
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-- KIND, either express or implied.  See the License for the
-- specific language governing permissions and limitations
-- under the License.
--

--
-- TOC entry 217 (class 1259 OID 16390)
-- Name: accesspolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.accesspolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    jsonconf text
);


--
-- TOC entry 218 (class 1259 OID 16397)
-- Name: accesstoken; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.accesstoken (
    id character varying(255) NOT NULL,
    authorities bytea,
    body text,
    expirationtime timestamp with time zone,
    owner character varying(255)
);


--
-- TOC entry 219 (class 1259 OID 16406)
-- Name: accountpolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.accountpolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    maxauthenticationattempts integer,
    propagatesuspension integer
);


--
-- TOC entry 220 (class 1259 OID 16411)
-- Name: accountpolicyrule; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.accountpolicyrule (
    policy_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 352 (class 1259 OID 18316)
-- Name: act_evt_log; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_evt_log (
    log_nr_ integer NOT NULL,
    type_ character varying(64),
    proc_def_id_ character varying(64),
    proc_inst_id_ character varying(64),
    execution_id_ character varying(64),
    task_id_ character varying(64),
    time_stamp_ timestamp without time zone NOT NULL,
    user_id_ character varying(255),
    data_ bytea,
    lock_owner_ character varying(255),
    lock_time_ timestamp without time zone,
    is_processed_ smallint DEFAULT 0
);


--
-- TOC entry 351 (class 1259 OID 18315)
-- Name: act_evt_log_log_nr__seq; Type: SEQUENCE; Schema: public; Owner: -
--

CREATE SEQUENCE public.act_evt_log_log_nr__seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


--
-- TOC entry 4932 (class 0 OID 0)
-- Dependencies: 351
-- Name: act_evt_log_log_nr__seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--

ALTER SEQUENCE public.act_evt_log_log_nr__seq OWNED BY public.act_evt_log.log_nr_;


--
-- TOC entry 327 (class 1259 OID 18006)
-- Name: act_ge_bytearray; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ge_bytearray (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    name_ character varying(255),
    deployment_id_ character varying(64),
    bytes_ bytea,
    generated_ boolean
);


--
-- TOC entry 326 (class 1259 OID 18001)
-- Name: act_ge_property; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ge_property (
    name_ character varying(64) NOT NULL,
    value_ character varying(300),
    rev_ integer
);


--
-- TOC entry 356 (class 1259 OID 18550)
-- Name: act_hi_actinst; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_actinst (
    id_ character varying(64) NOT NULL,
    rev_ integer DEFAULT 1,
    proc_def_id_ character varying(64) NOT NULL,
    proc_inst_id_ character varying(64) NOT NULL,
    execution_id_ character varying(64) NOT NULL,
    act_id_ character varying(255) NOT NULL,
    task_id_ character varying(64),
    call_proc_inst_id_ character varying(64),
    act_name_ character varying(255),
    act_type_ character varying(255) NOT NULL,
    assignee_ character varying(255),
    completed_by_ character varying(255),
    start_time_ timestamp without time zone NOT NULL,
    end_time_ timestamp without time zone,
    transaction_order_ integer,
    duration_ bigint,
    delete_reason_ character varying(4000),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 359 (class 1259 OID 18573)
-- Name: act_hi_attachment; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_attachment (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    user_id_ character varying(255),
    name_ character varying(255),
    description_ character varying(4000),
    type_ character varying(255),
    task_id_ character varying(64),
    proc_inst_id_ character varying(64),
    url_ character varying(4000),
    content_id_ character varying(64),
    time_ timestamp without time zone
);


--
-- TOC entry 358 (class 1259 OID 18566)
-- Name: act_hi_comment; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_comment (
    id_ character varying(64) NOT NULL,
    type_ character varying(255),
    time_ timestamp without time zone NOT NULL,
    user_id_ character varying(255),
    task_id_ character varying(64),
    proc_inst_id_ character varying(64),
    action_ character varying(255),
    message_ character varying(4000),
    full_msg_ bytea
);


--
-- TOC entry 357 (class 1259 OID 18559)
-- Name: act_hi_detail; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_detail (
    id_ character varying(64) NOT NULL,
    type_ character varying(255) NOT NULL,
    proc_inst_id_ character varying(64),
    execution_id_ character varying(64),
    task_id_ character varying(64),
    act_inst_id_ character varying(64),
    name_ character varying(255) NOT NULL,
    var_type_ character varying(64),
    rev_ integer,
    time_ timestamp without time zone NOT NULL,
    bytearray_id_ character varying(64),
    double_ double precision,
    long_ bigint,
    text_ character varying(4000),
    text2_ character varying(4000)
);


--
-- TOC entry 329 (class 1259 OID 18024)
-- Name: act_hi_entitylink; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_entitylink (
    id_ character varying(64) NOT NULL,
    link_type_ character varying(255),
    create_time_ timestamp without time zone,
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    parent_element_id_ character varying(255),
    ref_scope_id_ character varying(255),
    ref_scope_type_ character varying(255),
    ref_scope_definition_id_ character varying(255),
    root_scope_id_ character varying(255),
    root_scope_type_ character varying(255),
    hierarchy_type_ character varying(255)
);


--
-- TOC entry 331 (class 1259 OID 18047)
-- Name: act_hi_identitylink; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_identitylink (
    id_ character varying(64) NOT NULL,
    group_id_ character varying(255),
    type_ character varying(255),
    user_id_ character varying(255),
    task_id_ character varying(64),
    create_time_ timestamp without time zone,
    proc_inst_id_ character varying(64),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255)
);


--
-- TOC entry 355 (class 1259 OID 18539)
-- Name: act_hi_procinst; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_procinst (
    id_ character varying(64) NOT NULL,
    rev_ integer DEFAULT 1,
    proc_inst_id_ character varying(64) NOT NULL,
    business_key_ character varying(255),
    proc_def_id_ character varying(64) NOT NULL,
    start_time_ timestamp without time zone NOT NULL,
    end_time_ timestamp without time zone,
    duration_ bigint,
    start_user_id_ character varying(255),
    start_act_id_ character varying(255),
    end_act_id_ character varying(255),
    super_process_instance_id_ character varying(64),
    delete_reason_ character varying(4000),
    tenant_id_ character varying(255) DEFAULT ''::character varying,
    name_ character varying(255),
    callback_id_ character varying(255),
    callback_type_ character varying(255),
    reference_id_ character varying(255),
    reference_type_ character varying(255),
    propagated_stage_inst_id_ character varying(255),
    business_status_ character varying(255)
);


--
-- TOC entry 341 (class 1259 OID 18221)
-- Name: act_hi_taskinst; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_taskinst (
    id_ character varying(64) NOT NULL,
    rev_ integer DEFAULT 1,
    proc_def_id_ character varying(64),
    task_def_id_ character varying(64),
    task_def_key_ character varying(255),
    proc_inst_id_ character varying(64),
    execution_id_ character varying(64),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    propagated_stage_inst_id_ character varying(255),
    state_ character varying(255),
    name_ character varying(255),
    parent_task_id_ character varying(64),
    description_ character varying(4000),
    owner_ character varying(255),
    assignee_ character varying(255),
    start_time_ timestamp without time zone NOT NULL,
    in_progress_time_ timestamp without time zone,
    in_progress_started_by_ character varying(255),
    claim_time_ timestamp without time zone,
    claimed_by_ character varying(255),
    suspended_time_ timestamp without time zone,
    suspended_by_ character varying(255),
    end_time_ timestamp without time zone,
    completed_by_ character varying(255),
    duration_ bigint,
    delete_reason_ character varying(4000),
    priority_ integer,
    in_progress_due_date_ timestamp without time zone,
    due_date_ timestamp without time zone,
    form_key_ character varying(255),
    category_ character varying(255),
    tenant_id_ character varying(255) DEFAULT ''::character varying,
    last_updated_time_ timestamp without time zone
);


--
-- TOC entry 343 (class 1259 OID 18231)
-- Name: act_hi_tsk_log; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_tsk_log (
    id_ integer NOT NULL,
    type_ character varying(64),
    task_id_ character varying(64) NOT NULL,
    time_stamp_ timestamp without time zone NOT NULL,
    user_id_ character varying(255),
    data_ character varying(4000),
    execution_id_ character varying(64),
    proc_inst_id_ character varying(64),
    proc_def_id_ character varying(64),
    scope_id_ character varying(255),
    scope_definition_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 342 (class 1259 OID 18230)
-- Name: act_hi_tsk_log_id__seq; Type: SEQUENCE; Schema: public; Owner: -
--

CREATE SEQUENCE public.act_hi_tsk_log_id__seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


--
-- TOC entry 4933 (class 0 OID 0)
-- Dependencies: 342
-- Name: act_hi_tsk_log_id__seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--

ALTER SEQUENCE public.act_hi_tsk_log_id__seq OWNED BY public.act_hi_tsk_log.id_;


--
-- TOC entry 345 (class 1259 OID 18259)
-- Name: act_hi_varinst; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_hi_varinst (
    id_ character varying(64) NOT NULL,
    rev_ integer DEFAULT 1,
    proc_inst_id_ character varying(64),
    execution_id_ character varying(64),
    task_id_ character varying(64),
    name_ character varying(255) NOT NULL,
    var_type_ character varying(100),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    bytearray_id_ character varying(64),
    double_ double precision,
    long_ bigint,
    text_ character varying(4000),
    text2_ character varying(4000),
    meta_info_ character varying(4000),
    create_time_ timestamp without time zone,
    last_updated_time_ timestamp without time zone
);


--
-- TOC entry 361 (class 1259 OID 18603)
-- Name: act_id_bytearray; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_bytearray (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    name_ character varying(255),
    bytes_ bytea
);


--
-- TOC entry 362 (class 1259 OID 18610)
-- Name: act_id_group; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_group (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    name_ character varying(255),
    type_ character varying(255)
);


--
-- TOC entry 365 (class 1259 OID 18630)
-- Name: act_id_info; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_info (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    user_id_ character varying(64),
    type_ character varying(64),
    key_ character varying(255),
    value_ character varying(255),
    password_ bytea,
    parent_id_ character varying(255)
);


--
-- TOC entry 363 (class 1259 OID 18617)
-- Name: act_id_membership; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_membership (
    user_id_ character varying(64) NOT NULL,
    group_id_ character varying(64) NOT NULL
);


--
-- TOC entry 367 (class 1259 OID 18644)
-- Name: act_id_priv; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_priv (
    id_ character varying(64) NOT NULL,
    name_ character varying(255) NOT NULL
);


--
-- TOC entry 368 (class 1259 OID 18649)
-- Name: act_id_priv_mapping; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_priv_mapping (
    id_ character varying(64) NOT NULL,
    priv_id_ character varying(64) NOT NULL,
    user_id_ character varying(255),
    group_id_ character varying(255)
);


--
-- TOC entry 360 (class 1259 OID 18598)
-- Name: act_id_property; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_property (
    name_ character varying(64) NOT NULL,
    value_ character varying(300),
    rev_ integer
);


--
-- TOC entry 366 (class 1259 OID 18637)
-- Name: act_id_token; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_token (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    token_value_ character varying(255),
    token_date_ timestamp without time zone,
    ip_address_ character varying(255),
    user_agent_ character varying(255),
    user_id_ character varying(255),
    token_data_ character varying(2000)
);


--
-- TOC entry 364 (class 1259 OID 18622)
-- Name: act_id_user; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_id_user (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    first_ character varying(255),
    last_ character varying(255),
    display_name_ character varying(255),
    email_ character varying(255),
    pwd_ character varying(255),
    picture_id_ character varying(64),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 353 (class 1259 OID 18325)
-- Name: act_procdef_info; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_procdef_info (
    id_ character varying(64) NOT NULL,
    proc_def_id_ character varying(64) NOT NULL,
    rev_ integer,
    info_json_id_ character varying(64)
);


--
-- TOC entry 347 (class 1259 OID 18282)
-- Name: act_re_deployment; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_re_deployment (
    id_ character varying(64) NOT NULL,
    name_ character varying(255),
    category_ character varying(255),
    key_ character varying(255),
    tenant_id_ character varying(255) DEFAULT ''::character varying,
    deploy_time_ timestamp without time zone,
    derived_from_ character varying(64),
    derived_from_root_ character varying(64),
    parent_deployment_id_ character varying(255),
    engine_version_ character varying(255)
);


--
-- TOC entry 348 (class 1259 OID 18290)
-- Name: act_re_model; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_re_model (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    name_ character varying(255),
    key_ character varying(255),
    category_ character varying(255),
    create_time_ timestamp without time zone,
    last_update_time_ timestamp without time zone,
    version_ integer,
    meta_info_ character varying(4000),
    deployment_id_ character varying(64),
    editor_source_value_id_ character varying(64),
    editor_source_extra_value_id_ character varying(64),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 350 (class 1259 OID 18306)
-- Name: act_re_procdef; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_re_procdef (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    category_ character varying(255),
    name_ character varying(255),
    key_ character varying(255) NOT NULL,
    version_ integer NOT NULL,
    deployment_id_ character varying(64),
    resource_name_ character varying(4000),
    dgrm_resource_name_ character varying(4000),
    description_ character varying(4000),
    has_start_form_key_ boolean,
    has_graphical_notation_ boolean,
    suspension_state_ integer,
    tenant_id_ character varying(255) DEFAULT ''::character varying,
    derived_from_ character varying(64),
    derived_from_root_ character varying(64),
    derived_version_ integer DEFAULT 0 NOT NULL,
    engine_version_ character varying(255)
);


--
-- TOC entry 354 (class 1259 OID 18330)
-- Name: act_ru_actinst; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_actinst (
    id_ character varying(64) NOT NULL,
    rev_ integer DEFAULT 1,
    proc_def_id_ character varying(64) NOT NULL,
    proc_inst_id_ character varying(64) NOT NULL,
    execution_id_ character varying(64) NOT NULL,
    act_id_ character varying(255) NOT NULL,
    task_id_ character varying(64),
    call_proc_inst_id_ character varying(64),
    act_name_ character varying(255),
    act_type_ character varying(255) NOT NULL,
    assignee_ character varying(255),
    completed_by_ character varying(255),
    start_time_ timestamp without time zone NOT NULL,
    end_time_ timestamp without time zone,
    duration_ bigint,
    transaction_order_ integer,
    delete_reason_ character varying(4000),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 335 (class 1259 OID 18082)
-- Name: act_ru_deadletter_job; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_deadletter_job (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    category_ character varying(255),
    type_ character varying(255) NOT NULL,
    exclusive_ boolean,
    execution_id_ character varying(64),
    process_instance_id_ character varying(64),
    proc_def_id_ character varying(64),
    element_id_ character varying(255),
    element_name_ character varying(255),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    correlation_id_ character varying(255),
    exception_stack_id_ character varying(64),
    exception_msg_ character varying(4000),
    duedate_ timestamp without time zone,
    repeat_ character varying(255),
    handler_type_ character varying(255),
    handler_cfg_ character varying(4000),
    custom_values_id_ character varying(64),
    create_time_ timestamp without time zone,
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 328 (class 1259 OID 18013)
-- Name: act_ru_entitylink; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_entitylink (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    create_time_ timestamp without time zone,
    link_type_ character varying(255),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    parent_element_id_ character varying(255),
    ref_scope_id_ character varying(255),
    ref_scope_type_ character varying(255),
    ref_scope_definition_id_ character varying(255),
    root_scope_id_ character varying(255),
    root_scope_type_ character varying(255),
    hierarchy_type_ character varying(255)
);


--
-- TOC entry 346 (class 1259 OID 18270)
-- Name: act_ru_event_subscr; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_event_subscr (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    event_type_ character varying(255) NOT NULL,
    event_name_ character varying(255),
    execution_id_ character varying(64),
    proc_inst_id_ character varying(64),
    activity_id_ character varying(64),
    configuration_ character varying(255),
    created_ timestamp without time zone NOT NULL,
    proc_def_id_ character varying(64),
    sub_scope_id_ character varying(64),
    scope_id_ character varying(64),
    scope_definition_id_ character varying(64),
    scope_definition_key_ character varying(255),
    scope_type_ character varying(64),
    lock_time_ timestamp without time zone,
    lock_owner_ character varying(255),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 349 (class 1259 OID 18298)
-- Name: act_ru_execution; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_execution (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    proc_inst_id_ character varying(64),
    business_key_ character varying(255),
    parent_id_ character varying(64),
    proc_def_id_ character varying(64),
    super_exec_ character varying(64),
    root_proc_inst_id_ character varying(64),
    act_id_ character varying(255),
    is_active_ boolean,
    is_concurrent_ boolean,
    is_scope_ boolean,
    is_event_scope_ boolean,
    is_mi_root_ boolean,
    suspension_state_ integer,
    cached_ent_state_ integer,
    tenant_id_ character varying(255) DEFAULT ''::character varying,
    name_ character varying(255),
    start_act_id_ character varying(255),
    start_time_ timestamp without time zone,
    start_user_id_ character varying(255),
    lock_time_ timestamp without time zone,
    lock_owner_ character varying(255),
    is_count_enabled_ boolean,
    evt_subscr_count_ integer,
    task_count_ integer,
    job_count_ integer,
    timer_job_count_ integer,
    susp_job_count_ integer,
    deadletter_job_count_ integer,
    external_worker_job_count_ integer,
    var_count_ integer,
    id_link_count_ integer,
    callback_id_ character varying(255),
    callback_type_ character varying(255),
    reference_id_ character varying(255),
    reference_type_ character varying(255),
    propagated_stage_inst_id_ character varying(255),
    business_status_ character varying(255)
);


--
-- TOC entry 337 (class 1259 OID 18098)
-- Name: act_ru_external_job; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_external_job (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    category_ character varying(255),
    type_ character varying(255) NOT NULL,
    lock_exp_time_ timestamp without time zone,
    lock_owner_ character varying(255),
    exclusive_ boolean,
    execution_id_ character varying(64),
    process_instance_id_ character varying(64),
    proc_def_id_ character varying(64),
    element_id_ character varying(255),
    element_name_ character varying(255),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    correlation_id_ character varying(255),
    retries_ integer,
    exception_stack_id_ character varying(64),
    exception_msg_ character varying(4000),
    duedate_ timestamp without time zone,
    repeat_ character varying(255),
    handler_type_ character varying(255),
    handler_cfg_ character varying(4000),
    custom_values_id_ character varying(64),
    create_time_ timestamp without time zone,
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 336 (class 1259 OID 18090)
-- Name: act_ru_history_job; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_history_job (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    lock_exp_time_ timestamp without time zone,
    lock_owner_ character varying(255),
    retries_ integer,
    exception_stack_id_ character varying(64),
    exception_msg_ character varying(4000),
    handler_type_ character varying(255),
    handler_cfg_ character varying(4000),
    custom_values_id_ character varying(64),
    adv_handler_cfg_id_ character varying(64),
    create_time_ timestamp without time zone,
    scope_type_ character varying(255),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 330 (class 1259 OID 18035)
-- Name: act_ru_identitylink; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_identitylink (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    group_id_ character varying(255),
    type_ character varying(255),
    user_id_ character varying(255),
    task_id_ character varying(64),
    proc_inst_id_ character varying(64),
    proc_def_id_ character varying(64),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255)
);


--
-- TOC entry 332 (class 1259 OID 18058)
-- Name: act_ru_job; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_job (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    category_ character varying(255),
    type_ character varying(255) NOT NULL,
    lock_exp_time_ timestamp without time zone,
    lock_owner_ character varying(255),
    exclusive_ boolean,
    execution_id_ character varying(64),
    process_instance_id_ character varying(64),
    proc_def_id_ character varying(64),
    element_id_ character varying(255),
    element_name_ character varying(255),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    correlation_id_ character varying(255),
    retries_ integer,
    exception_stack_id_ character varying(64),
    exception_msg_ character varying(4000),
    duedate_ timestamp without time zone,
    repeat_ character varying(255),
    handler_type_ character varying(255),
    handler_cfg_ character varying(4000),
    custom_values_id_ character varying(64),
    create_time_ timestamp without time zone,
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 334 (class 1259 OID 18074)
-- Name: act_ru_suspended_job; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_suspended_job (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    category_ character varying(255),
    type_ character varying(255) NOT NULL,
    exclusive_ boolean,
    execution_id_ character varying(64),
    process_instance_id_ character varying(64),
    proc_def_id_ character varying(64),
    element_id_ character varying(255),
    element_name_ character varying(255),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    correlation_id_ character varying(255),
    retries_ integer,
    exception_stack_id_ character varying(64),
    exception_msg_ character varying(4000),
    duedate_ timestamp without time zone,
    repeat_ character varying(255),
    handler_type_ character varying(255),
    handler_cfg_ character varying(4000),
    custom_values_id_ character varying(64),
    create_time_ timestamp without time zone,
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 340 (class 1259 OID 18209)
-- Name: act_ru_task; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_task (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    execution_id_ character varying(64),
    proc_inst_id_ character varying(64),
    proc_def_id_ character varying(64),
    task_def_id_ character varying(64),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    propagated_stage_inst_id_ character varying(255),
    state_ character varying(255),
    name_ character varying(255),
    parent_task_id_ character varying(64),
    description_ character varying(4000),
    task_def_key_ character varying(255),
    owner_ character varying(255),
    assignee_ character varying(255),
    delegation_ character varying(64),
    priority_ integer,
    create_time_ timestamp without time zone,
    in_progress_time_ timestamp without time zone,
    in_progress_started_by_ character varying(255),
    claim_time_ timestamp without time zone,
    claimed_by_ character varying(255),
    suspended_time_ timestamp without time zone,
    suspended_by_ character varying(255),
    in_progress_due_date_ timestamp without time zone,
    due_date_ timestamp without time zone,
    category_ character varying(255),
    suspension_state_ integer,
    tenant_id_ character varying(255) DEFAULT ''::character varying,
    form_key_ character varying(255),
    is_count_enabled_ boolean,
    var_count_ integer,
    id_link_count_ integer,
    sub_task_count_ integer
);


--
-- TOC entry 333 (class 1259 OID 18066)
-- Name: act_ru_timer_job; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_timer_job (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    category_ character varying(255),
    type_ character varying(255) NOT NULL,
    lock_exp_time_ timestamp without time zone,
    lock_owner_ character varying(255),
    exclusive_ boolean,
    execution_id_ character varying(64),
    process_instance_id_ character varying(64),
    proc_def_id_ character varying(64),
    element_id_ character varying(255),
    element_name_ character varying(255),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    scope_definition_id_ character varying(255),
    correlation_id_ character varying(255),
    retries_ integer,
    exception_stack_id_ character varying(64),
    exception_msg_ character varying(4000),
    duedate_ timestamp without time zone,
    repeat_ character varying(255),
    handler_type_ character varying(255),
    handler_cfg_ character varying(4000),
    custom_values_id_ character varying(64),
    create_time_ timestamp without time zone,
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 344 (class 1259 OID 18244)
-- Name: act_ru_variable; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.act_ru_variable (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    type_ character varying(255) NOT NULL,
    name_ character varying(255) NOT NULL,
    execution_id_ character varying(64),
    proc_inst_id_ character varying(64),
    task_id_ character varying(64),
    scope_id_ character varying(255),
    sub_scope_id_ character varying(255),
    scope_type_ character varying(255),
    bytearray_id_ character varying(64),
    double_ double precision,
    long_ bigint,
    text_ character varying(4000),
    text2_ character varying(4000),
    meta_info_ character varying(4000)
);


--
-- TOC entry 369 (class 1259 OID 18681)
-- Name: adyngroupmembers; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.adyngroupmembers (
    anytype_id character varying(255),
    any_id character(36),
    group_id character(36)
);


--
-- TOC entry 221 (class 1259 OID 16416)
-- Name: adyngroupmembership; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.adyngroupmembership (
    id character varying(36) NOT NULL,
    fiql character varying(255),
    group_id character varying(36),
    anytype_id character varying(255)
);


--
-- TOC entry 222 (class 1259 OID 16423)
-- Name: amembership; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.amembership (
    id character varying(36) NOT NULL,
    anyobject_id character varying(36),
    group_id character varying(36)
);


--
-- TOC entry 223 (class 1259 OID 16428)
-- Name: anyabout; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anyabout (
    id character varying(36) NOT NULL,
    anytype_filter text,
    anytype_id character varying(255),
    notification_id character varying(36)
);


--
-- TOC entry 224 (class 1259 OID 16437)
-- Name: anyobject; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anyobject (
    id character varying(36) NOT NULL,
    creationcontext character varying(255),
    creationdate timestamp with time zone,
    creator character varying(255),
    lastchangecontext character varying(255),
    lastchangedate timestamp with time zone,
    lastmodifier character varying(255),
    status character varying(255),
    name character varying(255),
    plainattrs jsonb,
    realm_id character varying(36),
    type_id character varying(255)
);


--
-- TOC entry 225 (class 1259 OID 16446)
-- Name: anyobject_anytypeclass; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anyobject_anytypeclass (
    anyobject_id character varying(36),
    anytypeclass_id character varying(255)
);


--
-- TOC entry 226 (class 1259 OID 16451)
-- Name: anyobject_externalresource; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anyobject_externalresource (
    anyobject_id character varying(36),
    resource_id character varying(255)
);


--
-- TOC entry 308 (class 1259 OID 17049)
-- Name: syncopegroup; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopegroup (
    id character varying(36) NOT NULL,
    creationcontext character varying(255),
    creationdate timestamp with time zone,
    creator character varying(255),
    lastchangecontext character varying(255),
    lastchangedate timestamp with time zone,
    lastmodifier character varying(255),
    status character varying(255),
    name character varying(255),
    plainattrs jsonb,
    realm_id character varying(36),
    groupowner_id character varying(36),
    userowner_id character varying(36)
);


--
-- TOC entry 373 (class 1259 OID 18701)
-- Name: anyobject_search_amembership; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.anyobject_search_amembership AS
 SELECT m.anyobject_id AS any_id,
    g.id AS group_id,
    g.name AS group_name
   FROM public.amembership m,
    public.syncopegroup g
  WHERE ((m.group_id)::text = (g.id)::text);


--
-- TOC entry 233 (class 1259 OID 16498)
-- Name: arelationship; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.arelationship (
    id character varying(36) NOT NULL,
    left_anyobject_id character varying(36),
    right_anyobject_id character varying(36),
    type_id character varying(255)
);


--
-- TOC entry 374 (class 1259 OID 18705)
-- Name: anyobject_search_arelationship; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.anyobject_search_arelationship AS
 SELECT left_anyobject_id AS any_id,
    right_anyobject_id AS right_any_id,
    type_id AS type
   FROM public.arelationship m;


--
-- TOC entry 375 (class 1259 OID 18709)
-- Name: anyobject_search_auxclass; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.anyobject_search_auxclass AS
 SELECT anyobject_id AS any_id,
    anytypeclass_id
   FROM public.anyobject_anytypeclass st;


--
-- TOC entry 310 (class 1259 OID 17063)
-- Name: syncopegroup_externalresource; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopegroup_externalresource (
    group_id character varying(36),
    resource_id character varying(255)
);


--
-- TOC entry 376 (class 1259 OID 18713)
-- Name: anyobject_search_group_res; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.anyobject_search_group_res AS
 SELECT m.anyobject_id AS any_id,
    st.resource_id
   FROM public.amembership m,
    public.syncopegroup r,
    public.syncopegroup_externalresource st
  WHERE (((m.group_id)::text = (r.id)::text) AND ((st.group_id)::text = (r.id)::text));


--
-- TOC entry 377 (class 1259 OID 18717)
-- Name: anyobject_search_resource; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.anyobject_search_resource AS
 SELECT anyobject_id AS any_id,
    resource_id
   FROM public.anyobject_externalresource st;


--
-- TOC entry 227 (class 1259 OID 16456)
-- Name: anytemplatelivesynctask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anytemplatelivesynctask (
    id character varying(36) NOT NULL,
    template text,
    livesynctask_id character varying(36),
    anytype_id character varying(255)
);


--
-- TOC entry 228 (class 1259 OID 16465)
-- Name: anytemplatepulltask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anytemplatepulltask (
    id character varying(36) NOT NULL,
    template text,
    anytype_id character varying(255),
    pulltask_id character varying(36)
);


--
-- TOC entry 229 (class 1259 OID 16474)
-- Name: anytemplaterealm; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anytemplaterealm (
    id character varying(36) NOT NULL,
    template text,
    realm_id character varying(36),
    anytype_id character varying(255)
);


--
-- TOC entry 230 (class 1259 OID 16483)
-- Name: anytype; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anytype (
    id character varying(255) NOT NULL,
    kind character varying(20)
);


--
-- TOC entry 232 (class 1259 OID 16493)
-- Name: anytype_anytypeclass; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anytype_anytypeclass (
    anytype_id character varying(255),
    anytypeclass_id character varying(255)
);


--
-- TOC entry 231 (class 1259 OID 16488)
-- Name: anytypeclass; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.anytypeclass (
    id character varying(255) NOT NULL
);


--
-- TOC entry 234 (class 1259 OID 16505)
-- Name: attrreleasepolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.attrreleasepolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    arporder integer,
    jsonconf text,
    status integer
);


--
-- TOC entry 235 (class 1259 OID 16512)
-- Name: attrrepo; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.attrrepo (
    id character varying(255) NOT NULL,
    attrrepoorder integer,
    attrrepostate character varying(20),
    description character varying(255),
    items text,
    jsonconf text
);


--
-- TOC entry 236 (class 1259 OID 16519)
-- Name: auditconf; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.auditconf (
    id character varying(255) NOT NULL,
    active integer
);


--
-- TOC entry 237 (class 1259 OID 16524)
-- Name: auditevent; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.auditevent (
    id character varying(36) NOT NULL,
    before_value text,
    inputs text,
    opevent character varying(255),
    output text,
    throwable text,
    event_date timestamp with time zone NOT NULL,
    who character varying(255)
);


--
-- TOC entry 238 (class 1259 OID 16531)
-- Name: authmodule; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.authmodule (
    id character varying(255) NOT NULL,
    authmoduleorder integer,
    authmodulestate character varying(20),
    description character varying(255),
    items text,
    jsonconf text
);


--
-- TOC entry 239 (class 1259 OID 16538)
-- Name: authpolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.authpolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    jsonconf text
);


--
-- TOC entry 240 (class 1259 OID 16545)
-- Name: authprofile; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.authprofile (
    id character varying(36) NOT NULL,
    googlemfaauthaccounts text,
    googlemfaauthtokens text,
    impersonationaccounts text,
    mfatrusteddevices text,
    owner character varying(255) NOT NULL,
    webauthndevicecredentials text
);


--
-- TOC entry 241 (class 1259 OID 16554)
-- Name: casspclientapp; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.casspclientapp (
    id character varying(36) NOT NULL,
    clientappid bigint NOT NULL,
    description character varying(255),
    evaluationorder integer,
    informationurl character varying(255),
    logo character varying(255),
    logouttype character varying(20),
    name character varying(255) NOT NULL,
    privacyurl character varying(255),
    properties text,
    theme character varying(255),
    usernameattributeproviderconf text,
    serviceid character varying(255) NOT NULL,
    accesspolicy_id character varying(36),
    attrreleasepolicy_id character varying(36),
    authpolicy_id character varying(36),
    realm_id character varying(36),
    ticketexpirationpolicy_id character varying(36)
);


--
-- TOC entry 242 (class 1259 OID 16567)
-- Name: confparam; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.confparam (
    id character varying(255) NOT NULL,
    jsonvalue text
);


--
-- TOC entry 243 (class 1259 OID 16574)
-- Name: conninstance; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.conninstance (
    id character varying(36) NOT NULL,
    bundlename character varying(255),
    capabilities text,
    connrequesttimeout integer,
    connectorname character varying(255),
    displayname character varying(255),
    jsonconf text,
    location character varying(255),
    poolconf character varying(255),
    version character varying(255),
    adminrealm_id character varying(36)
);


--
-- TOC entry 244 (class 1259 OID 16583)
-- Name: delegation; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.delegation (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    startdate timestamp with time zone NOT NULL,
    delegated_id character varying(36),
    delegating_id character varying(36)
);


--
-- TOC entry 245 (class 1259 OID 16590)
-- Name: delegation_syncoperole; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.delegation_syncoperole (
    jpadelegation_id character varying(36),
    roles_id character varying(255)
);


--
-- TOC entry 246 (class 1259 OID 16593)
-- Name: derschema; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.derschema (
    id character varying(255) NOT NULL,
    expression character varying(255),
    anytypeclass_id character varying(255)
);


--
-- TOC entry 247 (class 1259 OID 16600)
-- Name: dynrealm; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.dynrealm (
    id character varying(255) NOT NULL
);


--
-- TOC entry 370 (class 1259 OID 18686)
-- Name: dynrealmmembers; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.dynrealmmembers (
    any_id character(36),
    dynrealm_id character varying(255)
);


--
-- TOC entry 248 (class 1259 OID 16605)
-- Name: dynrealmmembership; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.dynrealmmembership (
    id character varying(36) NOT NULL,
    fiql character varying(255),
    dynrealm_id character varying(255),
    anytype_id character varying(255)
);


--
-- TOC entry 371 (class 1259 OID 18691)
-- Name: dynrolemembers; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.dynrolemembers (
    any_id character(36),
    role_id character varying(255)
);


--
-- TOC entry 249 (class 1259 OID 16612)
-- Name: externalresource; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.externalresource (
    id character varying(255) NOT NULL,
    capabilitiesoverride text,
    createtracelevel character varying(20),
    deletetracelevel character varying(20),
    enforcemandatorycondition integer,
    jsonconf text,
    orgunit text,
    propagationpriority integer,
    provisioningtracelevel character varying(20),
    provisions text,
    updatetracelevel character varying(20),
    accountpolicy_id character varying(36),
    connector_id character varying(36),
    inboundpolicy_id character varying(36),
    passwordpolicy_id character varying(36),
    propagationpolicy_id character varying(36),
    provisionsorter_id character varying(255),
    pushpolicy_id character varying(36)
);


--
-- TOC entry 250 (class 1259 OID 16619)
-- Name: externalresourcepropaction; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.externalresourcepropaction (
    resource_id character varying(255),
    implementation_id character varying(255)
);


--
-- TOC entry 251 (class 1259 OID 16626)
-- Name: fiqlquery; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.fiqlquery (
    id character varying(36) NOT NULL,
    fiql character varying(255),
    name character varying(255),
    target character varying(255),
    owner_id character varying(36)
);


--
-- TOC entry 338 (class 1259 OID 18187)
-- Name: flw_ru_batch; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.flw_ru_batch (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    type_ character varying(64) NOT NULL,
    search_key_ character varying(255),
    search_key2_ character varying(255),
    create_time_ timestamp without time zone NOT NULL,
    complete_time_ timestamp without time zone,
    status_ character varying(255),
    batch_doc_id_ character varying(64),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 339 (class 1259 OID 18195)
-- Name: flw_ru_batch_part; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.flw_ru_batch_part (
    id_ character varying(64) NOT NULL,
    rev_ integer,
    batch_id_ character varying(64),
    type_ character varying(64) NOT NULL,
    scope_id_ character varying(64),
    sub_scope_id_ character varying(64),
    scope_type_ character varying(64),
    search_key_ character varying(255),
    search_key2_ character varying(255),
    create_time_ timestamp without time zone NOT NULL,
    complete_time_ timestamp without time zone,
    status_ character varying(255),
    result_doc_id_ character varying(64),
    tenant_id_ character varying(255) DEFAULT ''::character varying
);


--
-- TOC entry 252 (class 1259 OID 16635)
-- Name: formpropertydef; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.formpropertydef (
    id character varying(36) NOT NULL,
    datepattern character varying(255),
    dropdownfreeform integer,
    dropdownsingleselection integer,
    enumvalues text,
    idx integer,
    labels text,
    mimetype character varying(255),
    name character varying(255),
    readable integer,
    required integer,
    stringregex character varying(255),
    type character varying(20),
    writable integer,
    macrotask_id character varying(36)
);


--
-- TOC entry 253 (class 1259 OID 16642)
-- Name: grelationship; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.grelationship (
    id character varying(36) NOT NULL,
    group_id character varying(36),
    anyobject_id character varying(36),
    type_id character varying(255)
);


--
-- TOC entry 309 (class 1259 OID 17058)
-- Name: syncopegroup_anytypeclass; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopegroup_anytypeclass (
    group_id character varying(36),
    anytypeclass_id character varying(255)
);


--
-- TOC entry 378 (class 1259 OID 18721)
-- Name: group_search_auxclass; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.group_search_auxclass AS
 SELECT group_id AS any_id,
    anytypeclass_id
   FROM public.syncopegroup_anytypeclass st;


--
-- TOC entry 379 (class 1259 OID 18725)
-- Name: group_search_grelationship; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.group_search_grelationship AS
 SELECT id AS any_id,
    anyobject_id AS right_any_id,
    type_id AS type
   FROM public.grelationship m;


--
-- TOC entry 380 (class 1259 OID 18729)
-- Name: group_search_resource; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.group_search_resource AS
 SELECT group_id AS any_id,
    resource_id
   FROM public.syncopegroup_externalresource st;


--
-- TOC entry 254 (class 1259 OID 16649)
-- Name: implementation; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.implementation (
    id character varying(255) NOT NULL,
    body text,
    engine character varying(20) NOT NULL,
    type character varying(255) NOT NULL
);


--
-- TOC entry 255 (class 1259 OID 16656)
-- Name: inboundcorrelationruleentity; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.inboundcorrelationruleentity (
    id character varying(36) NOT NULL,
    inboundpolicy_id character varying(36),
    anytype_id character varying(255),
    implementation_id character varying(255)
);


--
-- TOC entry 256 (class 1259 OID 16665)
-- Name: inboundpolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.inboundpolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    conflictresolutionaction character varying(20)
);


--
-- TOC entry 257 (class 1259 OID 16670)
-- Name: jobstatus; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.jobstatus (
    id character varying(255) NOT NULL,
    jobstatus character varying(255)
);


--
-- TOC entry 258 (class 1259 OID 16677)
-- Name: linkedaccount; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.linkedaccount (
    id character varying(36) NOT NULL,
    cipheralgorithm character varying(20),
    connobjectkeyvalue character varying(255),
    password character varying(255),
    plainattrs jsonb,
    suspended integer,
    username character varying(255),
    owner_id character varying(36),
    resource_id character varying(255)
);


--
-- TOC entry 259 (class 1259 OID 16686)
-- Name: livesynctask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.livesynctask (
    id character varying(36) NOT NULL,
    active integer,
    cronexpression character varying(255),
    description character varying(255),
    name character varying(255) NOT NULL,
    concurrentsettings text,
    matchingrule character varying(20),
    performcreate integer,
    performdelete integer,
    performupdate integer,
    syncstatus integer,
    unmatchingrule character varying(20),
    remediation integer,
    delaysecondsacrossinvocations integer,
    jobdelegate_id character varying(255),
    resource_id character varying(255),
    destinationrealm_id character varying(36),
    livesyncdeltamapper_id character varying(255)
);


--
-- TOC entry 260 (class 1259 OID 16697)
-- Name: livesynctaskaction; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.livesynctaskaction (
    task_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 261 (class 1259 OID 16702)
-- Name: livesynctaskexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.livesynctaskexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    task_id character varying(36)
);


--
-- TOC entry 262 (class 1259 OID 16709)
-- Name: macrotask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.macrotask (
    id character varying(36) NOT NULL,
    active integer,
    cronexpression character varying(255),
    description character varying(255),
    name character varying(255) NOT NULL,
    continueonerror integer,
    saveexecs integer,
    jobdelegate_id character varying(255),
    macroactions_id character varying(255),
    realm_id character varying(36)
);


--
-- TOC entry 263 (class 1259 OID 16718)
-- Name: macrotaskcommand; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.macrotaskcommand (
    id character varying(36) NOT NULL,
    args text,
    idx integer,
    macrotask_id character varying(36),
    command_id character varying(255)
);


--
-- TOC entry 264 (class 1259 OID 16725)
-- Name: macrotaskexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.macrotaskexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    task_id character varying(36)
);


--
-- TOC entry 265 (class 1259 OID 16732)
-- Name: mailtemplate; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.mailtemplate (
    id character varying(255) NOT NULL,
    htmltemplate text,
    texttemplate text
);


--
-- TOC entry 266 (class 1259 OID 16739)
-- Name: networkservice; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.networkservice (
    id character varying(36) NOT NULL,
    address character varying(255),
    type character varying(20)
);


--
-- TOC entry 267 (class 1259 OID 16746)
-- Name: notification; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.notification (
    id character varying(36) NOT NULL,
    active integer,
    events text,
    recipientattrname character varying(255),
    recipientsfiql character varying(255),
    selfasrecipient integer,
    sender character varying(255),
    staticrecipients text,
    subject character varying(255),
    tracelevel character varying(20),
    recipientsprovider_id character varying(255),
    template_id character varying(255)
);


--
-- TOC entry 268 (class 1259 OID 16753)
-- Name: notificationtask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.notificationtask (
    id character varying(36) NOT NULL,
    anytypekind character varying(20),
    entitykey character varying(255),
    executed integer,
    htmlbody text,
    recipients text,
    sender character varying(255),
    subject character varying(255),
    textbody text,
    tracelevel character varying(20),
    notification_id character varying(36)
);


--
-- TOC entry 269 (class 1259 OID 16760)
-- Name: notificationtaskexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.notificationtaskexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    task_id character varying(36)
);


--
-- TOC entry 270 (class 1259 OID 16767)
-- Name: oidcjwks; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.oidcjwks (
    id character varying(36) NOT NULL,
    "json" text NOT NULL
);


--
-- TOC entry 271 (class 1259 OID 16774)
-- Name: oidcprovider; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.oidcprovider (
    id character varying(36) NOT NULL,
    authorizationendpoint character varying(255) NOT NULL,
    clientid character varying(255) NOT NULL,
    clientsecret character varying(255) NOT NULL,
    createunmatching integer,
    endsessionendpoint character varying(255),
    hasdiscovery boolean NOT NULL,
    issuer character varying(255) NOT NULL,
    items text,
    jwksuri character varying(255) NOT NULL,
    name character varying(255) NOT NULL,
    scopes character varying(255),
    selfregunmatching integer,
    tokenendpoint character varying(255) NOT NULL,
    updatematching integer,
    userinfoendpoint character varying(255)
);


--
-- TOC entry 272 (class 1259 OID 16787)
-- Name: oidcprovideraction; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.oidcprovideraction (
    op_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 273 (class 1259 OID 16790)
-- Name: oidcrpclientapp; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.oidcrpclientapp (
    id character varying(36) NOT NULL,
    clientappid bigint NOT NULL,
    description character varying(255),
    evaluationorder integer,
    informationurl character varying(255),
    logo character varying(255),
    logouttype character varying(20),
    name character varying(255) NOT NULL,
    privacyurl character varying(255),
    properties text,
    theme character varying(255),
    usernameattributeproviderconf text,
    accesstokenmaxactivetokens bigint,
    accesstokenmaxtimetolive character varying(255),
    accesstokentimetokill character varying(255),
    applicationtype character varying(20),
    bypassapprovalprompt boolean,
    clientid character varying(255) NOT NULL,
    clientsecret character varying(255),
    devicetokentimetokill character varying(255),
    encryptidtoken boolean,
    generaterefreshtoken boolean,
    idtokenencryptionalg character varying(20),
    idtokenencryptionencoding character varying(20),
    idtokenissuer character varying(255),
    idtokensigningalg character varying(20),
    jwks text,
    jwksuri character varying(255),
    jwtaccesstoken boolean,
    logouturi character varying(255),
    redirecturis text,
    refreshtokenmaxactivetokens bigint,
    refreshtokentimetokill character varying(255),
    scopes text,
    signidtoken boolean,
    subjecttype character varying(20),
    supportedgranttypes text,
    supportedresponsetypes text,
    tokenendpointauthenticationmethod character varying(20),
    userinfoencryptedresponsealg character varying(20),
    userinfoencryptedresponseencoding character varying(20),
    userinfosigningalg character varying(20),
    accesspolicy_id character varying(36),
    attrreleasepolicy_id character varying(36),
    authpolicy_id character varying(36),
    realm_id character varying(36),
    ticketexpirationpolicy_id character varying(36)
);


--
-- TOC entry 274 (class 1259 OID 16803)
-- Name: oidcusertemplate; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.oidcusertemplate (
    id character varying(36) NOT NULL,
    template text,
    op_id character varying(36),
    anytype_id character varying(255)
);


--
-- TOC entry 275 (class 1259 OID 16812)
-- Name: passwordpolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.passwordpolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    allownullpassword integer,
    historylength integer
);


--
-- TOC entry 276 (class 1259 OID 16817)
-- Name: passwordpolicyrule; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.passwordpolicyrule (
    policy_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 277 (class 1259 OID 16822)
-- Name: plainschema; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.plainschema (
    id character varying(255) NOT NULL,
    cipheralgorithm character varying(20),
    conversionpattern character varying(255),
    enumvalues text,
    mandatorycondition character varying(255),
    mimetype character varying(255),
    multivalue integer,
    readonly integer,
    secretkey character varying(255),
    type character varying(20),
    uniqueconstraint integer,
    anytypeclass_id character varying(255),
    dropdownvalueprovider_id character varying(255),
    validator_id character varying(255)
);


--
-- TOC entry 278 (class 1259 OID 16829)
-- Name: propagationpolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.propagationpolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    backoffparams character varying(255),
    backoffstrategy character varying(20),
    fetcharoundprovisioning integer,
    maxattempts integer,
    updatedelta integer
);


--
-- TOC entry 279 (class 1259 OID 16836)
-- Name: propagationtask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.propagationtask (
    id character varying(36) NOT NULL,
    anytype character varying(255),
    anytypekind character varying(20),
    connobjectkey character varying(255),
    entitykey character varying(255),
    objectclassname character varying(255),
    oldconnobjectkey character varying(255),
    operation character varying(20),
    propagationdata text,
    resource_id character varying(255)
);


--
-- TOC entry 280 (class 1259 OID 16843)
-- Name: propagationtaskexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.propagationtaskexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    task_id character varying(36)
);


--
-- TOC entry 281 (class 1259 OID 16850)
-- Name: pulltask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pulltask (
    id character varying(36) NOT NULL,
    active integer,
    cronexpression character varying(255),
    description character varying(255),
    name character varying(255) NOT NULL,
    concurrentsettings text,
    matchingrule character varying(20),
    performcreate integer,
    performdelete integer,
    performupdate integer,
    syncstatus integer,
    unmatchingrule character varying(20),
    remediation integer,
    pullmode character varying(23),
    jobdelegate_id character varying(255),
    resource_id character varying(255),
    destinationrealm_id character varying(36),
    reconfilterbuilder_id character varying(255)
);


--
-- TOC entry 282 (class 1259 OID 16859)
-- Name: pulltaskaction; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pulltaskaction (
    task_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 283 (class 1259 OID 16864)
-- Name: pulltaskexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pulltaskexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    task_id character varying(36)
);


--
-- TOC entry 284 (class 1259 OID 16871)
-- Name: pushcorrelationruleentity; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pushcorrelationruleentity (
    id character varying(36) NOT NULL,
    pushpolicy_id character varying(36),
    anytype_id character varying(255),
    implementation_id character varying(255)
);


--
-- TOC entry 285 (class 1259 OID 16880)
-- Name: pushpolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pushpolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    conflictresolutionaction character varying(20)
);


--
-- TOC entry 286 (class 1259 OID 16885)
-- Name: pushtask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pushtask (
    id character varying(36) NOT NULL,
    active integer,
    cronexpression character varying(255),
    description character varying(255),
    name character varying(255) NOT NULL,
    concurrentsettings text,
    matchingrule character varying(20),
    performcreate integer,
    performdelete integer,
    performupdate integer,
    syncstatus integer,
    unmatchingrule character varying(20),
    filters text,
    jobdelegate_id character varying(255),
    resource_id character varying(255),
    sourcerealm_id character varying(36)
);


--
-- TOC entry 287 (class 1259 OID 16894)
-- Name: pushtaskaction; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pushtaskaction (
    task_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 288 (class 1259 OID 16899)
-- Name: pushtaskexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.pushtaskexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    task_id character varying(36)
);


--
-- TOC entry 289 (class 1259 OID 16906)
-- Name: realm; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.realm (
    id character varying(36) NOT NULL,
    fullpath character varying(255) NOT NULL,
    name character varying(255),
    plainattrs jsonb,
    accesspolicy_id character varying(36),
    accountpolicy_id character varying(36),
    attrreleasepolicy_id character varying(36),
    authpolicy_id character varying(36),
    parent_id character varying(36),
    passwordpolicy_id character varying(36),
    ticketexpirationpolicy_id character varying(36)
);


--
-- TOC entry 291 (class 1259 OID 16922)
-- Name: realm_anytypeclass; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.realm_anytypeclass (
    realm_id character varying(36),
    anytypeclass_id character varying(255)
);


--
-- TOC entry 292 (class 1259 OID 16925)
-- Name: realm_externalresource; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.realm_externalresource (
    realm_id character varying(36),
    resource_id character varying(255)
);


--
-- TOC entry 290 (class 1259 OID 16917)
-- Name: realmaction; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.realmaction (
    realm_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 293 (class 1259 OID 16930)
-- Name: relationshiptype; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.relationshiptype (
    id character varying(255) NOT NULL,
    description character varying(255),
    leftendanytype_id character varying(255),
    rightendanytype_id character varying(255)
);


--
-- TOC entry 294 (class 1259 OID 16937)
-- Name: remediation; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.remediation (
    id character varying(36) NOT NULL,
    error text,
    instant timestamp with time zone,
    operation character varying(20),
    payload text,
    remotename character varying(255),
    anytype_id character varying(255),
    pulltask_id character varying(36)
);


--
-- TOC entry 295 (class 1259 OID 16944)
-- Name: report; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.report (
    id character varying(36) NOT NULL,
    active integer,
    cronexpression character varying(255),
    fileext character varying(255),
    mimetype character varying(255),
    name character varying(255) NOT NULL,
    jobdelegate_id character varying(255)
);


--
-- TOC entry 296 (class 1259 OID 16953)
-- Name: reportexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.reportexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    execresult bytea,
    report_id character varying(36)
);


--
-- TOC entry 297 (class 1259 OID 16960)
-- Name: saml2idp4uiaction; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.saml2idp4uiaction (
    saml2idp4ui_id character varying(36),
    implementation_id character varying(255)
);


--
-- TOC entry 298 (class 1259 OID 16963)
-- Name: saml2idpentity; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.saml2idpentity (
    id character varying(255) NOT NULL,
    encryptioncertificate bytea,
    encryptionkey bytea,
    metadata bytea NOT NULL,
    signingcertificate bytea,
    signingkey bytea
);


--
-- TOC entry 299 (class 1259 OID 16970)
-- Name: saml2sp4uiidp; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.saml2sp4uiidp (
    id character varying(36) NOT NULL,
    bindingtype smallint NOT NULL,
    createunmatching integer,
    entityid character varying(255) NOT NULL,
    items text,
    logoutsupported integer,
    metadata bytea,
    name character varying(255) NOT NULL,
    selfregunmatching integer,
    updatematching integer,
    requestedauthncontextprovider_id character varying(255)
);


--
-- TOC entry 300 (class 1259 OID 16981)
-- Name: saml2sp4uiusertemplate; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.saml2sp4uiusertemplate (
    id character varying(36) NOT NULL,
    template text,
    idp_id character varying(36),
    anytype_id character varying(255)
);


--
-- TOC entry 301 (class 1259 OID 16990)
-- Name: saml2spclientapp; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.saml2spclientapp (
    id character varying(36) NOT NULL,
    clientappid bigint NOT NULL,
    description character varying(255),
    evaluationorder integer,
    informationurl character varying(255),
    logo character varying(255),
    logouttype character varying(20),
    name character varying(255) NOT NULL,
    privacyurl character varying(255),
    properties text,
    theme character varying(255),
    usernameattributeproviderconf text,
    assertionaudiences text,
    encryptassertions boolean,
    encblalg text,
    encdataalg text,
    enckeyalg text,
    encryptionoptional boolean,
    entityid character varying(255) NOT NULL,
    idp character varying(255),
    metadatalocation character varying(255) NOT NULL,
    metadatasignaturelocation character varying(255),
    nameidqualifier character varying(255),
    reqauthncontextclass character varying(255),
    requirednameidformat smallint,
    spnameidqualifier character varying(255),
    signassertions boolean,
    signresponses boolean,
    sigalgs text,
    sigblalg text,
    sigrefdigestmethod text,
    skewallowance integer,
    accesspolicy_id character varying(36),
    attrreleasepolicy_id character varying(36),
    authpolicy_id character varying(36),
    realm_id character varying(36),
    ticketexpirationpolicy_id character varying(36)
);


--
-- TOC entry 302 (class 1259 OID 17003)
-- Name: schedtask; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.schedtask (
    id character varying(36) NOT NULL,
    active integer,
    cronexpression character varying(255),
    description character varying(255),
    name character varying(255) NOT NULL,
    jobdelegate_id character varying(255)
);


--
-- TOC entry 303 (class 1259 OID 17012)
-- Name: schedtaskexec; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.schedtaskexec (
    id character varying(36) NOT NULL,
    enddate timestamp with time zone,
    executor character varying(255),
    message text,
    startdate timestamp with time zone NOT NULL,
    status character varying(255),
    task_id character varying(36)
);


--
-- TOC entry 304 (class 1259 OID 17019)
-- Name: securityquestion; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.securityquestion (
    id character varying(36) NOT NULL,
    content character varying(255)
);


--
-- TOC entry 305 (class 1259 OID 17026)
-- Name: sraroute; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.sraroute (
    id character varying(36) NOT NULL,
    csrf integer,
    error character varying(255),
    filters text,
    logout integer,
    name character varying(255) NOT NULL,
    postlogout character varying(255),
    predicates text,
    routeorder integer,
    routetype character varying(20),
    target character varying(255)
);


--
-- TOC entry 306 (class 1259 OID 17035)
-- Name: syncopebatch; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopebatch (
    id character varying(255) NOT NULL,
    expirytime timestamp with time zone,
    results text
);


--
-- TOC entry 307 (class 1259 OID 17042)
-- Name: syncopedomain; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopedomain (
    id character varying(255) NOT NULL,
    spec text
);


--
-- TOC entry 311 (class 1259 OID 17068)
-- Name: syncoperole; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncoperole (
    id character varying(255) NOT NULL,
    anylayout text,
    dynmembershipcond character varying(255),
    entitlements text
);


--
-- TOC entry 312 (class 1259 OID 17075)
-- Name: syncoperole_dynrealm; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncoperole_dynrealm (
    role_id character varying(255),
    dynamicrealm_id character varying(255)
);


--
-- TOC entry 313 (class 1259 OID 17082)
-- Name: syncoperole_realm; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncoperole_realm (
    role_id character varying(255),
    realm_id character varying(36)
);


--
-- TOC entry 314 (class 1259 OID 17087)
-- Name: syncopeschema; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopeschema (
    id character varying(255) NOT NULL,
    labels text
);


--
-- TOC entry 315 (class 1259 OID 17094)
-- Name: syncopeuser; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopeuser (
    id character varying(36) NOT NULL,
    creationcontext character varying(255),
    creationdate timestamp with time zone,
    creator character varying(255),
    lastchangecontext character varying(255),
    lastchangedate timestamp with time zone,
    lastmodifier character varying(255),
    status character varying(255),
    changepwddate timestamp with time zone,
    cipheralgorithm character varying(20),
    failedlogins integer,
    lastlogindate timestamp with time zone,
    mustchangepassword integer,
    password character varying(255),
    passwordhistory text,
    plainattrs jsonb,
    securityanswer character varying(255),
    suspended integer,
    token text,
    tokenexpiretime timestamp with time zone,
    username character varying(255),
    realm_id character varying(36),
    securityquestion_id character varying(36)
);


--
-- TOC entry 316 (class 1259 OID 17103)
-- Name: syncopeuser_anytypeclass; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopeuser_anytypeclass (
    user_id character varying(36),
    anytypeclass_id character varying(255)
);


--
-- TOC entry 317 (class 1259 OID 17108)
-- Name: syncopeuser_externalresource; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopeuser_externalresource (
    user_id character varying(36),
    resource_id character varying(255)
);


--
-- TOC entry 318 (class 1259 OID 17113)
-- Name: syncopeuser_syncoperole; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.syncopeuser_syncoperole (
    user_id character varying(36),
    role_id character varying(255)
);


--
-- TOC entry 319 (class 1259 OID 17118)
-- Name: ticketexpirationpolicy; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.ticketexpirationpolicy (
    id character varying(36) NOT NULL,
    name character varying(255),
    jsonconf text
);


--
-- TOC entry 320 (class 1259 OID 17125)
-- Name: typeextension; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.typeextension (
    id character varying(36) NOT NULL,
    group_id character varying(36),
    anytype_id character varying(255)
);


--
-- TOC entry 321 (class 1259 OID 17132)
-- Name: typeextension_anytypeclass; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.typeextension_anytypeclass (
    typeextension_id character varying(36),
    anytypeclass_id character varying(255)
);


--
-- TOC entry 372 (class 1259 OID 18696)
-- Name: udyngroupmembers; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.udyngroupmembers (
    any_id character(36),
    group_id character(36)
);


--
-- TOC entry 322 (class 1259 OID 17137)
-- Name: udyngroupmembership; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.udyngroupmembership (
    id character varying(36) NOT NULL,
    fiql character varying(255),
    group_id character varying(36)
);


--
-- TOC entry 323 (class 1259 OID 17142)
-- Name: umembership; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.umembership (
    id character varying(36) NOT NULL,
    user_id character varying(36),
    group_id character varying(36)
);


--
-- TOC entry 324 (class 1259 OID 17147)
-- Name: urelationship; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.urelationship (
    id character varying(36) NOT NULL,
    user_id character varying(36),
    anyobject_id character varying(36),
    type_id character varying(255)
);


--
-- TOC entry 381 (class 1259 OID 18733)
-- Name: user_search_auxclass; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.user_search_auxclass AS
 SELECT user_id AS any_id,
    anytypeclass_id
   FROM public.syncopeuser_anytypeclass st;


--
-- TOC entry 382 (class 1259 OID 18737)
-- Name: user_search_group_res; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.user_search_group_res AS
 SELECT m.user_id AS any_id,
    st.resource_id
   FROM public.umembership m,
    public.syncopegroup r,
    public.syncopegroup_externalresource st
  WHERE (((m.group_id)::text = (r.id)::text) AND ((st.group_id)::text = (r.id)::text));


--
-- TOC entry 383 (class 1259 OID 18741)
-- Name: user_search_resource; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.user_search_resource AS
 SELECT user_id AS any_id,
    resource_id
   FROM public.syncopeuser_externalresource st;


--
-- TOC entry 384 (class 1259 OID 18745)
-- Name: user_search_role; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.user_search_role AS
 SELECT user_id AS any_id,
    role_id
   FROM public.syncopeuser_syncoperole ss;


--
-- TOC entry 385 (class 1259 OID 18749)
-- Name: user_search_umembership; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.user_search_umembership AS
 SELECT m.user_id AS any_id,
    g.id AS group_id,
    g.name AS group_name
   FROM public.umembership m,
    public.syncopegroup g
  WHERE ((m.group_id)::text = (g.id)::text);


--
-- TOC entry 386 (class 1259 OID 18753)
-- Name: user_search_urelationship; Type: VIEW; Schema: public; Owner: -
--

CREATE VIEW public.user_search_urelationship AS
 SELECT user_id AS any_id,
    anyobject_id AS right_any_id,
    type_id AS type
   FROM public.urelationship m;


--
-- TOC entry 325 (class 1259 OID 17154)
-- Name: waconfigentry; Type: TABLE; Schema: public; Owner: -
--

CREATE TABLE public.waconfigentry (
    id character varying(255) NOT NULL,
    waconfigvalues text
);


--
-- TOC entry 3820 (class 2604 OID 18319)
-- Name: act_evt_log log_nr_; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_evt_log ALTER COLUMN log_nr_ SET DEFAULT nextval('public.act_evt_log_log_nr__seq'::regclass);


--
-- TOC entry 3811 (class 2604 OID 18234)
-- Name: act_hi_tsk_log id_; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_tsk_log ALTER COLUMN id_ SET DEFAULT nextval('public.act_hi_tsk_log_id__seq'::regclass);


--
-- TOC entry 4771 (class 0 OID 16390)
-- Dependencies: 217
-- Data for Name: accesspolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.accesspolicy VALUES ('419935c7-deb3-40b3-8a9a-683037e523a2', 'DefaultAccessPolicy', '{"_class":"org.apache.syncope.common.lib.policy.DefaultAccessPolicyConf","order":0,"ssoEnabled":true,"caseInsensitive":true,"enabled":true,"requireAllAttributes":true}');


--
-- TOC entry 4772 (class 0 OID 16397)
-- Dependencies: 218
-- Data for Name: accesstoken; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4773 (class 0 OID 16406)
-- Dependencies: 219
-- Data for Name: accountpolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.accountpolicy VALUES ('20ab5a8c-4b0c-432c-b957-f7fb9784d9f7', 'an account policy', 0, 0);
INSERT INTO public.accountpolicy VALUES ('06e2ed52-6966-44aa-a177-a0ca7434201f', 'sample account policy', 3, 0);


--
-- TOC entry 4774 (class 0 OID 16411)
-- Dependencies: 220
-- Data for Name: accountpolicyrule; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.accountpolicyrule VALUES ('20ab5a8c-4b0c-432c-b957-f7fb9784d9f7', 'DefaultAccountRuleConf1');
INSERT INTO public.accountpolicyrule VALUES ('06e2ed52-6966-44aa-a177-a0ca7434201f', 'DefaultAccountRuleConf2');


--
-- TOC entry 4906 (class 0 OID 18316)
-- Dependencies: 352
-- Data for Name: act_evt_log; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4881 (class 0 OID 18006)
-- Dependencies: 327
-- Data for Name: act_ge_bytearray; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_ge_bytearray VALUES ('2f285177-0816-11f1-8e1e-b6c4454722a1', 1, 'userWorkflow.bpmn20.xml', '2f285176-0816-11f1-8e1e-b6c4454722a1', '\ ', false);
INSERT INTO public.act_ge_bytearray VALUES ('2f69a038-0816-11f1-8e1e-b6c4454722a1', 1, 'userWorkflow.userWorkflow.png', '2f285176-0816-11f1-8e1e-b6c4454722a1', '\ ', true);
INSERT INTO public.act_ge_bytearray VALUES ('2f76bf9b-0816-11f1-8e1e-b6c4454722a1', 1, 'source', NULL, '\ ', NULL);


--
-- TOC entry 4880 (class 0 OID 18001)
-- Dependencies: 326
-- Data for Name: act_ge_property; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_ge_property VALUES ('common.schema.version', '7.2.0.2', 1);
INSERT INTO public.act_ge_property VALUES ('next.dbid', '1', 1);
INSERT INTO public.act_ge_property VALUES ('schema.version', '7.2.0.2', 1);
INSERT INTO public.act_ge_property VALUES ('schema.history', 'create(7.2.0.2)', 1);
INSERT INTO public.act_ge_property VALUES ('cfg.execution-related-entities-count', 'true', 1);
INSERT INTO public.act_ge_property VALUES ('cfg.task-related-entities-count', 'true', 1);


--
-- TOC entry 4910 (class 0 OID 18550)
-- Dependencies: 356
-- Data for Name: act_hi_actinst; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4913 (class 0 OID 18573)
-- Dependencies: 359
-- Data for Name: act_hi_attachment; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4912 (class 0 OID 18566)
-- Dependencies: 358
-- Data for Name: act_hi_comment; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4911 (class 0 OID 18559)
-- Dependencies: 357
-- Data for Name: act_hi_detail; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4883 (class 0 OID 18024)
-- Dependencies: 329
-- Data for Name: act_hi_entitylink; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4885 (class 0 OID 18047)
-- Dependencies: 331
-- Data for Name: act_hi_identitylink; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4909 (class 0 OID 18539)
-- Dependencies: 355
-- Data for Name: act_hi_procinst; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4895 (class 0 OID 18221)
-- Dependencies: 341
-- Data for Name: act_hi_taskinst; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4897 (class 0 OID 18231)
-- Dependencies: 343
-- Data for Name: act_hi_tsk_log; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4899 (class 0 OID 18259)
-- Dependencies: 345
-- Data for Name: act_hi_varinst; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4915 (class 0 OID 18603)
-- Dependencies: 361
-- Data for Name: act_id_bytearray; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4916 (class 0 OID 18610)
-- Dependencies: 362
-- Data for Name: act_id_group; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4919 (class 0 OID 18630)
-- Dependencies: 365
-- Data for Name: act_id_info; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4917 (class 0 OID 18617)
-- Dependencies: 363
-- Data for Name: act_id_membership; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4921 (class 0 OID 18644)
-- Dependencies: 367
-- Data for Name: act_id_priv; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4922 (class 0 OID 18649)
-- Dependencies: 368
-- Data for Name: act_id_priv_mapping; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4914 (class 0 OID 18598)
-- Dependencies: 360
-- Data for Name: act_id_property; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_id_property VALUES ('schema.version', '7.2.0.2', 1);


--
-- TOC entry 4920 (class 0 OID 18637)
-- Dependencies: 366
-- Data for Name: act_id_token; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4918 (class 0 OID 18622)
-- Dependencies: 364
-- Data for Name: act_id_user; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4907 (class 0 OID 18325)
-- Dependencies: 353
-- Data for Name: act_procdef_info; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4901 (class 0 OID 18282)
-- Dependencies: 347
-- Data for Name: act_re_deployment; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_re_deployment VALUES ('2f285176-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, NULL, '', '2026-02-12 14:24:39.867', NULL, NULL, '2f285176-0816-11f1-8e1e-b6c4454722a1', NULL);


--
-- TOC entry 4902 (class 0 OID 18290)
-- Dependencies: 348
-- Data for Name: act_re_model; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_re_model VALUES ('2f7008da-0816-11f1-8e1e-b6c4454722a1', 2, 'User Workflow', NULL, NULL, '2026-02-12 14:24:40.337', '2026-02-12 14:24:40.381', 1, '{"name":"User Workflow"}', '2f285176-0816-11f1-8e1e-b6c4454722a1', '2f76bf9b-0816-11f1-8e1e-b6c4454722a1', NULL, '');


--
-- TOC entry 4904 (class 0 OID 18306)
-- Dependencies: 350
-- Data for Name: act_re_procdef; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_re_procdef VALUES ('userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', 1, 'http://www.flowable.org/processdef', 'User Workflow', 'userWorkflow', 1, '2f285176-0816-11f1-8e1e-b6c4454722a1', 'userWorkflow.bpmn20.xml', 'userWorkflow.userWorkflow.png', NULL, false, true, 1, '', NULL, NULL, 0, NULL);


--
-- TOC entry 4908 (class 0 OID 18330)
-- Dependencies: 354
-- Data for Name: act_ru_actinst; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4889 (class 0 OID 18082)
-- Dependencies: 335
-- Data for Name: act_ru_deadletter_job; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4882 (class 0 OID 18013)
-- Dependencies: 328
-- Data for Name: act_ru_entitylink; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4900 (class 0 OID 18270)
-- Dependencies: 346
-- Data for Name: act_ru_event_subscr; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4903 (class 0 OID 18298)
-- Dependencies: 349
-- Data for Name: act_ru_execution; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_ru_execution VALUES ('1', 2, '1', 'userWorkflow:74cd8ece-715a-44a4-a736-e17b46c4e7e6', NULL, 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, 'active', true, false, true, false, NULL, 0, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_execution VALUES ('3', 2, '3', 'userWorkflow:b3cbc78d-32e6-4bd4-92e0-bbe07566a2ee', NULL, 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, 'active', true, false, true, false, NULL, 0, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_execution VALUES ('5', 2, '5', 'userWorkflow:c9b2dec2-00a7-4855-97c0-d854842b4b24', NULL, 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, 'active', true, false, true, false, NULL, 0, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_execution VALUES ('7', 2, '7', 'userWorkflow:823074dc-d280-436d-a7dd-07399fae48ec', NULL, 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, 'active', true, false, true, false, NULL, 0, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_execution VALUES ('9', 2, '9', 'userWorkflow:1417acbe-cbf6-4277-9372-e75e04f97000', NULL, 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, 'active', true, false, true, false, NULL, 0, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);


--
-- TOC entry 4891 (class 0 OID 18098)
-- Dependencies: 337
-- Data for Name: act_ru_external_job; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4890 (class 0 OID 18090)
-- Dependencies: 336
-- Data for Name: act_ru_history_job; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4884 (class 0 OID 18035)
-- Dependencies: 330
-- Data for Name: act_ru_identitylink; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4886 (class 0 OID 18058)
-- Dependencies: 332
-- Data for Name: act_ru_job; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4888 (class 0 OID 18074)
-- Dependencies: 334
-- Data for Name: act_ru_suspended_job; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4894 (class 0 OID 18209)
-- Dependencies: 340
-- Data for Name: act_ru_task; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.act_ru_task VALUES ('2', 2, '1', '1', 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, 'active', NULL, NULL, NULL, 50, '2010-10-20 00:00:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_task VALUES ('4', 2, '3', '3', 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, 'active', NULL, NULL, NULL, 50, '2010-10-20 00:00:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_task VALUES ('6', 2, '5', '5', 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, 'active', NULL, NULL, NULL, 50, '2010-10-20 00:00:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_task VALUES ('8', 2, '7', '7', 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, 'active', NULL, NULL, NULL, 50, '2010-10-20 00:00:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.act_ru_task VALUES ('10', 2, '9', '9', 'userWorkflow:1:2f6a6389-0816-11f1-8e1e-b6c4454722a1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, 'active', NULL, NULL, NULL, 50, '2010-10-20 00:00:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL);


--
-- TOC entry 4887 (class 0 OID 18066)
-- Dependencies: 333
-- Data for Name: act_ru_timer_job; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4898 (class 0 OID 18244)
-- Dependencies: 344
-- Data for Name: act_ru_variable; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4923 (class 0 OID 18681)
-- Dependencies: 369
-- Data for Name: adyngroupmembers; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4775 (class 0 OID 16416)
-- Dependencies: 221
-- Data for Name: adyngroupmembership; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4776 (class 0 OID 16423)
-- Dependencies: 222
-- Data for Name: amembership; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4777 (class 0 OID 16428)
-- Dependencies: 223
-- Data for Name: anyabout; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.anyabout VALUES ('a328f2e6-25e9-4cc1-badf-7425d7be4b39', 'token!=$null', 'USER', 'e00945b5-1184-4d43-8e45-4318a8dcdfd4');
INSERT INTO public.anyabout VALUES ('2e2ee845-2abf-43c6-b543-49243a84e2f1', 'fullname==*o*;fullname==*i*', 'USER', '9e2b911c-25de-4c77-bcea-b86ed9451050');


--
-- TOC entry 4778 (class 0 OID 16437)
-- Dependencies: 224
-- Data for Name: anyobject; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.anyobject VALUES ('fc6dbc3a-6c07-4965-8781-921e7401a4a5', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'HP LJ 1300n', '[{"schema": "model", "values": [{"stringValue": "Canon MFC8030"}]}, {"schema": "location", "values": [{"stringValue": "1st floor"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', 'PRINTER');
INSERT INTO public.anyobject VALUES ('8559d14d-58c2-46eb-a2d4-a7d35161e8f8', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'Canon MF 8030cn', '[{"schema": "model", "values": [{"stringValue": "HP Laserjet 1300n"}]}, {"schema": "location", "values": [{"stringValue": "2nd floor"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', 'PRINTER');
INSERT INTO public.anyobject VALUES ('9e1d130c-d6a3-48b1-98b3-182477ed0688', NULL, '2021-04-15 11:45:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'Epson Stylus Color', '[]', '0679e069-7355-4b20-bd11-a5a0a5453c7c', 'PRINTER');


--
-- TOC entry 4779 (class 0 OID 16446)
-- Dependencies: 225
-- Data for Name: anyobject_anytypeclass; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4780 (class 0 OID 16451)
-- Dependencies: 226
-- Data for Name: anyobject_externalresource; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4781 (class 0 OID 16456)
-- Dependencies: 227
-- Data for Name: anytemplatelivesynctask; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4782 (class 0 OID 16465)
-- Dependencies: 228
-- Data for Name: anytemplatepulltask; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.anytemplatepulltask VALUES ('3a6173a9-8c34-4e37-b3b1-0c2ea385fac0', '{"_class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"USER","realm":null,"status":null,"password":null,"token":null,"tokenExpireTime":null,"username":null,"lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":null,"securityAnswer":null,"auxClasses":["csv"],"derAttrs":[{"schema":"cn","values":[""]}],"resources":["resource-testdb"],"relationships":[],"memberships":[{"groupKey":"f779c0d4-633b-4be5-8f57-32eb478a3ca5","groupName":null}],"dynMemberships":[],"roles":[],"dynRoles":[],"plainAttrs":[{"schema":"ctype","values":["email == ''test8@syncope.apache.org''? ''TYPE_8'': ''TYPE_OTHER''"]}]}', 'USER', 'c41b9b71-9bfa-4f90-89f2-84787def4c5c');
INSERT INTO public.anytemplatepulltask VALUES ('b3772d66-ec06-4133-bf38-b3273845ac5b', '{"_class":"org.apache.syncope.common.lib.to.GroupTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"GROUP","realm":null,"status":null,"name":null,"userOwner":null,"groupOwner":null,"udynMembershipCond":null,"auxClasses":[],"derAttrs":[],"resources":[],"plainAttrs":[]}', 'GROUP', 'c41b9b71-9bfa-4f90-89f2-84787def4c5c');
INSERT INTO public.anytemplatepulltask VALUES ('6c3f578d-327b-4a7c-8037-6f5ba24eb770', '{"_class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"USER","realm":null,"status":null,"password":null,"token":null,"tokenExpireTime":null,"username":null,"lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":null,"securityAnswer":null,"auxClasses":[],"derAttrs":[],"resources":[],"relationships":[],"memberships":[],"dynMemberships":[],"roles":[],"dynRoles":[],"plainAttrs":[{"schema":"ctype","values":["''type a''"]},{"schema":"userId","values":["''reconciled@syncope.apache.org''"]},{"schema":"fullname","values":["''reconciled fullname''"]},{"schema":"surname","values":["''surname''"]}]}', 'USER', '83f7e85d-9774-43fe-adba-ccd856312994');
INSERT INTO public.anytemplatepulltask VALUES ('45b61137-c7c3-49ee-86e0-9efffa75ae68', '{"_class":"org.apache.syncope.common.lib.to.GroupTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"GROUP","realm":null,"status":null,"name":null,"userOwner":null,"groupOwner":null,"udynMembershipCond":null,"auxClasses":[],"derAttrs":[],"resources":[],"plainAttrs":[]}', 'GROUP', '83f7e85d-9774-43fe-adba-ccd856312994');
INSERT INTO public.anytemplatepulltask VALUES ('df655a2a-40c0-43b1-a157-3f4988802f58', '{"_class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"USER","realm":"''/'' + title","status":null,"password":null,"token":null,"tokenExpireTime":null,"username":null,"lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":null,"securityAnswer":null,"auxClasses":["minimal group"],"derAttrs":[],"resources":["resource-ldap"],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynMemberships":[],"plainAttrs":[]}', 'USER', '1e419ca4-ea81-4493-a14f-28b90113686d');
INSERT INTO public.anytemplatepulltask VALUES ('fda22ff3-98f3-42e4-a2ae-cd9a28282d57', '{"_class":"org.apache.syncope.common.lib.to.GroupTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"GROUP","realm":null,"status":null,"name":null,"userOwner":null,"groupOwner":null,"udynMembershipCond":null,"auxClasses":[],"derAttrs":[],"resources":[],"plainAttrs":[{"schema":"show","values":["true"]}]}', 'GROUP', '1e419ca4-ea81-4493-a14f-28b90113686d');
INSERT INTO public.anytemplatepulltask VALUES ('8bc41ba1-cc1d-4ee0-bb43-61cd148b414f', '{"_class":"org.apache.syncope.common.lib.to.UserTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"USER","realm":null,"status":null,"password":null,"token":null,"tokenExpireTime":null,"username":null,"lastLoginDate":null,"changePwdDate":null,"failedLogins":null,"securityQuestion":null,"securityAnswer":null,"auxClasses":[],"derAttrs":[],"resources":["resource-testdb"],"roles":[],"dynRoles":[],"relationships":[],"memberships":[],"dynMemberships":[],"plainAttrs":[{"schema":"firstname","values":[""]},{"schema":"userId","values":["''test''"]},{"schema":"fullname","values":["''test''"]},{"schema":"surname","values":["''test''"]}]}', 'USER', '986867e2-993b-430e-8feb-aa9abb4c1dcd');
INSERT INTO public.anytemplatepulltask VALUES ('9af0e343-8a37-42d2-9bc7-6e2e3b103219', '{"_class":"org.apache.syncope.common.lib.to.GroupTO","creator":null,"creationDate":null,"lastModifier":null,"lastChangeDate":null,"key":null,"type":"GROUP","realm":null,"status":null,"name":null,"userOwner":null,"groupOwner":null,"udynMembershipCond":null,"auxClasses":[],"derAttrs":[],"resources":[],"plainAttrs":[]}', 'GROUP', '986867e2-993b-430e-8feb-aa9abb4c1dcd');


--
-- TOC entry 4783 (class 0 OID 16474)
-- Dependencies: 229
-- Data for Name: anytemplaterealm; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4784 (class 0 OID 16483)
-- Dependencies: 230
-- Data for Name: anytype; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.anytype VALUES ('USER', 'USER');
INSERT INTO public.anytype VALUES ('GROUP', 'GROUP');
INSERT INTO public.anytype VALUES ('PRINTER', 'ANY_OBJECT');


--
-- TOC entry 4786 (class 0 OID 16493)
-- Dependencies: 232
-- Data for Name: anytype_anytypeclass; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.anytype_anytypeclass VALUES ('USER', 'minimal user');
INSERT INTO public.anytype_anytypeclass VALUES ('USER', 'other');
INSERT INTO public.anytype_anytypeclass VALUES ('GROUP', 'minimal group');
INSERT INTO public.anytype_anytypeclass VALUES ('PRINTER', 'minimal printer');


--
-- TOC entry 4785 (class 0 OID 16488)
-- Dependencies: 231
-- Data for Name: anytypeclass; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.anytypeclass VALUES ('generic membership');
INSERT INTO public.anytypeclass VALUES ('minimal user');
INSERT INTO public.anytypeclass VALUES ('other');
INSERT INTO public.anytypeclass VALUES ('minimal group');
INSERT INTO public.anytypeclass VALUES ('minimal printer');
INSERT INTO public.anytypeclass VALUES ('csv');


--
-- TOC entry 4787 (class 0 OID 16498)
-- Dependencies: 233
-- Data for Name: arelationship; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.arelationship VALUES ('11a0ec66-b59b-428a-af3d-f856950ff1c5', 'fc6dbc3a-6c07-4965-8781-921e7401a4a5', '8559d14d-58c2-46eb-a2d4-a7d35161e8f8', 'inclusion');


--
-- TOC entry 4788 (class 0 OID 16505)
-- Dependencies: 234
-- Data for Name: attrreleasepolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.attrreleasepolicy VALUES ('219935c7-deb3-40b3-8a9a-683037e523a2', 'DenyAttrReleasePolicy', 0, '{"_class":"org.apache.syncope.common.lib.policy.DefaultAttrReleasePolicyConf","releaseAttrs":{},"allowedAttrs":[],"excludedAttrs":[],"includeOnlyAttrs":[],"principalIdAttr":null,"principalAttrRepoConf":{"mergingStrategy":"MULTIVALUED","ignoreResolvedAttributes":false,"expiration":0,"timeUnit":"HOURS","attrRepos":[]}}', NULL);
INSERT INTO public.attrreleasepolicy VALUES ('319935c7-deb3-40b3-8a9a-683037e523a2', 'AllowedAttrReleasePolicy', 0, '{"_class":"org.apache.syncope.common.lib.policy.DefaultAttrReleasePolicyConf","releaseAttrs":{},"allowedAttrs":["cn","givenName","uid"],"excludedAttrs":[],"includeOnlyAttrs":[],"principalIdAttr":null,"principalAttrRepoConf":{"mergingStrategy":"MULTIVALUED","ignoreResolvedAttributes":false,"expiration":0,"timeUnit":"HOURS","attrRepos":[]}}', NULL);


--
-- TOC entry 4789 (class 0 OID 16512)
-- Dependencies: 235
-- Data for Name: attrrepo; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.attrrepo VALUES ('DefaultLDAPAttrRepo', NULL, 'ACTIVE', 'LDAP attr repo', NULL, '{"_class":"org.apache.syncope.common.lib.attr.LDAPAttrRepoConf","searchFilter":"cn={user}","subtreeSearch":true,"ldapUrl":"ldap://localhost:1389","bindDn":"uid=admin,ou=system","bindCredential":"secret","baseDn":"ou=People,o=isp","useAllQueryAttributes":true,"queryAttributes":{}}');
INSERT INTO public.attrrepo VALUES ('DefaultJDBCAttrRepo', NULL, 'ACTIVE', 'JDBC attr repo', NULL, '{"_class":"org.apache.syncope.common.lib.attr.JDBCAttrRepoConf","sql":"SELECT * FROM table WHERE name=?","dialect":"org.hibernate.dialect.H2Dialect","driverClass":"org.h2.Driver","url":"jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=-1","user":"username","password":"password","singleRow":true,"requireAllAttributes":true,"caseCanonicalization":"NONE","queryType":"AND","columnMappings":{},"username":[],"caseInsensitiveQueryAttributes":[],"queryAttributes":{}}');
INSERT INTO public.attrrepo VALUES ('DefaultStubAttrRepo', NULL, 'ACTIVE', 'Stub attr repo', '[{"intAttrName":"attr1","extAttrName":"identifier","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}]', '{"_class":"org.apache.syncope.common.lib.attr.StubAttrRepoConf","attributes":{"attr1":"value1"}}');
INSERT INTO public.attrrepo VALUES ('DefaultSyncopeAttrRepo', NULL, 'ACTIVE', 'Syncope attr repo', NULL, '{"_class":"org.apache.syncope.common.lib.attr.SyncopeAttrRepoConf","domain":"Master","searchFilter":"username=={user}","basicAuthUsername":"admin","basicAuthPassword":"password","headers":{}}');


--
-- TOC entry 4790 (class 0 OID 16519)
-- Dependencies: 236
-- Data for Name: auditconf; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.auditconf VALUES ('[LOGIC]:[SyncopeLogic]:[]:[isSelfRegAllowed]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[WA]:[AUTHENTICATION]:[]:[validate]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[WA]:[]:[AuthenticationEvent]:[auth]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[ConnectorLogic]:[]:[create]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[ConnectorLogic]:[]:[update]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[ResourceLogic]:[]:[create]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[ResourceLogic]:[]:[update]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[assign]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[confirmPasswordReset]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[create]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[deprovision]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[link]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[mustChangePassword]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[provision]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[requestPasswordReset]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[selfCreate]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[selfStatus]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[selfUpdate]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[status]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[unassign]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[unlink]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[UserLogic]:[]:[update]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[GroupLogic]:[]:[assign]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[GroupLogic]:[]:[create]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[GroupLogic]:[]:[deprovision]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[GroupLogic]:[]:[provisionMembers]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[GroupLogic]:[]:[unassign]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[GroupLogic]:[]:[unlink]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[GroupLogic]:[]:[update]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[assign]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[create]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[delete]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[deprovision]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[link]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[provision]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[unassign]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[unlink]:[SUCCESS]', 1);
INSERT INTO public.auditconf VALUES ('[LOGIC]:[AnyObjectLogic]:[]:[update]:[SUCCESS]', 1);


--
-- TOC entry 4791 (class 0 OID 16524)
-- Dependencies: 237
-- Data for Name: auditevent; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4792 (class 0 OID 16531)
-- Dependencies: 238
-- Data for Name: authmodule; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.authmodule VALUES ('DefaultLDAPAuthModule', NULL, 'ACTIVE', 'LDAP auth module', '[{"intAttrName":"mail","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"givenName","extAttrName":"given_name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"sn","extAttrName":"family_name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"cn","extAttrName":"name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}]', '{"_class":"org.apache.syncope.common.lib.auth.LDAPAuthModuleConf","principalAttributeId":"cn","bindDn": "uid=admin,ou=system", "bindCredential":"secret","ldapUrl":"ldap://localhost:1389","searchFilter":"cn={user}","baseDn":"ou=People,o=isp","subtreeSearch":true}');
INSERT INTO public.authmodule VALUES ('DefaultJDBCAuthModule', NULL, 'ACTIVE', 'JDBC auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.JDBCAuthModuleConf","sql":"SELECT * FROM users_table WHERE name=?", "fieldPassword": "password"}');
INSERT INTO public.authmodule VALUES ('DefaultGoogleMfaAuthModule', NULL, 'ACTIVE', 'Google Mfa auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.GoogleMfaAuthModuleConf","codeDigits":6,"issuer":"SyncopeTest", "label":"SyncopeTest", "timeStepSize":30, "windowSize":3}');
INSERT INTO public.authmodule VALUES ('DefaultSimpleMfaAuthModule', NULL, 'ACTIVE', 'Simple Mfa auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.SimpleMfaAuthModuleConf","tokenLength":6, "timeToKillInSeconds":30}');
INSERT INTO public.authmodule VALUES ('DefaultDuoMfaAuthModule', NULL, 'ACTIVE', 'Duo Mfa auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.DuoMfaAuthModuleConf","integrationKey":"DIOXVRZD2UMZ8XXMNFQ5","secretKey":"Q2IU2i8BFNd6VYflZT8Evl6lF7oPlj3PM15BmRU7", "apiHost":"theapi.duosecurity.com"}');
INSERT INTO public.authmodule VALUES ('DefaultOIDCAuthModule', NULL, 'ACTIVE', 'OIDC auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.OIDCAuthModuleConf","discoveryUri":"https://localhost:9443/syncope-wa/oidc/.well-known/openid-configuration", "clientId":"client-id", "clientSecret": "client-secret" }');
INSERT INTO public.authmodule VALUES ('DefaultSAML2IdPAuthModule', 0, 'ACTIVE', 'SAML2 IdP auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.SAML2IdPAuthModuleConf","keystorePassword":"p@$$word","privateKeyPassword":"p@$$word","identityProviderMetadataPath":"https://localhost:9443/syncope-wa/idp/metadata", "serviceProviderEntityId":"syncope:apache:org"}');
INSERT INTO public.authmodule VALUES ('DefaultJaasAuthModule', NULL, 'ACTIVE', 'Jaas auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.JaasAuthModuleConf","realm":"SYNCOPE","kerberosRealmSystemProperty":"sample-value", "loginConfigType": "JavaLoginConfig", "loginConfigurationFile": "file:/etc/jaas/login.conf"}');
INSERT INTO public.authmodule VALUES ('DefaultStaticAuthModule', NULL, 'ACTIVE', 'Static auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.StaticAuthModuleConf","users":{"syncope1": "$cynop3"}}');
INSERT INTO public.authmodule VALUES ('DefaultSyncopeAuthModule', NULL, 'ACTIVE', 'Syncope auth module', '[{"intAttrName":"syncopeUserAttr_surname","extAttrName":"family_name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"syncopeUserAttr_fullname","extAttrName":"name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"syncopeUserAttr_firstname","extAttrName":"given_name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"syncopeUserAttr_email","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"memberships","extAttrName":"groups","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}]', '{"_class":"org.apache.syncope.common.lib.auth.SyncopeAuthModuleConf","domain":"Master"}');
INSERT INTO public.authmodule VALUES ('DefaultOAuth20AuthModule', 0, 'ACTIVE', 'OAuth20 auth module', NULL, '{"_class":"org.apache.syncope.common.lib.auth.OAuth20AuthModuleConf","clientName":"oauth20","clientId":"OAUTH20","clientSecret":"secret","enabled":true,"customParams":{},"tokenUrl":"https://localhost/oauth2/token","responseType":"code","scope":"oauth test","userIdAttribute":"username","authUrl":"https://localhost/oauth2/auth","profileUrl":"https://localhost/oauth2/profile","withState":false,"profileVerb":"POST"}');


--
-- TOC entry 4793 (class 0 OID 16538)
-- Dependencies: 239
-- Data for Name: authpolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.authpolicy VALUES ('659b9906-4b6e-4bc0-aca0-6809dff346d4', 'MyDefaultAuthPolicyConf', '{"_class":"org.apache.syncope.common.lib.policy.DefaultAuthPolicyConf","authModules":["LdapAuthenticationTest"]}');
INSERT INTO public.authpolicy VALUES ('b912a0d4-a890-416f-9ab8-84ab077eb028', 'DefaultAuthPolicy', '{"_class":"org.apache.syncope.common.lib.policy.DefaultAuthPolicyConf","authModules":["LdapAuthenticationTest"]}');


--
-- TOC entry 4794 (class 0 OID 16545)
-- Dependencies: 240
-- Data for Name: authprofile; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4795 (class 0 OID 16554)
-- Dependencies: 241
-- Data for Name: casspclientapp; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4796 (class 0 OID 16567)
-- Dependencies: 242
-- Data for Name: confparam; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.confparam VALUES ('password.cipher.algorithm', '"SHA1"');
INSERT INTO public.confparam VALUES ('notificationjob.cronExpression', '"0/20 * * * * ?"');
INSERT INTO public.confparam VALUES ('notification.maxRetries', '3');
INSERT INTO public.confparam VALUES ('token.length', '256');
INSERT INTO public.confparam VALUES ('token.expireTime', '60');
INSERT INTO public.confparam VALUES ('selfRegistration.allowed', 'true');
INSERT INTO public.confparam VALUES ('passwordReset.allowed', 'true');
INSERT INTO public.confparam VALUES ('passwordReset.securityQuestion', 'true');
INSERT INTO public.confparam VALUES ('authentication.attributes', '["username","userId"]');
INSERT INTO public.confparam VALUES ('authentication.statuses', '["created","active"]');
INSERT INTO public.confparam VALUES ('log.lastlogindate', 'true');
INSERT INTO public.confparam VALUES ('return.password.value', 'false');
INSERT INTO public.confparam VALUES ('jwt.lifetime.minutes', '120');
INSERT INTO public.confparam VALUES ('connector.conf.history.size', '10');
INSERT INTO public.confparam VALUES ('resource.conf.history.size', '10');


--
-- TOC entry 4797 (class 0 OID 16574)
-- Dependencies: 243
-- Data for Name: conninstance; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.conninstance VALUES ('413bf072-678a-41d3-9d20-8c453b3a39d1', 'net.tirasa.connid.bundles.missing', NULL, NULL, 'net.tirasa.connid.bundles.missing.MissingConnector', 'Errored', '[]', 'file:/home/ilgrosso/work/syncope/fork/fit/core-reference/target/bundles/', NULL, 'none', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('88a7a819-dab5-46b4-9b90-0b9769eabdb8', 'net.tirasa.connid.bundles.soap', '["CREATE","UPDATE","DELETE","SEARCH"]', NULL, 'net.tirasa.connid.bundles.soap.WebServiceConnector', 'ConnInstance100', '[{"schema":{"name":"endpoint","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["http://localhost:9080/syncope-fit-build-tools/cxf/soap/provisioning"]},{"schema":{"name":"servicename","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["net.tirasa.connid.bundles.soap.provisioning.interfaces.Provisioning"]}]', 'file:/home/ilgrosso/work/syncope/fork/fit/core-reference/target/bundles/', NULL, '1.5.0', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('5aa5b8be-7521-481a-9651-c557aea078c1', 'net.tirasa.connid.bundles.db', '["AUTHENTICATE","CREATE","UPDATE","DELETE","SEARCH","SYNC"]', NULL, 'net.tirasa.connid.bundles.db.table.DatabaseTableConnector', 'H2', '[{"schema":{"name":"disabledStatusValue","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"user","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["sa"]},{"schema":{"name":"keyColumn","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["id"]},{"schema":{"name":"retrievePassword","displayName":null,"helpMessage":null,"type":"boolean","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["true"]},{"schema":{"name":"cipherAlgorithm","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["SHA1"]},{"schema":{"name":"enabledStatusValue","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["true"]},{"schema":{"name":"passwordColumn","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["password"]},{"schema":{"name":"jdbcDriver","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["org.h2.Driver"]},{"schema":{"name":"defaultStatusValue","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["true"]},{"schema":{"name":"table","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["test"]},{"schema":{"name":"password","displayName":null,"helpMessage":null,"type":"org.identityconnectors.common.security.GuardedString","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["sa"]},{"schema":{"name":"statusColumn","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["status"]},{"schema":{"name":"jdbcUrlTemplate","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["jdbc:h2:tcp://localhost:9092/mem:testdb;DB_CLOSE_DELAY=-1"]}]', 'connid://testconnectorserver@localhost:4554', NULL, '2.4.1', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('5ffbb4ac-a8c3-4b44-b699-11b398a1ba08', 'net.tirasa.connid.bundles.soap', '["CREATE","UPDATE","DELETE","SEARCH"]', 10, 'net.tirasa.connid.bundles.soap.WebServiceConnector', 'ConnInstance102', '[{"schema":{"name":"servicename","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["net.tirasa.connid.bundles.soap.provisioning.interfaces.Provisioning"]},{"schema":{"name":"endpoint","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":true,"values":["http://localhost:9080/syncope-fit-build-tools/cxf/soap/provisioning"]}]', 'file:/home/ilgrosso/work/syncope/fork/fit/core-reference/target/bundles/', NULL, '1.5.0', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('fcf9f2b0-f7d6-42c9-84a6-61b28255a42b', 'net.tirasa.connid.bundles.soap', NULL, NULL, 'net.tirasa.connid.bundles.soap.WebServiceConnector', 'ConnInstance103', '[{"schema":{"name":"endpoint","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["http://localhost:9080/syncope-fit-build-tools/cxf/soap/provisioning"]},{"schema":{"name":"servicename","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["net.tirasa.connid.bundles.soap.provisioning.interfaces.Provisioning"]}]', 'file:/home/ilgrosso/work/syncope/fork/fit/core-reference/target/bundles/', NULL, '1.5.0', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('6c2acf1b-b052-46f0-8c56-7a8ad6905edf', 'net.tirasa.connid.bundles.csvdir', '["CREATE","UPDATE","DELETE","SEARCH","SYNC"]', NULL, 'net.tirasa.connid.bundles.csvdir.CSVDirConnector', 'CSVDir', '[{"schema":{"name":"fields","displayName":"fields","helpMessage":"Column names separated by comma","type":"[Ljava.lang.String;","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["id","name","surname","email","password","theirgroup","membership","status","deleted"]},{"schema":{"name":"keyColumnNames","displayName":"Key column name","helpMessage":"Name of the column used to identify user uniquely","type":"[Ljava.lang.String;","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["name","surname"]},{"schema":{"name":"deleteColumnName","displayName":"Delete column name","helpMessage":"Name of the column used to specify users to be deleted","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["deleted"]},{"schema":{"name":"passwordColumnName","displayName":"Password column name","helpMessage":"Name of the column used to specify user password","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["password"]},{"schema":{"name":"keyseparator","displayName":"Key separator","helpMessage":"Character used to separate keys in a multi-key scenario","type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":[","]},{"schema":{"name":"ignoreHeader","displayName":"Ignore header","helpMessage":"Specify it first line file must be ignored","type":"java.lang.Boolean","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":[false]},{"schema":{"name":"fieldDelimiter","displayName":"fieldDelimiter","helpMessage":"fieldDelimiter","type":"char","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":[","]},{"schema":{"name":"quotationRequired","displayName":"Value quotation required","helpMessage":"Specify if value quotation is required","type":"java.lang.Boolean","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":[false]},{"schema":{"name":"statusColumn","displayName":"statusColumn","helpMessage":"Status column","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["status"]},{"schema":{"name":"sourcePath","displayName":"Source path","helpMessage":"Absolute path of a directory where are located CSV files to be processed","type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-csvdir"]},{"schema":{"name":"fileMask","displayName":"File mask","helpMessage":"Regular expression describing files to be processed","type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["test.csv"]}]', 'file:/home/ilgrosso/work/syncope/fork/fit/core-reference/target/bundles/', NULL, '0.8.9', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('74141a3b-0762-4720-a4aa-fc3e374ef3ef', 'net.tirasa.connid.bundles.ldap', '["CREATE","UPDATE","UPDATE_DELTA","DELETE","SEARCH"]', NULL, 'net.tirasa.connid.bundles.ldap.LdapConnector', 'TestLDAP', '[{"schema":{"name":"host","type":"java.lang.String","required":true,"order":1,"confidential":false,"defaultValues":[]},"values":["localhost"],"overridable":false},{"schema":{"name":"port","type":"int","required":false,"order":2,"confidential":false,"defaultValues":[389]},"values":[1389],"overridable":false},{"schema":{"name":"ssl","type":"boolean","required":false,"order":3,"confidential":false,"defaultValues":[false]},"values":["false"],"overridable":false},{"schema":{"name":"failover","type":"[Ljava.lang.String;","required":false,"order":4,"confidential":false,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"principal","type":"java.lang.String","required":false,"order":5,"confidential":false,"defaultValues":[]},"values":["uid=admin,ou=system"],"overridable":false},{"schema":{"name":"credentials","type":"org.identityconnectors.common.security.GuardedString","required":false,"order":6,"confidential":true,"defaultValues":[]},"values":["secret"],"overridable":false},{"schema":{"name":"baseContexts","type":"[Ljava.lang.String;","required":true,"order":7,"confidential":false,"defaultValues":[]},"values":["ou=people,o=isp","ou=groups,o=isp"],"overridable":true},{"schema":{"name":"passwordAttribute","type":"java.lang.String","required":false,"order":8,"confidential":false,"defaultValues":["userPassword"]},"values":["userpassword"],"overridable":false},{"schema":{"name":"accountObjectClasses","type":"[Ljava.lang.String;","required":false,"order":9,"confidential":false,"defaultValues":["top","person","organizationalPerson","inetOrgPerson"]},"values":["inetOrgPerson"],"overridable":false},{"schema":{"name":"accountUserNameAttributes","type":"[Ljava.lang.String;","required":false,"order":10,"confidential":false,"defaultValues":["uid","cn"]},"values":["uid"],"overridable":false},{"schema":{"name":"accountSearchFilter","type":"java.lang.String","required":false,"order":11,"confidential":false,"defaultValues":[]},"values":["uid=*"],"overridable":false},{"schema":{"name":"groupObjectClasses","type":"[Ljava.lang.String;","required":false,"order":12,"confidential":false,"defaultValues":["top","groupOfUniqueNames"]},"values":[],"overridable":false},{"schema":{"name":"groupNameAttributes","type":"[Ljava.lang.String;","required":false,"order":13,"confidential":false,"defaultValues":["cn"]},"values":["cn"],"overridable":false},{"schema":{"name":"groupMemberAttribute","type":"java.lang.String","required":false,"order":14,"confidential":false,"defaultValues":["uniqueMember"]},"values":[],"overridable":false},{"schema":{"name":"maintainLdapGroupMembership","type":"boolean","required":false,"order":15,"confidential":false,"defaultValues":[false]},"values":["true"],"overridable":false},{"schema":{"name":"maintainPosixGroupMembership","type":"boolean","required":false,"order":16,"confidential":false,"defaultValues":[false]},"values":["false"],"overridable":false},{"schema":{"name":"addPrincipalToNewGroups","type":"boolean","required":false,"order":17,"confidential":false,"defaultValues":[false]},"values":["true"],"overridable":false},{"schema":{"name":"passwordHashAlgorithm","type":"java.lang.String","required":false,"order":18,"confidential":false,"defaultValues":[]},"values":["SHA"],"overridable":false},{"schema":{"name":"respectResourcePasswordPolicyChangeAfterReset","type":"boolean","required":false,"order":19,"confidential":false,"defaultValues":[false]},"values":["false"],"overridable":false},{"schema":{"name":"useVlvControls","type":"boolean","required":false,"order":20,"confidential":false,"defaultValues":[false]},"values":[],"overridable":false},{"schema":{"name":"vlvSortAttribute","type":"java.lang.String","required":false,"order":21,"confidential":false,"defaultValues":["uid"]},"values":[],"overridable":false},{"schema":{"name":"uidAttribute","type":"java.lang.String","required":false,"order":22,"confidential":false,"defaultValues":["entryUUID"]},"values":["cn"],"overridable":true},{"schema":{"name":"gidAttribute","type":"java.lang.String","required":false,"order":23,"confidential":false,"defaultValues":["entryUUID"]},"values":["cn"],"overridable":true},{"schema":{"name":"readSchema","type":"boolean","required":false,"order":23,"confidential":false,"defaultValues":[true]},"values":["true"],"overridable":false},{"schema":{"name":"baseContextsToSynchronize","type":"[Ljava.lang.String;","required":false,"order":24,"confidential":false,"defaultValues":[]},"values":["ou=people,o=isp","ou=groups,o=isp"],"overridable":false},{"schema":{"name":"objectClassesToSynchronize","type":"[Ljava.lang.String;","required":false,"order":25,"confidential":false,"defaultValues":["inetOrgPerson"]},"values":["inetOrgPerson","groupOfUniqueNames"],"overridable":false},{"schema":{"name":"attributesToSynchronize","type":"[Ljava.lang.String;","required":false,"order":26,"confidential":false,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"modifiersNamesToFilterOut","type":"[Ljava.lang.String;","required":false,"order":27,"confidential":false,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"accountSynchronizationFilter","type":"java.lang.String","required":false,"order":28,"confidential":false,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"changeLogBlockSize","type":"int","required":false,"order":29,"confidential":false,"defaultValues":[100]},"values":[100],"overridable":false},{"schema":{"name":"changeNumberAttribute","type":"java.lang.String","required":false,"order":30,"confidential":false,"defaultValues":["changeNumber"]},"values":["changeNumber"],"overridable":false},{"schema":{"name":"filterWithOrInsteadOfAnd","type":"boolean","required":false,"order":31,"confidential":false,"defaultValues":[false]},"values":["false"],"overridable":false},{"schema":{"name":"removeLogEntryObjectClassFromFilter","type":"boolean","required":false,"order":32,"confidential":false,"defaultValues":[true]},"values":["false"],"overridable":false},{"schema":{"name":"synchronizePasswords","type":"boolean","required":false,"order":33,"confidential":false,"defaultValues":[false]},"values":["false"],"overridable":false},{"schema":{"name":"passwordAttributeToSynchronize","type":"java.lang.String","required":false,"order":34,"confidential":false,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"passwordDecryptionKey","type":"org.identityconnectors.common.security.GuardedByteArray","required":false,"order":35,"confidential":true,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"passwordDecryptionInitializationVector","type":"org.identityconnectors.common.security.GuardedByteArray","required":false,"order":36,"confidential":true,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"statusManagementClass","type":"java.lang.String","required":false,"order":37,"confidential":false,"defaultValues":[]},"values":["net.tirasa.connid.bundles.ldap.commons.AttributeStatusManagement"],"overridable":false},{"schema":{"name":"retrievePasswordsWithSearch","type":"boolean","required":false,"order":38,"confidential":false,"defaultValues":[false]},"values":[],"overridable":false},{"schema":{"name":"dnAttribute","type":"java.lang.String","required":false,"order":39,"confidential":false,"defaultValues":["entryDN"]},"values":[],"overridable":false},{"schema":{"name":"groupSearchFilter","type":"java.lang.String","required":false,"order":40,"confidential":false,"defaultValues":[]},"values":[],"overridable":false},{"schema":{"name":"readTimeout","type":"long","required":false,"order":41,"confidential":false,"defaultValues":[0]},"values":[],"overridable":false},{"schema":{"name":"connectTimeout","type":"long","required":false,"order":42,"confidential":false,"defaultValues":[0]},"values":[],"overridable":false}]', 'file:/home/ilgrosso/work/syncope/fork/fit/core-reference/target/bundles/', '{"maxObjects":5,"minIdle":2,"maxIdle":3,"maxWait":10,"minEvictableIdleTimeMillis":5}', '1.5.10', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('a28abd9b-9f4a-4ef6-a7a8-d19ad2a8f29d', 'net.tirasa.connid.bundles.db', '["CREATE","UPDATE","SYNC","SEARCH"]', NULL, 'net.tirasa.connid.bundles.db.table.DatabaseTableConnector', 'H2-test2', '[{"schema":{"name":"disabledStatusValue","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"user","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["sa"]},{"schema":{"name":"keyColumn","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["id"]},{"schema":{"name":"cipherAlgorithm","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["SHA1"]},{"schema":{"name":"enabledStatusValue","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["true"]},{"schema":{"name":"passwordColumn","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["password"]},{"schema":{"name":"jdbcDriver","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["org.h2.Driver"]},{"schema":{"name":"retrievePassword","displayName":null,"helpMessage":null,"type":"java.lang.Boolean","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["true"]},{"schema":{"name":"defaultStatusValue","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["true"]},{"schema":{"name":"password","displayName":null,"helpMessage":null,"type":"org.identityconnectors.common.security.GuardedString","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["sa"]},{"schema":{"name":"statusColumn","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["status"]},{"schema":{"name":"jdbcUrlTemplate","displayName":null,"helpMessage":null,"type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["jdbc:h2:tcp://localhost:9092/mem:testdb;DB_CLOSE_DELAY=-1"]},{"schema":{"name":"table","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":false,"values":["test2"]}]', 'connid://testconnectorserver@localhost:4554', NULL, '2.4.1', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('be24b061-019d-4e3e-baf0-0a6d0a45cb9c', 'net.tirasa.connid.bundles.db', '["CREATE","UPDATE","DELETE","SEARCH"]', NULL, 'net.tirasa.connid.bundles.db.table.DatabaseTableConnector', 'H2-testpull', '[{"schema":{"name":"changeLogColumn","displayName":"Change Log Column (Sync)","helpMessage":"=<b>Change Log Column</b><br>The change log column store the latest change time. Providing this value the Pull capabilities are activated.","type":"java.lang.String","required":false,"order":21,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"nativeTimestamps","displayName":"Native Timestamps ","helpMessage":"<b>Native Timestamps</b><br>Select to retrieve Timestamp data type of the columns in java.sql.Timestamp format from the database table.","type":"boolean","required":false,"order":18,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"cipherAlgorithm","displayName":"Password cipher algorithm (defaults to CLEARTEXT)","helpMessage":"Cipher algorithm used to encode password before to store it onto the database table.\nSpecify one of the values among CLEARTEXT,AES, MD5, SHA1, SHA256 or a custom implementation identified by its class name.","type":"java.lang.String","required":false,"order":24,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"enabledStatusValue","displayName":"Enabled Status Value","helpMessage":"<b>Enabled Status Value</b><br>Enter the value for enabled status.","type":"java.lang.String","required":false,"order":12,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"retrievePassword","displayName":"Retrieve password","helpMessage":"Specify if password must be retrieved by default.","type":"boolean","required":true,"order":27,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"datasource","displayName":"Datasource Path","helpMessage":"<b>JDBC Data Source Name/Path</b><br>Enter the JDBC Data Source Name/Path to connect to the Oracle server. If specified, connector will only try to connect using Datasource and ignore other resource parameters specified.<br>the example value is: <CODE>jdbc/SampleDataSourceName</CODE>","type":"java.lang.String","required":false,"order":22,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"allNative","displayName":"All native","helpMessage":"<b>All native</b><br>Select to retrieve all data type of the columns in a native format from the database table.","type":"boolean","required":false,"order":19,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"user","displayName":"User","helpMessage":"<b>User</b><br>Enter the name of the mandatory Database user with permission to account table.","type":"java.lang.String","required":false,"order":4,"confidential":false,"defaultValues":null},"overridable":false,"values":["sa"]},{"schema":{"name":"pwdEncodeToLowerCase","displayName":"Force password encoding to lower case","helpMessage":"Force password encoding to lower case.","type":"boolean","required":false,"order":26,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"jdbcUrlTemplate","displayName":"JDBC Connection URL","helpMessage":"<b>JDBC Connection URL</b><br>Specify the JDBC Driver Connection URL.<br> Oracle template is jdbc:oracle:thin:@[host]:[port(1521)]:[DB].<br>  MySQL template is jdbc:mysql://[host]:[port(3306)]/[db], for more info, read the JDBC driver documentation.<br>Could be empty if datasource is provided.","type":"java.lang.String","required":false,"order":15,"confidential":false,"defaultValues":null},"overridable":false,"values":["jdbc:h2:tcp://localhost:9092/mem:testdb;DB_CLOSE_DELAY=-1"]},{"schema":{"name":"keyColumn","displayName":"Key Column","helpMessage":"<b>Key Column</b><br>This mandatory column value will be used as the unique identifier for rows in the table.<br>","type":"java.lang.String","required":true,"order":8,"confidential":false,"defaultValues":null},"overridable":false,"values":["id"]},{"schema":{"name":"validConnectionQuery","displayName":"Validate Connection Query","helpMessage":"<b>Validate Connection Query</b><br>There can be specified the check connection alive query. If empty, default implementation will test it using the switch on/off the autocommit. Some select 1 from dummy table could be more efficient.","type":"java.lang.String","required":false,"order":20,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"rethrowAllSQLExceptions","displayName":"Rethrow all SQLExceptions","helpMessage":"If this is not checked, SQL statements which throw SQLExceptions with a 0 ErrorCode will be have the exception caught and suppressed. Check it to have exceptions with 0 ErrorCodes rethrown.","type":"boolean","required":false,"order":17,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"passwordColumn","displayName":"Password Column","helpMessage":"<b>Password Column</b><br>Enter the name of the column in the table that will hold the password values. If empty, no validation on resource and passwords are activated.","type":"java.lang.String","required":false,"order":9,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"jndiProperties","displayName":"Initial JNDI Properties","helpMessage":"<b>Initial JNDI Properties</b><br>Could be empty or enter the JDBC JNDI Initial context factory, context provider in a format: key = value.","type":"[Ljava.lang.String;","required":false,"order":23,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"password","displayName":"User Password","helpMessage":"<b>User Password</b><br>Enter a user account that has permission to access accounts table.","type":"org.identityconnectors.common.security.GuardedString","required":false,"order":5,"confidential":true,"defaultValues":null},"overridable":false,"values":["sa"]},{"schema":{"name":"host","displayName":"Host","helpMessage":"<b>Host</b><br>Enter the name of the host where the database is running.","type":"java.lang.String","required":false,"order":2,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"port","displayName":"Port","helpMessage":"<b>TCP Port</b><br>Enter the port number the database server is listening on.","type":"java.lang.String","required":false,"order":3,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"statusColumn","displayName":"Status Column","helpMessage":"<b>Status Column</b><br>Enter the name of the column in the table that will hold the status values. If empty enabled and disabled operation wont be performed.","type":"java.lang.String","required":false,"order":10,"confidential":false,"defaultValues":null},"overridable":false,"values":["status"]},{"schema":{"name":"pwdEncodeToUpperCase","displayName":"Force password encoding to upper case","helpMessage":"Force password encoding to upper case.","type":"boolean","required":false,"order":25,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"enableEmptyString","displayName":"Enable writing empty string","helpMessage":"<b>Enable writing empty string</b><br>Select to enable support for writing an empty strings, instead of a NULL value, in character based columns defined as not-null in the table schema. This option does not influence the way strings are written for Oracle based tables. By default empty strings are written as a NULL value.","type":"boolean","required":false,"order":16,"confidential":false,"defaultValues":null},"overridable":false,"values":["false"]},{"schema":{"name":"database","displayName":"Database","helpMessage":"<b>Database</b><br>Enter the name of the database on the database server that contains the table.","type":"java.lang.String","required":false,"order":6,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"defaultStatusValue","displayName":"Default Status Value","helpMessage":"<b>Default Status Value</b><br>Enter the value for status in case of status not specified.","type":"java.lang.String","required":false,"order":13,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"table","displayName":"Table","helpMessage":"<b>Table</b><br>Enter the name of the table in the database that contains the accounts.","type":"java.lang.String","required":true,"order":7,"confidential":false,"defaultValues":null},"overridable":false,"values":["testpull"]},{"schema":{"name":"disabledStatusValue","displayName":"Disabled Status Value","helpMessage":"<b>Disabled Status Value</b><br>Enter the value for disabled status.","type":"java.lang.String","required":false,"order":11,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"jdbcDriver","displayName":"JDBC Driver","helpMessage":"<b>JDBC Driver</b><br>Specify the JDBC Driver class name. Oracle is oracle.jdbc.driver.OracleDriver. MySQL is org.gjt.mm.mysql.Driver.<br>Could be empty if datasource is provided.","type":"java.lang.String","required":false,"order":14,"confidential":false,"defaultValues":null},"overridable":false,"values":["org.h2.Driver"]},{"schema":{"name":"quoting","displayName":"Name Quoting","helpMessage":"<b>Name Quoting</b><br>Select whether database column names for this resource should be quoted, and the quoting characters. By default, database column names are not quoted (None). For other selections (Single, Double, Back, or Brackets), column names will appear between single quotes, double quotes, back quotes, or brackets in the SQL generated to access the database.","type":"java.lang.String","required":false,"order":1,"confidential":false,"defaultValues":null},"overridable":false,"values":[]},{"schema":{"name":"cipherKey","displayName":"Password cipher key","helpMessage":"Specify key in case of reversible algorithm.","type":"java.lang.String","required":false,"order":25,"confidential":false,"defaultValues":null},"overridable":false,"values":[]}]', 'connid://testconnectorserver@localhost:4554', NULL, '2.4.1', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.conninstance VALUES ('a6d017fd-a705-4507-bb7c-6ab6a6745997', 'net.tirasa.connid.bundles.db', '["CREATE","UPDATE","UPDATE_DELTA","DELETE","SEARCH","SYNC"]', NULL, 'net.tirasa.connid.bundles.db.scriptedsql.ScriptedSQLConnector', 'Scripted SQL', '[{"schema":{"name":"updateScriptFileName","displayName":"updateScriptFileName","helpMessage":"updateScriptFileName","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/scriptedsql/UpdateScript.groovy"]},{"schema":{"name":"testScript","displayName":"testScript","helpMessage":"testScript","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"host","displayName":"Host","helpMessage":"<b>Host</b><br/>Enter the name of the host where the database is running.","type":"java.lang.String","required":false,"order":2,"confidential":false,"defaultValues":["localhost"]},"overridable":false},{"schema":{"name":"port","displayName":"Port","helpMessage":"<b>TCP Port</b><br/>Enter the port number the database server is listening on.","type":"java.lang.String","required":false,"order":3,"confidential":false,"defaultValues":["3306"]},"overridable":false},{"schema":{"name":"database","displayName":"Database","helpMessage":"<b>Database</b><br/>Enter the name of the database on the database server that contains the table.","type":"java.lang.String","required":false,"order":6,"confidential":false,"defaultValues":[""]},"overridable":false},{"schema":{"name":"createScript","displayName":"createScript","helpMessage":"createScript","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"jdbcUrlTemplate","displayName":"JDBC Connection URL","helpMessage":"<b>JDBC Connection URL</b><br/>Specify the JDBC Driver Connection URL.<br/> Oracle template is jdbc:oracle:thin:@[host]:[port(1521)]:[DB].<br/>  MySQL template is jdbc:mysql://[host]:[port(3306)]/[db], for more info, read the JDBC driver documentation.<br/>Could be empty if datasource is provided.","type":"java.lang.String","required":false,"order":11,"confidential":false,"defaultValues":["jdbc:mysql://%h:%p/%d"]},"overridable":false,"values":["jdbc:h2:tcp://localhost:9092/mem:testdb;DB_CLOSE_DELAY=-1"]},{"schema":{"name":"jndiProperties","displayName":"Initial JNDI Properties","helpMessage":"<b>Initial JNDI Properties</b><br/>Could be empty or enter the JDBC JNDI Initial context factory, context provider in a format: key = value.","type":"[Ljava.lang.String;","required":false,"order":21,"confidential":false,"defaultValues":[]},"overridable":false,"values":[]},{"schema":{"name":"enableEmptyString","displayName":"Enable writing empty string","helpMessage":"<b>Enable writing empty string</b><br/>Select to enable support for writing an empty strings, instead of a NULL value, in character based columns defined as not-null in the table schema. This option does not influence the way strings are written for Oracle based tables. By default empty strings are written as a NULL value.","type":"boolean","required":false,"order":12,"confidential":false,"defaultValues":[false]},"overridable":false,"values":["false"]},{"schema":{"name":"allNative","displayName":"All native","helpMessage":"<b>All native</b><br/>Select to retrieve all data type of the columns in a native format from the database table.","type":"boolean","required":false,"order":16,"confidential":false,"defaultValues":[false]},"overridable":false,"values":[false]},{"schema":{"name":"password","displayName":"User Password","helpMessage":"<b>User Password</b><br/>Enter a user account that has permission to access accounts table.","type":"org.identityconnectors.common.security.GuardedString","required":false,"order":5,"confidential":true,"defaultValues":[]},"overridable":false,"values":["sa"]},{"schema":{"name":"validConnectionQuery","displayName":"Validate Connection Query","helpMessage":"<b>Validate Connection Query</b><br/>There can be specified the check connection alive query. If empty, default implementation will test it using the switch on/off the autocommit. Some select 1 from dummy table could be more efficient.","type":"java.lang.String","required":false,"order":17,"confidential":false,"defaultValues":[]},"overridable":false,"values":[]},{"schema":{"name":"reloadScriptOnExecution","displayName":"reloadScriptOnExecution","helpMessage":"reloadScriptOnExecution","type":"boolean","required":false,"order":0,"confidential":false,"defaultValues":[false]},"overridable":false,"values":["true"]},{"schema":{"name":"schemaScriptFileName","displayName":"schemaScriptFileName","helpMessage":"schemaScriptFileName","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":true,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/scriptedsql/SchemaScript.groovy"]},{"schema":{"name":"jdbcDriver","displayName":"JDBC Driver","helpMessage":"<b>JDBC Driver</b><br/>Specify the JDBC Driver class name. Oracle is oracle.jdbc.driver.OracleDriver. MySQL is org.gjt.mm.mysql.Driver.<br/>Could be empty if datasource is provided.","type":"java.lang.String","required":false,"order":10,"confidential":false,"defaultValues":["com.mysql.jdbc.Driver"]},"overridable":false,"values":["org.h2.Driver"]},{"schema":{"name":"testScriptFileName","displayName":"testScriptFileName","helpMessage":"testScriptFileName","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":true,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/scriptedsql/TestScript.groovy"]},{"schema":{"name":"quoting","displayName":"Name Quoting","helpMessage":"<b>Name Quoting</b><br/>Select whether database column names for this resource should be quoted, and the quoting characters. By default, database column names are not quoted (None). For other selections (Single, Double, Back, or Brackets), column names will appear between single quotes, double quotes, back quotes, or brackets in the SQL generated to access the database.","type":"java.lang.String","required":false,"order":-1,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"createScriptFileName","displayName":"createScriptFileName","helpMessage":"createScriptFileName","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/scriptedsql/CreateScript.groovy"]},{"schema":{"name":"clearTextPasswordToScript","displayName":"clearTextPasswordToScript","helpMessage":"clearTextPasswordToScript","type":"boolean","required":false,"order":0,"confidential":false,"defaultValues":[true]},"overridable":false,"values":["false"]},{"schema":{"name":"nativeTimestamps","displayName":"Native Timestamps","helpMessage":"<b>Native Timestamps</b><br/>Select to retrieve Timestamp data type of the columns in java.sql.Timestamp format from the database table.","type":"boolean","required":false,"order":15,"confidential":false,"defaultValues":[false]},"overridable":false,"values":[false]},{"schema":{"name":"syncScript","displayName":"syncScript","helpMessage":"syncScript","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"autoCommit","displayName":"autoCommit","helpMessage":"autoCommit","type":"boolean","required":false,"order":0,"confidential":false,"defaultValues":[true]},"overridable":false,"values":[true]},{"schema":{"name":"scriptingLanguage","displayName":"scriptingLanguage","helpMessage":"scriptingLanguage","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":["GROOVY"]},"overridable":false,"values":["GROOVY"]},{"schema":{"name":"datasource","displayName":"Datasource Path","helpMessage":"<b>JDBC Data Source Name/Path</b><br/>Enter the JDBC Data Source Name/Path to connect to the Oracle server. If specified, connector will only try to connect using Datasource and ignore other resource parameters specified.<br/>the example value is: <CODE>jdbc/SampleDataSourceName</CODE>","type":"java.lang.String","required":false,"order":20,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"deleteScript","displayName":"deleteScript","helpMessage":"deleteScript","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"rethrowAllSQLExceptions","displayName":"Rethrow all SQLExceptions","helpMessage":"If this is not checked, SQL statements which throw SQLExceptions with a 0 ErrorCode will be have the exception caught and suppressed. Check it to have exceptions with 0 ErrorCodes rethrown.","type":"boolean","required":false,"order":14,"confidential":false,"defaultValues":[true]},"overridable":false,"values":[true]},{"schema":{"name":"syncScriptFileName","displayName":"syncScriptFileName","helpMessage":"syncScriptFileName","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":true,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/scriptedsql/SyncScript.groovy"]},{"schema":{"name":"updateScript","displayName":"updateScript","helpMessage":"updateScript","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"user","displayName":"User","helpMessage":"<b>User</b><br/>Enter the name of the mandatory Database user with permission to account table.","type":"java.lang.String","required":false,"order":4,"confidential":false,"defaultValues":[""]},"overridable":false,"values":["sa"]},{"schema":{"name":"deleteScriptFileName","displayName":"deleteScriptFileName","helpMessage":"deleteScriptFileName","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/scriptedsql/DeleteScript.groovy"]},{"schema":{"name":"searchScriptFileName","displayName":"searchScriptFileName","helpMessage":"searchScriptFileName","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":true,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/scriptedsql/SearchScript.groovy"]},{"schema":{"name":"searchScript","displayName":"searchScript","helpMessage":"searchScript","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]}]', 'connid://testconnectorserver@localhost:4554', NULL, '2.4.1', '0679e069-7355-4b20-bd11-a5a0a5453c7c');
INSERT INTO public.conninstance VALUES ('44c02549-19c3-483c-8025-4919c3283c37', 'net.tirasa.connid.bundles.rest', '["AUTHENTICATE","CREATE","UPDATE","DELETE","SEARCH","SYNC"]', NULL, 'net.tirasa.connid.bundles.rest.RESTConnector', 'REST', '[{"schema":{"name":"authenticateScript","displayName":"authenticateScript","helpMessage":"authenticateScript","type":"java.lang.String","required":false,"order":6,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"contentType","displayName":"contentType","helpMessage":"contentType","type":"java.lang.String","required":true,"order":-1,"confidential":false,"defaultValues":["application/json"]},"overridable":false,"values":["application/json"]},{"schema":{"name":"resolveUsernameScriptFileName","displayName":"resolveUsernameScriptFileName","helpMessage":"resolveUsernameScriptFileName","type":"java.lang.String","required":false,"order":15,"confidential":false,"defaultValues":[]},"overridable":false,"values":[]},{"schema":{"name":"createScriptFileName","displayName":"createScriptFileName","helpMessage":"createScriptFileName","type":"java.lang.String","required":false,"order":10,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/CreateScript.groovy"]},{"schema":{"name":"username","displayName":"username","helpMessage":"username","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":[]},"overridable":false,"values":[]},{"schema":{"name":"updateScript","displayName":"updateScript","helpMessage":"updateScript","type":"java.lang.String","required":false,"order":4,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"searchScript","displayName":"searchScript","helpMessage":"searchScript","type":"java.lang.String","required":false,"order":6,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"clearTextPasswordToScript","displayName":"clearTextPasswordToScript","helpMessage":"clearTextPasswordToScript","type":"boolean","required":false,"order":1,"confidential":false,"defaultValues":[true]},"overridable":false,"values":[true]},{"schema":{"name":"syncScript","displayName":"syncScript","helpMessage":"syncScript","type":"java.lang.String","required":false,"order":7,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"deleteScriptFileName","displayName":"deleteScriptFileName","helpMessage":"deleteScriptFileName","type":"java.lang.String","required":false,"order":12,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/DeleteScript.groovy"]},{"schema":{"name":"resolveUsernameScript","displayName":"resolveUsernameScript","helpMessage":"resolveUsernameScript","type":"java.lang.String","required":false,"order":6,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"searchScriptFileName","displayName":"searchScriptFileName","helpMessage":"searchScriptFileName","type":"java.lang.String","required":false,"order":13,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/SearchScript.groovy"]},{"schema":{"name":"syncScriptFileName","displayName":"syncScriptFileName","helpMessage":"syncScriptFileName","type":"java.lang.String","required":false,"order":16,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/SyncScript.groovy"]},{"schema":{"name":"schemaScriptFileName","displayName":"schemaScriptFileName","helpMessage":"schemaScriptFileName","type":"java.lang.String","required":false,"order":17,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/SchemaScript.groovy"]},{"schema":{"name":"password","displayName":"password","helpMessage":"password","type":"org.identityconnectors.common.security.GuardedString","required":false,"order":1,"confidential":true,"defaultValues":[]},"overridable":false,"values":[]},{"schema":{"name":"updateScriptFileName","displayName":"updateScriptFileName","helpMessage":"updateScriptFileName","type":"java.lang.String","required":false,"order":11,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/UpdateScript.groovy"]},{"schema":{"name":"testScriptFileName","displayName":"testScriptFileName","helpMessage":"testScriptFileName","type":"java.lang.String","required":false,"order":18,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/TestScript.groovy"]},{"schema":{"name":"accept","displayName":"accept","helpMessage":"accept","type":"java.lang.String","required":true,"order":-2,"confidential":false,"defaultValues":["application/json"]},"overridable":false,"values":["application/json"]},{"schema":{"name":"baseAddress","displayName":"baseAddress","helpMessage":"baseAddress","type":"java.lang.String","required":true,"order":-3,"confidential":false,"defaultValues":[]},"overridable":false,"values":["http://localhost:9080/syncope-fit-build-tools/cxf/rest"]},{"schema":{"name":"authenticateScriptFileName","displayName":"authenticateScriptFileName","helpMessage":"authenticateScriptFileName","type":"java.lang.String","required":false,"order":14,"confidential":false,"defaultValues":[]},"overridable":false,"values":["/home/ilgrosso/work/syncope/fork/fit/core-reference/target/test-classes/rest/AuthenticateScript.groovy"]},{"schema":{"name":"deleteScript","displayName":"deleteScript","helpMessage":"deleteScript","type":"java.lang.String","required":false,"order":5,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"schemaScript","displayName":"schemaScript","helpMessage":"schemaScript","type":"java.lang.String","required":false,"order":8,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"createScript","displayName":"createScript","helpMessage":"createScript","type":"java.lang.String","required":false,"order":3,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"scriptingLanguage","displayName":"scriptingLanguage","helpMessage":"scriptingLanguage","type":"java.lang.String","required":false,"order":0,"confidential":false,"defaultValues":["GROOVY"]},"overridable":false,"values":["GROOVY"]},{"schema":{"name":"testScript","displayName":"testScript","helpMessage":"testScript","type":"java.lang.String","required":false,"order":9,"confidential":false,"defaultValues":[""]},"overridable":false,"values":[]},{"schema":{"name":"reloadScriptOnExecution","displayName":"reloadScriptOnExecution","helpMessage":"reloadScriptOnExecution","type":"boolean","required":false,"order":2,"confidential":false,"defaultValues":[false]},"overridable":false,"values":[false]}]', 'connid://testconnectorserver@localhost:4554', NULL, '1.1.1', '0679e069-7355-4b20-bd11-a5a0a5453c7c');
INSERT INTO public.conninstance VALUES ('01938bdf-7ac6-7149-a103-3ec9e74cc824', 'net.tirasa.connid.bundles.kafka', '["DELETE","LIVE_SYNC","CREATE","UPDATE"]', NULL, 'net.tirasa.connid.bundles.kafka.KafkaConnector', 'Kafka', '[{"schema":{"name":"bootstrapServers","displayName":"Bootstrap servers","helpMessage":"A list of host/port pairs used to establish the initial connection to the Kafka cluster","type":"java.lang.String","required":true,"order":1,"confidential":false,"defaultValues":[]},"values":["localhost:19092"],"overridable":false},{"schema":{"name":"clientId","displayName":"Client id","helpMessage":"Client id for subscription","type":"java.lang.String","required":true,"order":2,"confidential":false,"defaultValues":[]},"values":["syncope"],"overridable":false},{"schema":{"name":"consumerGroupId","displayName":"Consumer Group id","helpMessage":"A unique string that identifies the consumer group this consumer belongs to.","type":"java.lang.String","required":true,"order":3,"confidential":false,"defaultValues":[]},"values":["syncope"],"overridable":false},{"schema":{"name":"autoOffsetReset","displayName":"Auto offset reset","helpMessage":"What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted); defaults to earliest in order to make sure the producer sent all messages before the consumer starts.","type":"java.lang.String","required":true,"order":4,"confidential":false,"defaultValues":["earliest"]},"values":["earliest"],"overridable":false},{"schema":{"name":"valueSerializerClassName","displayName":"Value serializer class","helpMessage":"Serializer class for value that implements the org.apache.kafka.common.serialization.Serializer interface. Defaults to net.tirasa.connid.bundles.kafka.serialization.SyncDeltaSerializer","type":"java.lang.String","required":true,"order":5,"confidential":false,"defaultValues":["net.tirasa.connid.bundles.kafka.serialization.SyncDeltaSerializer"]},"values":["net.tirasa.connid.bundles.kafka.serialization.SyncDeltaSerializer"],"overridable":false},{"schema":{"name":"valueDeserializerClassName","displayName":"Value deserializer class","helpMessage":"Deserializer class for value that implements the org.apache.kafka.common.serialization.Deserializer interface. Defaults to org.apache.kafka.common.serialization.StringDeserializer","type":"java.lang.String","required":true,"order":6,"confidential":false,"defaultValues":["org.apache.kafka.common.serialization.StringDeserializer"]},"values":["org.apache.kafka.common.serialization.StringDeserializer"],"overridable":false},{"schema":{"name":"accountTopic","displayName":"Topic to publish to and being subscribed to for object class __ACCOUNT__","helpMessage":"A topic is similar to a folder in a filesystem, and the events are the files in that folder.","type":"java.lang.String","required":false,"order":7,"confidential":false,"defaultValues":["__ACCOUNT__"]},"values":["account-provisioning"],"overridable":false},{"schema":{"name":"groupTopic","displayName":"Topic to publish to and being subscribed to for object class __GROUP__","helpMessage":"A topic is similar to a folder in a filesystem, and the events are the files in that folder.","type":"java.lang.String","required":false,"order":8,"confidential":false,"defaultValues":["__GROUP__"]},"values":["group-provisioning"],"overridable":false},{"schema":{"name":"allTopic","displayName":"Topic to publish to and being subscribed to for object class __ALL__","helpMessage":"A topic is similar to a folder in a filesystem, and the events are the files in that folder.","type":"java.lang.String","required":false,"order":9,"confidential":false,"defaultValues":["__ALL__"]},"values":["__ALL__"],"overridable":false},{"schema":{"name":"consumerPollMillis","displayName":"The maximum number of milliseconds to block while polling","helpMessage":"Polling returns immediately if there are records available or if the position advances past control records; otherwise, it will await the passed timeout: if the timeout expires, an empty record set will be returned.","type":"long","required":false,"order":10,"confidential":false,"defaultValues":[100]},"values":["100"],"overridable":false}]', 'file:/home/ilgrosso/work/syncope/fork/fit/core-reference/target/bundles/', '{"maxObjects":5,"minIdle":2,"maxIdle":3,"maxWait":10,"minEvictableIdleTimeMillis":5}', '1.0.0', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');


--
-- TOC entry 4798 (class 0 OID 16583)
-- Dependencies: 244
-- Data for Name: delegation; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4799 (class 0 OID 16590)
-- Dependencies: 245
-- Data for Name: delegation_syncoperole; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4800 (class 0 OID 16593)
-- Dependencies: 246
-- Data for Name: derschema; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.derschema VALUES ('csvuserid', 'firstname + '','' + surname', 'csv');
INSERT INTO public.derschema VALUES ('cn', 'surname + '', '' + firstname', 'minimal user');
INSERT INTO public.derschema VALUES ('noschema', 'surname + '', '' + notfound', 'other');
INSERT INTO public.derschema VALUES ('info', 'username + '' - '' + creationDate + ''['' + failedLogins + '']''', 'minimal user');
INSERT INTO public.derschema VALUES ('rderiveddata', 'rderived_sx + ''-'' + rderived_dx', 'minimal group');
INSERT INTO public.derschema VALUES ('displayProperty', 'icon + '': '' + show', 'minimal group');
INSERT INTO public.derschema VALUES ('rderToBePropagated', 'rderived_sx + ''-'' + rderived_dx', 'minimal group');
INSERT INTO public.derschema VALUES ('rderivedschema', 'rderived_sx + ''-'' + rderived_dx', 'minimal group');
INSERT INTO public.derschema VALUES ('mderiveddata', 'mderived_sx + ''-'' + mderived_dx', NULL);
INSERT INTO public.derschema VALUES ('mderToBePropagated', 'mderived_sx + ''-'' + mderived_dx', 'generic membership');


--
-- TOC entry 4801 (class 0 OID 16600)
-- Dependencies: 247
-- Data for Name: dynrealm; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4924 (class 0 OID 18686)
-- Dependencies: 370
-- Data for Name: dynrealmmembers; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4802 (class 0 OID 16605)
-- Dependencies: 248
-- Data for Name: dynrealmmembership; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4925 (class 0 OID 18691)
-- Dependencies: 371
-- Data for Name: dynrolemembers; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4803 (class 0 OID 16612)
-- Dependencies: 249
-- Data for Name: externalresource; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.externalresource VALUES ('ws-target-resource-1', NULL, 'ALL', 'ALL', 0, NULL, NULL, 1, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"username","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"email","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"surname","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"fullname","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"ctype","extAttrName":"type","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"firstname","extAttrName":"name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"NONE","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"username","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '88a7a819-dab5-46b4-9b90-0b9769eabdb8', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-2', NULL, 'FAILURES', 'NONE', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"ctype","extAttrName":"type","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"surname","connObjectKey":false,"password":false,"mandatoryCondition":"type == ''F''","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"cn","extAttrName":"fullname","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '88a7a819-dab5-46b4-9b90-0b9769eabdb8', '9454b0d7-2610-400a-be82-fc23cf553dd6', NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-timeout', NULL, 'FAILURES', 'NONE', 1, '[{"schema":{"name":"endpoint","displayName":null,"helpMessage":null,"type":"java.lang.String","required":true,"order":0,"confidential":false,"defaultValues":null},"overridable":true,"values":["http://localhost:9080/syncope-fit-build-tools/services/provisioning"]}]', NULL, 1, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '5ffbb4ac-a8c3-4b44-b699-11b398a1ba08', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-list-mappings-1', NULL, 'ALL', 'ALL', 0, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"email","extAttrName":"email","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"surname","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"email","extAttrName":"email","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '88a7a819-dab5-46b4-9b90-0b9769eabdb8', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-list-mappings-2', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', NULL, 'ALL', NULL, '88a7a819-dab5-46b4-9b90-0b9769eabdb8', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-delete', NULL, 'ALL', 'ALL', 0, NULL, NULL, 2, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"username","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"username","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '5ffbb4ac-a8c3-4b44-b699-11b398a1ba08', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-update', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"email","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"userId","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"fullname","extAttrName":"test3","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"userId","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '88a7a819-dab5-46b4-9b90-0b9769eabdb8', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-testdb', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"username","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"username","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', '20ab5a8c-4b0c-432c-b957-f7fb9784d9f7', '5aa5b8be-7521-481a-9651-c557aea078c1', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-nopropagation4', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, 'fcf9f2b0-f7d6-42c9-84a6-61b28255a42b', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-testdb2', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"username","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"username","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, 'a28abd9b-9f4a-4ef6-a7a8-d19ad2a8f29d', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-csv', NULL, 'ALL', 'ALL', 0, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":["csv","generic membership","minimal group"],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"username","extAttrName":"id","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"fullname","extAttrName":"id","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"firstname","extAttrName":"name","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"surname","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"userId","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PULL","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"email","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"PULL","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"csvuserid","extAttrName":"__NAME__","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"groups[root].rderToBePropagated","extAttrName":"theirgroup","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"csvuserid","extAttrName":"__NAME__","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '6c2acf1b-b052-46f0-8c56-7a8ad6905edf', '880f8553-069b-4aed-9930-2cd53873f544', NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-update-resetsynctoken', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":"{\"value\":null}","ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"userId","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"fullname","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"userId","extAttrName":"userId","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '88a7a819-dab5-46b4-9b90-0b9769eabdb8', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-ldap', NULL, 'ALL', 'ALL', 1, NULL, NULL, 1, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":["generic membership","minimal group"],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":"''uid='' + username + '',ou=people,o=isp''","items":[{"intAttrName":"username","extAttrName":"cn","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"sn","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"fullname","extAttrName":"cn","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"email","extAttrName":"mail","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"title","extAttrName":"title","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"postalAddress","extAttrName":"postalAddress","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"userId","extAttrName":"mail","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"obscure","extAttrName":"registeredAddress","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"photo","extAttrName":"jpegPhoto","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"username","extAttrName":"cn","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}},{"anyType":"GROUP","objectClass":"__GROUP__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":"''cn='' + name + '',ou=groups,o=isp''","items":[{"intAttrName":"name","extAttrName":"cn","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"userOwner","extAttrName":"owner","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"title","extAttrName":"description","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"name","extAttrName":"cn","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '74141a3b-0762-4720-a4aa-fc3e374ef3ef', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-ldap-orgunit', NULL, 'ALL', 'ALL', 1, '[{"schema":{"name":"uidAttribute","displayName":"Uid Attribute","helpMessage":"The name of the LDAP attribute which is mapped to the Uid attribute. Default is \"entryUUID\".","type":"java.lang.String","required":false,"order":21,"confidential":false,"defaultValues":["entryUUID"]},"overridable":true,"values":["l"]},{"schema":{"name":"baseContexts","displayName":"Base Contexts","helpMessage":"One or more starting points in the LDAP tree that will be used when searching the tree. Searches are performed when discovering users from the LDAP server or when looking for the groups of which a user is a member.","type":"[Ljava.lang.String;","required":true,"order":7,"confidential":false,"defaultValues":[]},"overridable":true,"values":["o=isp"]}]', '{"objectClass":"organizationalUnit","syncToken":null,"ignoreCaseMatch":false,"connObjectLink":"syncope:fullPath2Dn(fullPath, ''ou'') + '',o=isp''","items":[{"intAttrName":"fullPath","extAttrName":"l","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"name","extAttrName":"ou","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"ctype","extAttrName":"description","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"fullpath","extAttrName":"l","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}', 1, 'ALL', NULL, 'ALL', NULL, '74141a3b-0762-4720-a4aa-fc3e374ef3ef', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-nopropagation', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, 'fcf9f2b0-f7d6-42c9-84a6-61b28255a42b', NULL, '986d1236-3ac5-4a19-810c-5ab21d79cba1', NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-nopropagation2', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, 'fcf9f2b0-f7d6-42c9-84a6-61b28255a42b', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('ws-target-resource-nopropagation3', NULL, 'ALL', 'ALL', 1, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"PROPAGATION","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, 'fcf9f2b0-f7d6-42c9-84a6-61b28255a42b', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-db-pull', NULL, 'ALL', 'ALL', 0, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"email","extAttrName":"EMAIL","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"fullname","extAttrName":"SURNAME","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"PULL","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"firstname","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"SURNAME","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"username","extAttrName":"USERNAME","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"userId","extAttrName":"EMAIL","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"PULL","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"mustChangePassword","extAttrName":"MUSTCHANGEPASSWORD","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"PULL","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"firstname","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, 'be24b061-019d-4e3e-baf0-0a6d0a45cb9c', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-db-scripted', NULL, 'ALL', 'ALL', 0, NULL, NULL, NULL, 'ALL', '[{"anyType":"PRINTER","objectClass":"__PRINTER__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"key","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"name","extAttrName":"PRINTERNAME","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"location","extAttrName":"LOCATION","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"key","extAttrName":"ID","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, 'a6d017fd-a705-4507-bb7c-6ab6a6745997', NULL, NULL, '89d322db-9878-420c-b49c-67be13df9a12', NULL, NULL);
INSERT INTO public.externalresource VALUES ('rest-target-resource', NULL, 'ALL', 'ALL', 1, NULL, NULL, 0, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"connObjectLink":null,"items":[{"intAttrName":"firstname","extAttrName":"firstName","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"key","extAttrName":"key","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"username","extAttrName":"username","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"email","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"surname","connObjectKey":false,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectKeyItem":{"intAttrName":"key","extAttrName":"key","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}}}]', 'ALL', NULL, '44c02549-19c3-483c-8025-4919c3283c37', NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.externalresource VALUES ('resource-kafka', NULL, 'ALL', 'ALL', 0, NULL, NULL, NULL, 'ALL', '[{"anyType":"USER","objectClass":"__ACCOUNT__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"items":[{"intAttrName":"username","extAttrName":"__NAME__","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"password","extAttrName":"__PASSWORD__","connObjectKey":false,"password":true,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"email","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"firstname","extAttrName":"givenName","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"surname","extAttrName":"lastName","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"userId","extAttrName":"email","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"PULL","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]},{"intAttrName":"fullname","extAttrName":"fullname","connObjectKey":false,"password":false,"mandatoryCondition":"false","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectLink":null}},{"anyType":"GROUP","objectClass":"__GROUP__","auxClasses":[],"syncToken":null,"ignoreCaseMatch":false,"uidOnCreate":null,"mapping":{"items":[{"intAttrName":"name","extAttrName":"__NAME__","connObjectKey":true,"password":false,"mandatoryCondition":"true","purpose":"BOTH","propagationJEXLTransformer":null,"pullJEXLTransformer":null,"transformers":[]}],"connObjectLink":null}}]', 'ALL', NULL, '01938bdf-7ac6-7149-a103-3ec9e74cc824', NULL, NULL, '01938c04-65a1-7944-884d-8a26b76bc01e', NULL, NULL);


--
-- TOC entry 4804 (class 0 OID 16619)
-- Dependencies: 250
-- Data for Name: externalresourcepropaction; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.externalresourcepropaction VALUES ('resource-testdb2', 'GenerateRandomPasswordPropagationActions');
INSERT INTO public.externalresourcepropaction VALUES ('resource-ldap', 'GenerateRandomPasswordPropagationActions');
INSERT INTO public.externalresourcepropaction VALUES ('resource-ldap', 'LDAPMembershipPropagationActions');


--
-- TOC entry 4805 (class 0 OID 16626)
-- Dependencies: 251
-- Data for Name: fiqlquery; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4892 (class 0 OID 18187)
-- Dependencies: 338
-- Data for Name: flw_ru_batch; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4893 (class 0 OID 18195)
-- Dependencies: 339
-- Data for Name: flw_ru_batch_part; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4806 (class 0 OID 16635)
-- Dependencies: 252
-- Data for Name: formpropertydef; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4807 (class 0 OID 16642)
-- Dependencies: 253
-- Data for Name: grelationship; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4808 (class 0 OID 16649)
-- Dependencies: 254
-- Data for Name: implementation; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.implementation VALUES ('DefaultPasswordRuleConf1', '{"_class":"org.apache.syncope.common.lib.policy.DefaultPasswordRuleConf","maxLength":0,"minLength":8,"wordsNotPermitted":["notpermitted1","notpermitted2"]}', 'JAVA', 'PASSWORD_RULE');
INSERT INTO public.implementation VALUES ('DefaultPasswordRuleConf2', '{"_class":"org.apache.syncope.common.lib.policy.DefaultPasswordRuleConf","maxLength":0,"minLength":10,"digit":1,"wordsNotPermitted":["notpermitted1","notpermitted2"]}', 'JAVA', 'PASSWORD_RULE');
INSERT INTO public.implementation VALUES ('DefaultAccountRuleConf1', '{"_class":"org.apache.syncope.common.lib.policy.DefaultAccountRuleConf","maxLength":0,"minLength":0,"pattern":null,"allUpperCase":false,"allLowerCase":false,"wordsNotPermitted":[],"schemasNotPermitted":[],"prefixesNotPermitted":[],"suffixesNotPermitted":[]}', 'JAVA', 'ACCOUNT_RULE');
INSERT INTO public.implementation VALUES ('DefaultAccountRuleConf2', '{"_class":"org.apache.syncope.common.lib.policy.DefaultAccountRuleConf","maxLength":0,"minLength":4,"pattern":null,"allUpperCase":false,"allLowerCase":false,"wordsNotPermitted":[],"schemasNotPermitted":[],"prefixesNotPermitted":["notpermitted1","notpermitted2"],"suffixesNotPermitted":[]}', 'JAVA', 'ACCOUNT_RULE');
INSERT INTO public.implementation VALUES ('DefaultPasswordRuleConf3', '{"_class":"org.apache.syncope.common.lib.policy.DefaultPasswordRuleConf","maxLength":0,"minLength":10,"special":1,"specialChars":["@","!"],"digit":1,"lowercase":1,"uppercase":1,"wordsNotPermitted":["notpermitted1","notpermitted2"]}', 'JAVA', 'PASSWORD_RULE');
INSERT INTO public.implementation VALUES ('EmailAddressValidator', 'org.apache.syncope.core.persistence.common.attrvalue.EmailAddressValidator', 'JAVA', 'ATTR_VALUE_VALIDATOR');
INSERT INTO public.implementation VALUES ('TestDropdownValueProvider', 'import java.util.List
import org.apache.syncope.common.lib.to.AttributableTO
import org.apache.syncope.core.persistence.api.attrvalue.DropdownValueProvider

class TestDropdownValueProvider implements DropdownValueProvider {
List<String> getChoices(AttributableTO attributableTO) {
return ["A", "B"]
}
}', 'GROOVY', 'DROPDOWN_VALUE_PROVIDER');
INSERT INTO public.implementation VALUES ('BinaryValidator', 'org.apache.syncope.core.persistence.common.attrvalue.BinaryValidator', 'JAVA', 'ATTR_VALUE_VALIDATOR');
INSERT INTO public.implementation VALUES ('TestInboundCorrelationRule', '{"_class":"org.apache.syncope.common.lib.policy.DefaultInboundCorrelationRuleConf","name":"org.apache.syncope.common.lib.policy.DefaultInboundCorrelationRuleConf","schemas":["username","firstname"]}', 'JAVA', 'INBOUND_CORRELATION_RULE');
INSERT INTO public.implementation VALUES ('TestPushCorrelationRule', '{"_class":"org.apache.syncope.common.lib.policy.DefaultPushCorrelationRuleConf","name":"org.apache.syncope.common.lib.policy.DefaultPushCorrelationRuleConf","schemas":["surname"]}', 'JAVA', 'PUSH_CORRELATION_RULE');
INSERT INTO public.implementation VALUES ('GenerateRandomPasswordPropagationActions', 'org.apache.syncope.core.provisioning.java.propagation.GenerateRandomPasswordPropagationActions', 'JAVA', 'PROPAGATION_ACTIONS');
INSERT INTO public.implementation VALUES ('LDAPMembershipPropagationActions', 'org.apache.syncope.core.provisioning.java.propagation.LDAPMembershipPropagationActions', 'JAVA', 'PROPAGATION_ACTIONS');
INSERT INTO public.implementation VALUES ('MacroJobDelegate', 'org.apache.syncope.core.provisioning.java.job.MacroJobDelegate', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('LiveSyncJobDelegate', 'org.apache.syncope.core.provisioning.java.pushpull.LiveSyncJobDelegate', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('PullJobDelegate', 'org.apache.syncope.core.provisioning.java.pushpull.PullJobDelegate', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('PushJobDelegate', 'org.apache.syncope.core.provisioning.java.pushpull.PushJobDelegate', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('GroupMemberProvisionTaskJobDelegate', 'org.apache.syncope.core.provisioning.java.job.GroupMemberProvisionTaskJobDelegate', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('TestSampleJobDelegate', 'org.apache.syncope.fit.core.reference.TestSampleJobDelegate', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('ExpiredAccessTokenCleanup', 'org.apache.syncope.core.provisioning.java.job.ExpiredAccessTokenCleanup', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('LDAPMembershipPullActions', 'org.apache.syncope.core.provisioning.java.pushpull.LDAPMembershipPullActions', 'JAVA', 'INBOUND_ACTIONS');
INSERT INTO public.implementation VALUES ('ExpiredBatchCleanup', 'org.apache.syncope.core.provisioning.java.job.ExpiredBatchCleanup', 'JAVA', 'TASKJOB_DELEGATE');
INSERT INTO public.implementation VALUES ('SampleReportJobDelegate', '{"_class":"org.apache.syncope.fit.core.reference.SampleReportConf","stringValue":"a string","intValue":1,"longValue":45,"floatValue":1.2,"doubleValue":2.1}', 'JAVA', 'REPORT_DELEGATE');


--
-- TOC entry 4809 (class 0 OID 16656)
-- Dependencies: 255
-- Data for Name: inboundcorrelationruleentity; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.inboundcorrelationruleentity VALUES ('10e3d196-7486-4c88-aefd-59e40d93a0c1', '880f8553-069b-4aed-9930-2cd53873f544', 'USER', 'TestInboundCorrelationRule');


--
-- TOC entry 4810 (class 0 OID 16665)
-- Dependencies: 256
-- Data for Name: inboundpolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.inboundpolicy VALUES ('66691e96-285f-4464-bc19-e68384ea4c85', 'a pull policy', 'IGNORE');
INSERT INTO public.inboundpolicy VALUES ('880f8553-069b-4aed-9930-2cd53873f544', 'another pull policy', 'ALL');
INSERT INTO public.inboundpolicy VALUES ('4ad10d94-e002-4b3f-b771-16089cc71da9', 'pull policy 1', 'IGNORE');
INSERT INTO public.inboundpolicy VALUES ('9454b0d7-2610-400a-be82-fc23cf553dd6', 'pull policy for java rule', 'IGNORE');


--
-- TOC entry 4811 (class 0 OID 16670)
-- Dependencies: 257
-- Data for Name: jobstatus; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4812 (class 0 OID 16677)
-- Dependencies: 258
-- Data for Name: linkedaccount; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4813 (class 0 OID 16686)
-- Dependencies: 259
-- Data for Name: livesynctask; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4814 (class 0 OID 16697)
-- Dependencies: 260
-- Data for Name: livesynctaskaction; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4815 (class 0 OID 16702)
-- Dependencies: 261
-- Data for Name: livesynctaskexec; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4816 (class 0 OID 16709)
-- Dependencies: 262
-- Data for Name: macrotask; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4817 (class 0 OID 16718)
-- Dependencies: 263
-- Data for Name: macrotaskcommand; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4818 (class 0 OID 16725)
-- Dependencies: 264
-- Data for Name: macrotaskexec; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4819 (class 0 OID 16732)
-- Dependencies: 265
-- Data for Name: mailtemplate; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.mailtemplate VALUES ('requestPasswordReset', '<html> <body> <p>Hi, a password reset was requested for ${user.getUsername()}.</p>  <p>In order to complete this request, you need to visit this  <a href="http://localhost:9080/syncope-enduser/confirmpasswordreset?token=${input.get(0).replaceAll('' '', ''%20'')}">link</a></p>.  <p>If you did not request this reset, just ignore the present e-mail.</p>  <p>Best regards.</p> </body> </html>', 'Hi, a password reset was requested for ${user.getUsername()}.  In order to complete this request, you need to visit this link:  http://localhost:9080/syncope-enduser/confirmpasswordreset?token=${input.get(0).replaceAll('' '', ''%20'')}  If you did not request this reset, just ignore the present e-mail.  Best regards.');
INSERT INTO public.mailtemplate VALUES ('confirmPasswordReset', '<html> <body> <p>Hi,<br/> we are happy to inform you that the password request was successfully executed for your account.</p>  <p>Best regards.</p> </body> </html>', 'Hi, we are happy to inform you that the password request was successfully executed for your account.  Best regards.');
INSERT INTO public.mailtemplate VALUES ('test', NULL, NULL);
INSERT INTO public.mailtemplate VALUES ('optin', '<html> <body> <h3>Hi ${user.getPlainAttr("firstname").get().values[0]} ${user.getPlainAttr("surname").get().values[0]}, welcome to Syncope!</h3>  <p>    Your username is ${user.username}.<br/>    Your email address is ${user.getPlainAttr("email").get().values[0]}.    Your email address inside a <a href="http://localhost/?email=${user.getPlainAttr("email").get().values[0].replace(''@'', ''%40'')}">link</a>. </p>  <p>     This message was sent to the following recipients: <ul>
 $$ for (recipient: recipients) {
Na   <li>${recipient.getPlainAttr("email").get().values[0]}</li>
 $$ }
 </ul>
  because one of the following events occurred: <ul>
 $$ for (event: events) {
   <li>${event}</li>
 $$ }
 </ul>
 </p> 
 $$ if (!empty(user.memberships)) {
 You have been provided with the following groups:
 <ul>
 $$ for(membership : user.memberships) {
   <li>${membership.groupName}</li>
 $$ }
 </ul>
 $$ }
 </body> </html>', 'Hi ${user.getPlainAttr("firstname").get().values[0]} ${user.getPlainAttr("surname").get().values[0]}, welcome to Syncope!  Your username is ${user.username}. Your email address is ${user.getPlainAttr("email").get().values[0]}. Your email address inside a link: http://localhost/?email=${user.getPlainAttr("email").get().values[0].replace(''@'', ''%40'')}  This message was sent to the following recipients:
 $$ for (recipient: recipients) {
   * ${recipient.getPlainAttr("email").get().values[0]}
 $$ }
 
 because one of the following events occurred:
 $$ for (event: events) {
   * ${event}
 $$ }
 
 $$ if (!empty(user.memberships)) {
 You have been provided with the following groups:
 $$ for(membership : user.memberships) {
   * ${membership.groupName}
 $$ }
 $$ }
');


--
-- TOC entry 4820 (class 0 OID 16739)
-- Dependencies: 266
-- Data for Name: networkservice; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.networkservice VALUES ('019c5206-7e44-771c-b6d4-ce1dae336b4d', 'http://localhost:9080/syncope/rest/', 'CORE');


--
-- TOC entry 4821 (class 0 OID 16746)
-- Dependencies: 267
-- Data for Name: notification; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.notification VALUES ('e00945b5-1184-4d43-8e45-4318a8dcdfd4', 1, '["[CUSTOM]:[]:[]:[requestPasswordReset]:[SUCCESS]"]', 'email', NULL, 1, 'admin@syncope.apache.org', NULL, 'Password Reset request', 'FAILURES', NULL, 'requestPasswordReset');
INSERT INTO public.notification VALUES ('bef0c250-e8a7-4848-bb63-2564fc409ce2', 1, '["[CUSTOM]:[]:[]:[confirmPasswordReset]:[SUCCESS]"]', 'email', NULL, 1, 'admin@syncope.apache.org', NULL, 'Password Reset successful', 'FAILURES', NULL, 'confirmPasswordReset');
INSERT INTO public.notification VALUES ('9e2b911c-25de-4c77-bcea-b86ed9451050', 1, '["[CUSTOM]:[]:[]:[unexisting1]:[FAILURE]", "[CUSTOM]:[]:[]:[unexisting2]:[SUCCESS]"]', 'email', '$groups==7', 0, 'test@syncope.apache.org', NULL, 'Test subject', 'FAILURES', NULL, 'test');


--
-- TOC entry 4822 (class 0 OID 16753)
-- Dependencies: 268
-- Data for Name: notificationtask; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.notificationtask VALUES ('e1e520f0-2cbd-4e11-9a89-ea58a0f957e7', NULL, NULL, 1, 'NOTIFICATION-81', '["recipient@prova.org"]', 'admin@prova.org', 'Notification for SYNCOPE-81', 'NOTIFICATION-81', 'ALL', 'e00945b5-1184-4d43-8e45-4318a8dcdfd4');


--
-- TOC entry 4823 (class 0 OID 16760)
-- Dependencies: 269
-- Data for Name: notificationtaskexec; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.notificationtaskexec VALUES ('019c5206-c00e-77d2-9acc-c07459bdb92b', '2026-02-12 13:25:00.216099+00', 'admin', 'FROM: admin@prova.org
TO: recipient@prova.org
SUBJECT: Notification for SYNCOPE-81

NOTIFICATION-81

NOTIFICATION-81
', '2026-02-12 13:25:00.046096+00', 'SENT', 'e1e520f0-2cbd-4e11-9a89-ea58a0f957e7');


--
-- TOC entry 4824 (class 0 OID 16767)
-- Dependencies: 270
-- Data for Name: oidcjwks; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4825 (class 0 OID 16774)
-- Dependencies: 271
-- Data for Name: oidcprovider; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4826 (class 0 OID 16787)
-- Dependencies: 272
-- Data for Name: oidcprovideraction; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4827 (class 0 OID 16790)
-- Dependencies: 273
-- Data for Name: oidcrpclientapp; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4828 (class 0 OID 16803)
-- Dependencies: 274
-- Data for Name: oidcusertemplate; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4829 (class 0 OID 16812)
-- Dependencies: 275
-- Data for Name: passwordpolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.passwordpolicy VALUES ('ce93fcda-dc3a-4369-a7b0-a6108c261c85', 'a password policy', 1, 1);
INSERT INTO public.passwordpolicy VALUES ('986d1236-3ac5-4a19-810c-5ab21d79cba1', 'sample password policy', 1, 0);
INSERT INTO public.passwordpolicy VALUES ('55e5de0b-c79c-4e66-adda-251b6fb8579a', 'sample password policy', 0, 0);


--
-- TOC entry 4830 (class 0 OID 16817)
-- Dependencies: 276
-- Data for Name: passwordpolicyrule; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.passwordpolicyrule VALUES ('ce93fcda-dc3a-4369-a7b0-a6108c261c85', 'DefaultPasswordRuleConf1');
INSERT INTO public.passwordpolicyrule VALUES ('986d1236-3ac5-4a19-810c-5ab21d79cba1', 'DefaultPasswordRuleConf2');
INSERT INTO public.passwordpolicyrule VALUES ('55e5de0b-c79c-4e66-adda-251b6fb8579a', 'DefaultPasswordRuleConf3');


--
-- TOC entry 4831 (class 0 OID 16822)
-- Dependencies: 277
-- Data for Name: plainschema; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.plainschema VALUES ('fullname', NULL, NULL, NULL, 'true', NULL, 0, 0, NULL, 'String', 1, 'minimal user', NULL, NULL);
INSERT INTO public.plainschema VALUES ('userId', NULL, NULL, NULL, 'true', NULL, 0, 0, NULL, 'String', 1, 'minimal user', NULL, 'EmailAddressValidator');
INSERT INTO public.plainschema VALUES ('loginDate', NULL, 'yyyy-MM-dd', NULL, 'false', NULL, 1, 0, NULL, 'Date', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('firstname', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'minimal user', NULL, NULL);
INSERT INTO public.plainschema VALUES ('surname', NULL, NULL, NULL, 'true', NULL, 0, 0, NULL, 'String', 0, 'minimal user', NULL, NULL);
INSERT INTO public.plainschema VALUES ('ctype', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('email', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'minimal user', NULL, 'EmailAddressValidator');
INSERT INTO public.plainschema VALUES ('activationDate', NULL, 'yyyy-MM-dd''T''HH:mm:ss.SSSZ', NULL, 'false', NULL, 0, 0, NULL, 'Date', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('uselessReadonly', NULL, NULL, NULL, 'false', NULL, 0, 1, NULL, 'String', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('cool', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'Boolean', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('gender', NULL, NULL, '{"M":"Male","F":"Female"}', 'false', NULL, 0, 0, NULL, 'Enum', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('dd', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'Dropdown', 0, 'other', 'TestDropdownValueProvider', NULL);
INSERT INTO public.plainschema VALUES ('aLong', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'Long', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('makeItDouble', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'Long', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('obscure', 'SHA', NULL, NULL, 'false', NULL, 0, 0, '7abcdefghilmnopqrstuvz9#', 'Encrypted', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('photo', NULL, NULL, NULL, 'false', 'image/jpeg', 0, 0, NULL, 'Binary', 0, 'other', NULL, NULL);
INSERT INTO public.plainschema VALUES ('icon', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'minimal group', NULL, NULL);
INSERT INTO public.plainschema VALUES ('show', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'Boolean', 0, 'minimal group', NULL, NULL);
INSERT INTO public.plainschema VALUES ('rderived_sx', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'minimal group', NULL, NULL);
INSERT INTO public.plainschema VALUES ('rderived_dx', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'minimal group', NULL, NULL);
INSERT INTO public.plainschema VALUES ('title', NULL, NULL, NULL, 'false', NULL, 1, 0, NULL, 'String', 0, 'minimal group', NULL, NULL);
INSERT INTO public.plainschema VALUES ('originalName', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 1, 'minimal group', NULL, NULL);
INSERT INTO public.plainschema VALUES ('subscriptionDate', NULL, 'yyyy-MM-dd''T''HH:mm:ss.SSSZ', NULL, 'false', NULL, 0, 0, NULL, 'Date', 0, 'generic membership', NULL, NULL);
INSERT INTO public.plainschema VALUES ('mderived_sx', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'generic membership', NULL, NULL);
INSERT INTO public.plainschema VALUES ('mderived_dx', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'generic membership', NULL, NULL);
INSERT INTO public.plainschema VALUES ('postalAddress', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'generic membership', NULL, NULL);
INSERT INTO public.plainschema VALUES ('model', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'minimal printer', NULL, NULL);
INSERT INTO public.plainschema VALUES ('location', NULL, NULL, NULL, 'false', NULL, 0, 0, NULL, 'String', 0, 'minimal printer', NULL, NULL);


--
-- TOC entry 4832 (class 0 OID 16829)
-- Dependencies: 278
-- Data for Name: propagationpolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.propagationpolicy VALUES ('89d322db-9878-420c-b49c-67be13df9a12', 'sample propagation policy', '10000', 'FIXED', 1, 5, 0);
INSERT INTO public.propagationpolicy VALUES ('01938c04-65a1-7944-884d-8a26b76bc01e', 'queue propagation policy', '1000', 'FIXED', 0, 3, 0);


--
-- TOC entry 4833 (class 0 OID 16836)
-- Dependencies: 279
-- Data for Name: propagationtask; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.propagationtask VALUES ('1e697572-b896-484c-ae7f-0c8f63fcbc6c', NULL, 'USER', NULL, '1417acbe-cbf6-4277-9372-e75e04f97000', '__ACCOUNT__', NULL, 'UPDATE', '{"attributes":[{"name":"__PASSWORD__","value":[{"readOnly":false,"disposed":false,"encryptedBytes":"m9nh2US0Sa6m+cXccCq0Xw==","base64SHA1Hash":"GFJ69qfjxEOdrmt+9q+0Cw2uz60="}]},{"name":"__NAME__","value":["userId"],"nameValue":"userId"},{"name":"fullname","value":["fullname"]},{"name":"type","value":["type"]}]}', 'ws-target-resource-2');
INSERT INTO public.propagationtask VALUES ('b8870cfb-3c1e-4fc4-abcb-2559826232e6', NULL, 'USER', NULL, '1417acbe-cbf6-4277-9372-e75e04f97000', '__ACCOUNT__', NULL, 'CREATE', '{"attributes":[{"name":"__PASSWORD__","value":[{"readOnly":false,"disposed":false,"encryptedBytes":"m9nh2US0Sa6m+cXccCq0Xw==","base64SHA1Hash":"GFJ69qfjxEOdrmt+9q+0Cw2uz60="}]},{"name":"__NAME__","value":["userId"],"nameValue":"userId"},{"name":"fullname","value":["fullname"]},{"name":"type","value":["type"]}]}', 'ws-target-resource-2');
INSERT INTO public.propagationtask VALUES ('316285cc-ae52-4ea2-a33b-7355e189ac3f', NULL, 'USER', NULL, '1417acbe-cbf6-4277-9372-e75e04f97000', '__ACCOUNT__', NULL, 'DELETE', '{"attributes":[{"name":"__PASSWORD__","value":[{"readOnly":false,"disposed":false,"encryptedBytes":"m9nh2US0Sa6m+cXccCq0Xw==","base64SHA1Hash":"GFJ69qfjxEOdrmt+9q+0Cw2uz60="}]},{"name":"__NAME__","value":["userId"],"nameValue":"userId"},{"name":"type","value":["type"]}]}', 'ws-target-resource-2');
INSERT INTO public.propagationtask VALUES ('025c956d-ea88-4bd7-9e44-2f35e0aa7055', NULL, 'USER', NULL, '1417acbe-cbf6-4277-9372-e75e04f97000', '__ACCOUNT__', NULL, 'UPDATE', '{"attributes":[{"name":"__PASSWORD__","value":[{"readOnly":false,"disposed":false,"encryptedBytes":"m9nh2US0Sa6m+cXccCq0Xw==","base64SHA1Hash":"GFJ69qfjxEOdrmt+9q+0Cw2uz60="}]},{"name":"__NAME__","value":["userId"],"nameValue":"userId"},{"name":"fullname","value":["fullname"]},{"name":"type","value":["type"]}]}', 'ws-target-resource-1');
INSERT INTO public.propagationtask VALUES ('d6c2d6d3-6329-44c1-9187-f1469ead1cfa', NULL, 'USER', NULL, '1417acbe-cbf6-4277-9372-e75e04f97000', '__ACCOUNT__', NULL, 'UPDATE', '{"attributes":[{"name":"__PASSWORD__","value":[{"readOnly":false,"disposed":false,"encryptedBytes":"m9nh2US0Sa6m+cXccCq0Xw==","base64SHA1Hash":"GFJ69qfjxEOdrmt+9q+0Cw2uz60="}]},{"name":"__NAME__","value":["userId"],"nameValue":"userId"},{"name":"fullname","value":["fullname"]},{"name":"type","value":["type"]}]}', 'ws-target-resource-nopropagation');
INSERT INTO public.propagationtask VALUES ('0f618183-17ce-48bc-80bc-cc535f38983a', NULL, 'USER', NULL, '1417acbe-cbf6-4277-9372-e75e04f97000', '__ACCOUNT__', NULL, 'CREATE', '{"attributes":[{"name":"__PASSWORD__","value":[{"readOnly":false,"disposed":false,"encryptedBytes":"m9nh2US0Sa6m+cXccCq0Xw==","base64SHA1Hash":"GFJ69qfjxEOdrmt+9q+0Cw2uz60="}]},{"name":"__NAME__","value":["userId"],"nameValue":"userId"},{"name":"fullname","value":["fullname"]},{"name":"type","value":["type"]}]}', 'resource-testdb');


--
-- TOC entry 4834 (class 0 OID 16843)
-- Dependencies: 280
-- Data for Name: propagationtaskexec; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.propagationtaskexec VALUES ('e58ca1c7-178a-4012-8a71-8aa14eaf0655', '2015-12-17 08:42:00+00', NULL, NULL, '2015-12-17 08:40:00+00', 'SUCCESS', '1e697572-b896-484c-ae7f-0c8f63fcbc6c');
INSERT INTO public.propagationtaskexec VALUES ('c3290f8b-caf9-4a85-84fb-fb619b65cd49', '2015-12-17 08:42:00+00', NULL, NULL, '2015-12-17 08:40:00+00', 'SUCCESS', '025c956d-ea88-4bd7-9e44-2f35e0aa7055');
INSERT INTO public.propagationtaskexec VALUES ('d789462f-e395-424f-bd8e-0db44a93222f', '2015-12-17 08:42:00+00', NULL, NULL, '2015-12-17 08:40:00+00', 'SUCCESS', 'd6c2d6d3-6329-44c1-9187-f1469ead1cfa');


--
-- TOC entry 4835 (class 0 OID 16850)
-- Dependencies: 281
-- Data for Name: pulltask; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.pulltask VALUES ('c41b9b71-9bfa-4f90-89f2-84787def4c5c', 1, NULL, NULL, 'CSV (update matching; assign unmatching)', NULL, 'UPDATE', 1, 1, 1, 1, 'ASSIGN', 0, 'INCREMENTAL', 'PullJobDelegate', 'resource-csv', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('83f7e85d-9774-43fe-adba-ccd856312994', 1, NULL, NULL, 'TestDB Task', NULL, 'UPDATE', 1, 0, 1, 1, 'PROVISION', 0, 'FULL_RECONCILIATION', 'PullJobDelegate', 'resource-testdb', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('81d88f73-d474-4450-9031-605daa4e313f', 1, NULL, NULL, 'TestDB2 Task', NULL, 'UPDATE', 1, 0, 1, 1, 'PROVISION', 0, 'FULL_RECONCILIATION', 'PullJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('7c2242f4-14af-4ab5-af31-cdae23783655', 1, NULL, NULL, 'TestDB Pull Task', NULL, 'UPDATE', 1, 1, 1, 1, 'PROVISION', 0, 'FULL_RECONCILIATION', 'PullJobDelegate', 'resource-db-pull', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('1e419ca4-ea81-4493-a14f-28b90113686d', 1, NULL, NULL, 'LDAP Pull Task', NULL, 'UPDATE', 1, 1, 1, 0, 'PROVISION', 0, 'FULL_RECONCILIATION', 'PullJobDelegate', 'resource-ldap', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('986867e2-993b-430e-8feb-aa9abb4c1dcd', 1, NULL, NULL, 'CSV Task (update matching; provision unmatching)', NULL, 'UPDATE', 1, 1, 1, 1, 'PROVISION', 0, 'INCREMENTAL', 'PullJobDelegate', 'resource-csv', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('feae4e57-15ca-40d9-b973-8b9015efca49', 1, NULL, NULL, 'CSV (unlink matching; ignore unmatching)', NULL, 'UNLINK', 1, 1, 1, 1, 'IGNORE', 0, 'FULL_RECONCILIATION', 'PullJobDelegate', 'resource-csv', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('55d5e74b-497e-4bc0-9156-73abef4b9adc', 1, NULL, NULL, 'CSV (ignore matching; assign unmatching)', NULL, 'IGNORE', 1, 1, 1, 1, 'ASSIGN', 0, 'FULL_RECONCILIATION', 'PullJobDelegate', 'resource-csv', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.pulltask VALUES ('30cfd653-257b-495f-8665-281281dbcb3d', 1, NULL, NULL, 'Scripted SQL', NULL, 'UPDATE', 1, 0, 1, 0, 'PROVISION', 0, 'INCREMENTAL', 'PullJobDelegate', 'resource-db-scripted', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);


--
-- TOC entry 4836 (class 0 OID 16859)
-- Dependencies: 282
-- Data for Name: pulltaskaction; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.pulltaskaction VALUES ('1e419ca4-ea81-4493-a14f-28b90113686d', 'LDAPMembershipPullActions');


--
-- TOC entry 4837 (class 0 OID 16864)
-- Dependencies: 283
-- Data for Name: pulltaskexec; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4838 (class 0 OID 16871)
-- Dependencies: 284
-- Data for Name: pushcorrelationruleentity; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.pushcorrelationruleentity VALUES ('24463935-32a0-4272-bc78-04d6d0adc69e', 'fb6530e5-892d-4f47-a46b-180c5b6c5c83', 'USER', 'TestPushCorrelationRule');


--
-- TOC entry 4839 (class 0 OID 16880)
-- Dependencies: 285
-- Data for Name: pushpolicy; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.pushpolicy VALUES ('fb6530e5-892d-4f47-a46b-180c5b6c5c83', 'a push policy', 'IGNORE');


--
-- TOC entry 4840 (class 0 OID 16885)
-- Dependencies: 286
-- Data for Name: pushtask; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.pushtask VALUES ('af558be4-9d2f-4359-bf85-a554e6e90be1', 1, NULL, NULL, 'Export on resource-testdb2.1', NULL, 'IGNORE', 1, 1, 1, 1, 'ASSIGN', '{"USER":"surname==Vivaldi","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('97f327b6-2eff-4d35-85e8-d581baaab855', 1, NULL, NULL, 'Export on resource-testdb2.2', NULL, 'IGNORE', 1, 1, 1, 1, 'PROVISION', '{"USER":"surname==Bellini","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('03aa2a04-4881-4573-9117-753f81b04865', 1, NULL, NULL, 'Export on resource-testdb2.3', NULL, 'IGNORE', 1, 1, 1, 1, 'UNLINK', '{"USER":"surname==Puccini","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('5e5f7c7e-9de7-4c6a-99f1-4df1af959807', 1, NULL, NULL, 'Export on resource-testdb2.4', NULL, 'IGNORE', 1, 1, 1, 1, 'IGNORE', '{"USER":"surname==Verdi","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('0bc11a19-6454-45c2-a4e3-ceef84e5d79b', 1, NULL, NULL, 'Export on resource-testdb2.5', NULL, 'UPDATE', 1, 1, 1, 1, 'ASSIGN', '{"USER":"username==_NO_ONE_","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('ec674143-480a-4816-98ad-b61fa090821e', 1, NULL, NULL, 'Export on resource-testdb2.6', NULL, 'DEPROVISION', 1, 1, 1, 1, 'IGNORE', '{"USER":"surname==Verdi","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('c46edc3a-a18b-4af2-b707-f4a415507496', 1, NULL, NULL, 'Export on resource-testdb2.7', NULL, 'UNASSIGN', 1, 1, 1, 1, 'IGNORE', '{"USER":"surname==Rossini","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('51318433-cce4-4f71-8f45-9534b6c9c819', 1, NULL, NULL, 'Export on resource-testdb2.8', NULL, 'LINK', 1, 1, 1, 1, 'IGNORE', '{"USER":"surname==Verdi","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('24b1be9c-7e3b-443a-86c9-798ebce5eaf2', 1, NULL, NULL, 'Export on resource-testdb2.9', NULL, 'UNLINK', 1, 1, 1, 1, 'IGNORE', '{"USER":"surname==Verdi","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('375c7b7f-9e3a-4833-88c9-b7787b0a69f2', 1, NULL, NULL, 'Export on resource-testdb2.10', NULL, 'UPDATE', 1, 1, 1, 1, 'IGNORE', '{"USER":"surname==Verdi","GROUP":"name==_NO_ONE_"}', 'PushJobDelegate', 'resource-testdb2', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.pushtask VALUES ('fd905ba5-9d56-4f51-83e2-859096a67b75', 1, NULL, NULL, 'Export on resource-ldap', NULL, 'UNLINK', 1, 1, 1, 1, 'ASSIGN', '{"USER":"username==_NO_ONE_","GROUP":"name==citizen"}', 'PushJobDelegate', 'resource-ldap', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');


--
-- TOC entry 4841 (class 0 OID 16894)
-- Dependencies: 287
-- Data for Name: pushtaskaction; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4842 (class 0 OID 16899)
-- Dependencies: 288
-- Data for Name: pushtaskexec; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4843 (class 0 OID 16906)
-- Dependencies: 289
-- Data for Name: realm; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.realm VALUES ('e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', '/', '/', NULL, NULL, NULL, NULL, NULL, NULL, '986d1236-3ac5-4a19-810c-5ab21d79cba1', NULL);
INSERT INTO public.realm VALUES ('722f3d84-9c2b-4525-8f6e-e4b82c55a36c', '/odd', 'odd', NULL, NULL, '06e2ed52-6966-44aa-a177-a0ca7434201f', NULL, NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.realm VALUES ('c5b75db1-fce7-470f-b780-3b9934d82a9d', '/even', 'even', NULL, NULL, NULL, NULL, NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.realm VALUES ('0679e069-7355-4b20-bd11-a5a0a5453c7c', '/even/two', 'two', NULL, NULL, '20ab5a8c-4b0c-432c-b957-f7fb9784d9f7', NULL, NULL, 'c5b75db1-fce7-470f-b780-3b9934d82a9d', 'ce93fcda-dc3a-4369-a7b0-a6108c261c85', NULL);


--
-- TOC entry 4845 (class 0 OID 16922)
-- Dependencies: 291
-- Data for Name: realm_anytypeclass; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4846 (class 0 OID 16925)
-- Dependencies: 292
-- Data for Name: realm_externalresource; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4844 (class 0 OID 16917)
-- Dependencies: 290
-- Data for Name: realmaction; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4847 (class 0 OID 16930)
-- Dependencies: 293
-- Data for Name: relationshiptype; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.relationshiptype VALUES ('inclusion', 'Models the act that an object is included in another', 'PRINTER', 'PRINTER');
INSERT INTO public.relationshiptype VALUES ('neighborhood', 'Models the act that an object is near another', 'USER', 'PRINTER');


--
-- TOC entry 4848 (class 0 OID 16937)
-- Dependencies: 294
-- Data for Name: remediation; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4849 (class 0 OID 16944)
-- Dependencies: 295
-- Data for Name: report; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.report VALUES ('0062ea9c-924d-4ecf-9961-4492a8cc6d1b', 1, NULL, 'pdf', 'application/pdf', 'test', 'SampleReportJobDelegate');


--
-- TOC entry 4850 (class 0 OID 16953)
-- Dependencies: 296
-- Data for Name: reportexec; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.reportexec VALUES ('c13f39c5-0d35-4bff-ba79-3cd5de940369', '2012-02-26 14:41:04+00', NULL, NULL, '2012-02-26 14:40:04+00', 'SUCCESS', NULL, '0062ea9c-924d-4ecf-9961-4492a8cc6d1b');


--
-- TOC entry 4851 (class 0 OID 16960)
-- Dependencies: 297
-- Data for Name: saml2idp4uiaction; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4852 (class 0 OID 16963)
-- Dependencies: 298
-- Data for Name: saml2idpentity; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4853 (class 0 OID 16970)
-- Dependencies: 299
-- Data for Name: saml2sp4uiidp; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4854 (class 0 OID 16981)
-- Dependencies: 300
-- Data for Name: saml2sp4uiusertemplate; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4855 (class 0 OID 16990)
-- Dependencies: 301
-- Data for Name: saml2spclientapp; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4856 (class 0 OID 17003)
-- Dependencies: 302
-- Data for Name: schedtask; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.schedtask VALUES ('e95555d2-1b09-42c8-b25b-f4c4ec597979', 1, '0 0 0 1 * ?', NULL, 'SampleJob Task', 'TestSampleJobDelegate');
INSERT INTO public.schedtask VALUES ('89de5014-e3f5-4462-84d8-d97575740baf', 1, '0 0/5 * * * ?', NULL, 'Access Token Cleanup Task', 'ExpiredAccessTokenCleanup');
INSERT INTO public.schedtask VALUES ('8ea0ea51-ce08-4fe3-a0c8-c281b31b5893', 1, '0 0/5 * * * ?', NULL, 'Expired Batch Operations Cleanup Task', 'ExpiredBatchCleanup');


--
-- TOC entry 4857 (class 0 OID 17012)
-- Dependencies: 303
-- Data for Name: schedtaskexec; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4858 (class 0 OID 17019)
-- Dependencies: 304
-- Data for Name: securityquestion; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.securityquestion VALUES ('887028ea-66fc-41e7-b397-620d7ea6dfbb', 'What''s your mother''s maiden name?');


--
-- TOC entry 4859 (class 0 OID 17026)
-- Dependencies: 305
-- Data for Name: sraroute; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.sraroute VALUES ('ec7bada2-3dd6-460c-8441-65521d005ffa', 1, NULL, NULL, 0, 'basic1', NULL, '[{"cond":null,"factory":"METHOD","args":"GET"}]', NULL, 'PROTECTED', 'http://httpbin.org:80');


--
-- TOC entry 4860 (class 0 OID 17035)
-- Dependencies: 306
-- Data for Name: syncopebatch; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4861 (class 0 OID 17042)
-- Dependencies: 307
-- Data for Name: syncopedomain; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopedomain VALUES ('Two', '{"_class":"org.apache.syncope.common.keymaster.client.api.model.JPADomain","key":"Two","adminPassword":"2AA60A8FF7FCD473D321E0146AFD9E26DF395147","adminCipherAlgorithm":"SHA","content":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n-->\n<dataset>\n  <Realm id=\"ea696a4f-e77a-4ef1-be67-8f8093bc8686\" name=\"/\" fullPath=\"/\"/>\n\n  <AnyType id=\"USER\" kind=\"USER\"/>\n  <AnyTypeClass id=\"BaseUser\"/>\n  <AnyType_AnyTypeClass anyType_id=\"USER\" anyTypeClass_id=\"BaseUser\"/>\n\n  <AnyType id=\"GROUP\" kind=\"GROUP\"/>\n        \n  <Implementation id=\"EmailAddressValidator\" type=\"ATTR_VALUE_VALIDATOR\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.persistence.common.attrvalue.EmailAddressValidator\"/>\n  <SyncopeSchema id=\"email\"/>\n  <PlainSchema id=\"email\" type=\"String\" anyTypeClass_id=\"BaseUser\"\n               mandatoryCondition=\"false\" multivalue=\"0\" uniqueConstraint=\"0\" readonly=\"0\"\n               validator_id=\"EmailAddressValidator\"/>\n\n  <Implementation id=\"BinaryValidator\" type=\"ATTR_VALUE_VALIDATOR\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.persistence.common.attrvalue.BinaryValidator\"/>\n\n  <Implementation id=\"MacroJobDelegate\" type=\"TASKJOB_DELEGATE\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.provisioning.java.job.MacroJobDelegate\"/>\n\n  <Implementation id=\"PullJobDelegate\" type=\"TASKJOB_DELEGATE\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.provisioning.java.pushpull.PullJobDelegate\"/>\n  <Implementation id=\"PushJobDelegate\" type=\"TASKJOB_DELEGATE\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.provisioning.java.pushpull.PushJobDelegate\"/>\n  <Implementation id=\"GroupMemberProvisionTaskJobDelegate\" type=\"TASKJOB_DELEGATE\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.provisioning.java.job.GroupMemberProvisionTaskJobDelegate\"/>\n\n  <Implementation id=\"ExpiredAccessTokenCleanup\" type=\"TASKJOB_DELEGATE\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.provisioning.java.job.ExpiredAccessTokenCleanup\"/>\n  <SchedTask id=\"89de5014-e3f5-4462-84d8-d97575740baf\" name=\"Access Token Cleanup Task\"  active=\"1\"\n             jobDelegate_id=\"ExpiredAccessTokenCleanup\" cronExpression=\"0 0/5 * * * ?\"/>\n  <Implementation id=\"ExpiredBatchCleanup\" type=\"TASKJOB_DELEGATE\" engine=\"JAVA\"\n                  body=\"org.apache.syncope.core.provisioning.java.job.ExpiredBatchCleanup\"/>\n  <SchedTask id=\"8ea0ea51-ce08-4fe3-a0c8-c281b31b5893\" name=\"Expired Batch Operations Cleanup Task\"  active=\"1\"\n             jobDelegate_id=\"ExpiredBatchCleanup\" cronExpression=\"0 0/5 * * * ?\"/>\n\n  <!-- Password reset notifications -->\n  <MailTemplate id=\"requestPasswordReset\"\n                textTemplate=\"Hi,\na password reset was requested for ${user.getUsername()}.\n\nIn order to complete this request, you need to visit this link:\n\nhttp://localhost:9080/syncope-enduser/confirmpasswordreset?token=${input.get(0).replaceAll('' '', ''%20'')}\n\nIf you did not request this reset, just ignore the present e-mail.\n\nBest regards.\"\n                htmlTemplate=\"&lt;html&gt;\n&lt;body&gt;\n&lt;p&gt;Hi,\na password reset was requested for ${user.getUsername()}.&lt;/p&gt;\n\n&lt;p&gt;In order to complete this request, you need to visit this \n&lt;a href=&quot;http://localhost:9080/syncope-enduser/confirmpasswordreset?token=${input.get(0).replaceAll('' '', ''%20'')}&quot;&gt;link&lt;/a&gt;&lt;/p&gt;.\n\n&lt;p&gt;If you did not request this reset, just ignore the present e-mail.&lt;/p&gt;\n\n&lt;p&gt;Best regards.&lt;/p&gt;\n&lt;/body&gt;\n&lt;/html&gt;\"/>\n  <MailTemplate id=\"confirmPasswordReset\"\n                textTemplate=\"Hi,\nwe are happy to inform you that the password request was successfully executed for your account.\n\nBest regards.\"\n                htmlTemplate=\"&lt;html&gt;\n&lt;body&gt;\n&lt;p&gt;Hi,&lt;/br&gt;\nwe are happy to inform you that the password request was successfully executed for your account.&lt;/p&gt;\n\n&lt;p&gt;Best regards.&lt;/p&gt;\n&lt;/body&gt;\n&lt;/html&gt;\"/>\n\n  <Notification id=\"c74b4616-9c63-4350-b4bf-ae0077b1ae6a\" active=\"1\" recipientAttrName=\"email\" selfAsRecipient=\"1\" \n                sender=\"admin@syncope.apache.org\" subject=\"Password Reset request\" template_id=\"requestPasswordReset\" \n                traceLevel=\"FAILURES\" events=''[\"[CUSTOM]:[]:[]:[requestPasswordReset]:[SUCCESS]\"]''/> \n  <AnyAbout id=\"0d4e37a1-a4f4-4865-afcb-4be01da3da53\" anyType_id=\"USER\" notification_id=\"c74b4616-9c63-4350-b4bf-ae0077b1ae6a\" anyType_filter=\"token!=$null\"/>\n  \n  <Notification id=\"71769807-7f74-4dc3-ba61-e4a7a00eb8ad\" active=\"1\" recipientAttrName=\"email\" selfAsRecipient=\"1\" \n                sender=\"admin@syncope.apache.org\" subject=\"Password Reset successful\" template_id=\"confirmPasswordReset\" \n                traceLevel=\"FAILURES\" events=''[\"[CUSTOM]:[]:[]:[confirmPasswordReset]:[SUCCESS]\"]''/> \n\n  <ConnInstance id=\"b7ea96c3-c633-488b-98a0-b52ac35850f7\" bundleName=\"net.tirasa.connid.bundles.ldap\" displayName=\"LDAP\"\n                adminRealm_id=\"ea696a4f-e77a-4ef1-be67-8f8093bc8686\"\n                location=\"${syncope.connid.location}\"\n                connectorName=\"net.tirasa.connid.bundles.ldap.LdapConnector\"\n                version=\"1.5.10\" \n                jsonConf=''[{\"schema\":{\"name\":\"synchronizePasswords\",\"displayName\":\"Enable Password Synchronization\",\"helpMessage\":\"If true, the connector will synchronize passwords. The Password Capture Plugin needs to be installed for password synchronization to work.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"false\"]},{\"schema\":{\"name\":\"maintainLdapGroupMembership\",\"displayName\":\"Maintain LDAP Group Membership\",\"helpMessage\":\"When enabled and a user is renamed or deleted, update any LDAP groups to which the user belongs to reflect the new name. Otherwise, the LDAP resource must maintain referential integrity with respect to group membership.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"true\"]},{\"schema\":{\"name\":\"host\",\"displayName\":\"Host\",\"helpMessage\":\"The name or IP address of the host where the LDAP server is running.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"localhost\"]},{\"schema\":{\"name\":\"passwordHashAlgorithm\",\"displayName\":\"Password Hash Algorithm\",\"helpMessage\":\"Indicates the algorithm that the Identity system should use to hash the password. Currently supported values are SSHA, SHA, SSHA1, and SHA1. A blank value indicates that the system will not hash passwords. This will cause cleartext passwords to be stored in LDAP unless the LDAP server performs the hash (Netscape Directory Server and iPlanet Directory Server do).\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"SHA\"]},{\"schema\":{\"name\":\"port\",\"displayName\":\"TCP Port\",\"helpMessage\":\"TCP/IP port number used to communicate with the LDAP server.\",\"type\":\"int\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[1389]},{\"schema\":{\"name\":\"vlvSortAttribute\",\"displayName\":\"VLV Sort Attribute\",\"helpMessage\":\"Specify the sort attribute to use for VLV indexes on the resource.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"statusManagementClass\",\"displayName\":\"Status management class \",\"helpMessage\":\"Class to be used to manage enabled/disabled status. If no class is specified then identity status management wont be possible.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"net.tirasa.connid.bundles.ldap.commons.AttributeStatusManagement\"]},{\"schema\":{\"name\":\"accountObjectClasses\",\"displayName\":\"Account Object Classes\",\"helpMessage\":\"The object class or classes that will be used when creating new user objects in the LDAP tree. When entering more than one object class, each entry should be on its own line; do not use commas or semi-colons to separate multiple object classes. Some object classes may require that you specify all object classes in the class hierarchy.\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"inetOrgPerson\"]},{\"schema\":{\"name\":\"accountUserNameAttributes\",\"displayName\":\"Account User Name Attributes\",\"helpMessage\":\"Attribute or attributes which holds the account user name. They will be used when authenticating to find the LDAP entry for the user name to authenticate.\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"uid\"]},{\"schema\":{\"name\":\"baseContextsToSynchronize\",\"displayName\":\"Base Contexts to Synchronize\",\"helpMessage\":\"One or more starting points in the LDAP tree that will be used to determine if a change should be synchronized. The base contexts attribute will be used to synchronize a change if this property is not set.\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"ou=people,o=isp\",\"ou=groups,o=isp\"]},{\"schema\":{\"name\":\"accountSynchronizationFilter\",\"displayName\":\"LDAP Filter for Accounts to Synchronize\",\"helpMessage\":\"An optional LDAP filter for the objects to synchronize. Because the change log is for all objects, this filter updates only objects that match the specified filter. If you specify a filter, an object will be synchronized only if it matches the filter and includes a synchronized object class.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"removeLogEntryObjectClassFromFilter\",\"displayName\":\"Remove Log Entry Object Class from Filter\",\"helpMessage\":\"If this property is set (the default), the filter used to fetch change log entries does not contain the \\\"changeLogEntry\\\" object class, expecting that there are no entries of other object types in the change log.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"false\"]},{\"schema\":{\"name\":\"passwordDecryptionKey\",\"displayName\":\"Password Decryption Key\",\"helpMessage\":\"The key to decrypt passwords with when performing password synchronization.\",\"type\":\"org.identityconnectors.common.security.GuardedByteArray\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"readSchema\",\"displayName\":\"Read Schema\",\"helpMessage\":\"If true, the connector will read the schema from the server. If false, the connector will provide a default schema based on the object classes in the configuration. This property must be true in order to use extended object classes.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"false\"]},{\"schema\":{\"name\":\"ssl\",\"displayName\":\"SSL\",\"helpMessage\":\"Select the check box to connect to the LDAP server using SSL.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"false\"]},{\"schema\":{\"name\":\"passwordAttributeToSynchronize\",\"displayName\":\"Password Attribute to Synchronize\",\"helpMessage\":\"The name of the password attribute to synchronize when performing password synchronization.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"accountSearchFilter\",\"displayName\":\"LDAP Filter for Retrieving Accounts\",\"helpMessage\":\"An optional LDAP filter to control which accounts are returned from the LDAP resource. If no filter is specified, only accounts that include all specified object classes are returned.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"uid=*\"]},{\"schema\":{\"name\":\"passwordDecryptionInitializationVector\",\"displayName\":\"Password Decryption Initialization Vector\",\"helpMessage\":\"The initialization vector to decrypt passwords with when performing password synchronization.\",\"type\":\"org.identityconnectors.common.security.GuardedByteArray\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"groupMemberAttribute\",\"displayName\":\"Group Member Attribute\",\"helpMessage\":\"The name of the group attribute that will be updated with the distinguished name of the user when the user is added to the group.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"failover\",\"displayName\":\"Failover Servers\",\"helpMessage\":\"List all servers that should be used for failover in case the preferred server fails. If the preferred server fails, JNDI will connect to the next available server in the list. List all servers in the form of \\\"ldap://ldap.example.com:389/\\\", which follows the standard LDAP v3 URLs described in RFC 2255. Only the host and port parts of the URL are relevant in this setting.\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"modifiersNamesToFilterOut\",\"displayName\":\"Filter Out Changes By\",\"helpMessage\":\"The names (DNs) of directory administrators to filter from the changes. Changes with the attribute \\\"modifiersName\\\" that match entries in this list will be filtered out. The standard value is the administrator name used by this adapter, to prevent loops. Entries should be of the format \\\"cn=Directory Manager\\\".\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"groupNameAttributes\",\"displayName\":\"Group Name Attributes\",\"helpMessage\":\"Attribute or attributes which holds the group name.\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"cn\"]},{\"schema\":{\"name\":\"uidAttribute\",\"displayName\":\"Uid Attribute\",\"helpMessage\":\"The name of the LDAP attribute which is mapped to the Uid attribute.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"cn\"]},{\"schema\":{\"name\":\"respectResourcePasswordPolicyChangeAfterReset\",\"displayName\":\"Respect Resource Password Policy Change-After-Reset\",\"helpMessage\":\"When this resource is specified in a Login Module (i.e., this resource is a pass-through authentication target) and the resource password policy is configured for change-after-reset, a user whose resource account password has been administratively reset will be required to change that password after successfully authenticating.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"false\"]},{\"schema\":{\"name\":\"filterWithOrInsteadOfAnd\",\"displayName\":\"Filter with Or Instead of And\",\"helpMessage\":\"Normally the the filter used to fetch change log entries is an and-based filter retrieving an interval of change entries. If this property is set, the filter will or together the required change numbers instead.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"false\"]},{\"schema\":{\"name\":\"principal\",\"displayName\":\"Principal\",\"helpMessage\":\"The distinguished name with which to authenticate to the LDAP server.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"uid=admin,ou=system\"]},{\"schema\":{\"name\":\"changeLogBlockSize\",\"displayName\":\"Change Log Block Size\",\"helpMessage\":\"The number of change log entries to fetch per query.\",\"type\":\"int\",\"required\":true,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[100]},{\"schema\":{\"name\":\"baseContexts\",\"displayName\":\"Base Contexts\",\"helpMessage\":\"One or more starting points in the LDAP tree that will be used when searching the tree. Searches are performed when discovering users from the LDAP server or when looking for the groups of which a user is a member.\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"ou=people,o=isp\",\"ou=groups,o=isp\"]},{\"schema\":{\"name\":\"passwordAttribute\",\"displayName\":\"Password Attribute\",\"helpMessage\":\"The name of the LDAP attribute which holds the password. When changing an user password, the new password is set to this attribute.\",\"type\":\"java.lang.String\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"userpassword\"]},{\"schema\":{\"name\":\"changeNumberAttribute\",\"displayName\":\"Change Number Attribute\",\"helpMessage\":\"The name of the change number attribute in the change log entry.\",\"type\":\"java.lang.String\",\"required\":true,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"changeNumber\"]},{\"schema\":{\"name\":\"objectClassesToSynchronize\",\"displayName\":\"Object Classes to Synchronize\",\"helpMessage\":\"The object classes to synchronize. The change log is for all objects; this filters updates to just the listed object classes. You should not list the superclasses of an object class unless you intend to synchronize objects with any of the superclass values. For example, if only \\\"inetOrgPerson\\\" objects should be synchronized, but the superclasses of \\\"inetOrgPerson\\\" (\\\"person\\\", \\\"organizationalperson\\\" and \\\"top\\\") should be filtered out, then list only \\\"inetOrgPerson\\\" here. All objects in LDAP are subclassed from \\\"top\\\". For this reason, you should never list \\\"top\\\", otherwise no object would be filtered.\",\"type\":\"[Ljava.lang.String;\",\"required\":true,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"inetOrgPerson\",\"groupOfUniqueNames\"]},{\"schema\":{\"name\":\"credentials\",\"displayName\":\"Password\",\"helpMessage\":\"Password for the principal.\",\"type\":\"org.identityconnectors.common.security.GuardedString\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"secret\"]},{\"schema\":{\"name\":\"attributesToSynchronize\",\"displayName\":\"Attributes to Synchronize\",\"helpMessage\":\"The names of the attributes to synchronize. This ignores updates from the change log if they do not update any of the named attributes. For example, if only \\\"department\\\" is listed, then only changes that affect \\\"department\\\" will be processed. All other updates are ignored. If blank (the default), then all changes are processed.\",\"type\":\"[Ljava.lang.String;\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[]},{\"schema\":{\"name\":\"maintainPosixGroupMembership\",\"displayName\":\"Maintain POSIX Group Membership\",\"helpMessage\":\"When enabled and a user is renamed or deleted, update any POSIX groups to which the user belongs to reflect the new name. Otherwise, the LDAP resource must maintain referential integrity with respect to group membership.\",\"type\":\"boolean\",\"required\":false,\"order\":0,\"confidential\":false,\"defaultValues\":null},\"overridable\":false,\"values\":[\"truemaintainLdapGroupMembership\"]}]''\n                capabilities=''[\"CREATE\",\"UPDATE\",\"DELETE\",\"SEARCH\"]''/>\n\n  <SyncopeRole id=\"GROUP_OWNER\" entitlements=''[\"USER_SEARCH\",\"USER_READ\",\"USER_CREATE\",\"USER_UPDATE\",\"USER_DELETE\",\"ANYTYPECLASS_READ\",\"ANYTYPE_LIST\",\"ANYTYPECLASS_LIST\",\"RELATIONSHIPTYPE_LIST\",\"ANYTYPE_READ\",\"REALM_SEARCH\",\"GROUP_SEARCH\",\"GROUP_READ\",\"GROUP_UPDATE\",\"GROUP_DELETE\"]''/>\n</dataset>\n","keymasterConfParams":"{\n  \"password.cipher.algorithm\": \"SHA1\",\n  \"token.length\": 256,\n  \"token.expireTime\": 60,\n  \"selfRegistration.allowed\": true,\n  \"passwordReset.allowed\": true,\n  \"passwordReset.securityQuestion\": true,\n  \"authentication.attributes\": [\"username\"],\n  \"authentication.statuses\": [\"created\", \"active\"],\n  \"log.lastlogindate\": true,\n  \"return.password.value\": false,\n  \"jwt.lifetime.minutes\": 120,\n  \"connector.conf.history.size\": 10,\n  \"resource.conf.history.size\": 10\n}","deployed":true,"jdbcDriver":"org.postgresql.Driver","jdbcURL":"jdbc:postgresql://localhost:5432/syncopetwo?stringtype=unspecified","dbSchema":null,"dbUsername":"syncopetwo","dbPassword":"syncopetwo","transactionIsolation":"TRANSACTION_READ_COMMITTED","poolMaxActive":20,"poolMinIdle":5,"orm":"META-INF/spring-orm.xml","databasePlatform":"org.apache.openjpa.jdbc.sql.PostgresDictionary"}');


--
-- TOC entry 4862 (class 0 OID 17049)
-- Dependencies: 308
-- Data for Name: syncopegroup; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopegroup VALUES ('37d15e4c-cdc1-460b-a591-8505c8133806', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'root', '[{"schema": "icon", "values": [{"stringValue": "niceIcon"}]}, {"schema": "show", "values": [{"booleanValue": true}]}, {"schema": "rderived_sx", "values": [{"stringValue": "sx"}]}, {"schema": "rderived_dx", "values": [{"stringValue": "dx"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('b1f7c12d-ec83-441f-a50e-1691daaedf3b', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'child', '[{"schema": "icon", "values": [{"stringValue": "badIcon"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('29f96485-729e-4d31-88a1-6fc60e4677f3', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'citizen', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('8fb2d51e-c605-4e80-a72b-13ffecf1aa9a', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'employee', '[{"schema": "icon", "values": [{"stringValue": "icon4"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('a3c1a693-a6be-483f-a2b3-5cfec146f4bf', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'secretary', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('ebf97068-aa4b-4a85-9f01-680e8c4cf227', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'director', '[{"schema": "icon", "values": [{"stringValue": "icon6"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, '823074dc-d280-436d-a7dd-07399fae48ec');
INSERT INTO public.syncopegroup VALUES ('bf825fe1-7320-4a54-bd64-143b5c18ab97', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'managingDirector', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('f779c0d4-633b-4be5-8f57-32eb478a3ca5', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'otherchild', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('0cbcabd2-4410-4b6b-8f05-a052b451d18f', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'groupForWorkflowApproval', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('b8d38784-57e7-4595-859a-076222644b55', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'managingConsultant', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('268fed79-f440-4390-9435-b273768eb5d6', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'groupForWorkflowOptIn', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('0626100b-a4ba-4e00-9971-86fad52a6216', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'aGroupForPropagation', '[{"schema": "title", "values": [{"stringValue": "r12"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('ba9ed509-b1f5-48ab-a334-c8530a6422dc', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'bGroupForPropagation', '[{"schema": "title", "values": [{"stringValue": "r13"}]}]', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('ece66293-8f31-4a84-8e8d-23da36e70846', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'artDirector', NULL, 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('034740a9-fa10-453b-af37-dc7897e98fb1', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'additional', NULL, 'c5b75db1-fce7-470f-b780-3b9934d82a9d', NULL, NULL);
INSERT INTO public.syncopegroup VALUES ('e7ff94e8-19c9-4f0a-b8b7-28327edbf6ed', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, 'fake', NULL, '722f3d84-9c2b-4525-8f6e-e4b82c55a36c', NULL, NULL);


--
-- TOC entry 4863 (class 0 OID 17058)
-- Dependencies: 309
-- Data for Name: syncopegroup_anytypeclass; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopegroup_anytypeclass VALUES ('0626100b-a4ba-4e00-9971-86fad52a6216', 'csv');
INSERT INTO public.syncopegroup_anytypeclass VALUES ('ba9ed509-b1f5-48ab-a334-c8530a6422dc', 'csv');


--
-- TOC entry 4864 (class 0 OID 17063)
-- Dependencies: 310
-- Data for Name: syncopegroup_externalresource; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopegroup_externalresource VALUES ('29f96485-729e-4d31-88a1-6fc60e4677f3', 'ws-target-resource-list-mappings-1');
INSERT INTO public.syncopegroup_externalresource VALUES ('f779c0d4-633b-4be5-8f57-32eb478a3ca5', 'ws-target-resource-2');
INSERT INTO public.syncopegroup_externalresource VALUES ('29f96485-729e-4d31-88a1-6fc60e4677f3', 'ws-target-resource-list-mappings-2');
INSERT INTO public.syncopegroup_externalresource VALUES ('bf825fe1-7320-4a54-bd64-143b5c18ab97', 'ws-target-resource-nopropagation');
INSERT INTO public.syncopegroup_externalresource VALUES ('b8d38784-57e7-4595-859a-076222644b55', 'ws-target-resource-nopropagation3');
INSERT INTO public.syncopegroup_externalresource VALUES ('0626100b-a4ba-4e00-9971-86fad52a6216', 'resource-csv');
INSERT INTO public.syncopegroup_externalresource VALUES ('ba9ed509-b1f5-48ab-a334-c8530a6422dc', 'resource-csv');


--
-- TOC entry 4865 (class 0 OID 17068)
-- Dependencies: 311
-- Data for Name: syncoperole; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncoperole VALUES ('User reviewer', NULL, NULL, '["USER_READ","USER_LIST","USER_SEARCH","ANYTYPE_LIST","ANYTYPE_READ","ANYTYPECLASS_LIST","ANYTYPECLASS_READ"]');
INSERT INTO public.syncoperole VALUES ('User manager', NULL, NULL, '["USER_READ","USER_LIST","USER_SEARCH","ANYTYPE_LIST","ANYTYPE_READ","ANYTYPECLASS_LIST","ANYTYPECLASS_READ","USER_REQUEST_FORM_LIST","USER_REQUEST_FORM_CLAIM","USER_REQUEST_FORM_SUBMIT"]');
INSERT INTO public.syncoperole VALUES ('Other', NULL, NULL, '["SCHEMA_READ","GROUP_READ","USER_REQUEST_FORM_CLAIM"]');
INSERT INTO public.syncoperole VALUES ('Search for realm evenTwo', NULL, NULL, '["USER_READ","USER_SEARCH"]');
INSERT INTO public.syncoperole VALUES ('Connector and Resource for realm evenTwo', NULL, NULL, '["CONNECTOR_READ","CONNECTOR_UPDATE","CONNECTOR_DELETE","CONNECTOR_LIST","RESOURCE_READ","RESOURCE_UPDATE","RESOURCE_DELETE","RESOURCE_LIST"]');
INSERT INTO public.syncoperole VALUES ('GROUP_OWNER', NULL, NULL, '["USER_SEARCH","USER_READ","USER_CREATE","USER_UPDATE","USER_DELETE","ANYTYPECLASS_READ","ANYTYPE_LIST","ANYTYPECLASS_LIST","RELATIONSHIPTYPE_LIST","ANYTYPE_READ","REALM_SEARCH","GROUP_SEARCH","GROUP_READ","GROUP_UPDATE","GROUP_DELETE"]');


--
-- TOC entry 4866 (class 0 OID 17075)
-- Dependencies: 312
-- Data for Name: syncoperole_dynrealm; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4867 (class 0 OID 17082)
-- Dependencies: 313
-- Data for Name: syncoperole_realm; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncoperole_realm VALUES ('User reviewer', '722f3d84-9c2b-4525-8f6e-e4b82c55a36c');
INSERT INTO public.syncoperole_realm VALUES ('User reviewer', 'c5b75db1-fce7-470f-b780-3b9934d82a9d');
INSERT INTO public.syncoperole_realm VALUES ('User manager', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28');
INSERT INTO public.syncoperole_realm VALUES ('Other', '722f3d84-9c2b-4525-8f6e-e4b82c55a36c');
INSERT INTO public.syncoperole_realm VALUES ('Search for realm evenTwo', '0679e069-7355-4b20-bd11-a5a0a5453c7c');
INSERT INTO public.syncoperole_realm VALUES ('Connector and Resource for realm evenTwo', '0679e069-7355-4b20-bd11-a5a0a5453c7c');


--
-- TOC entry 4868 (class 0 OID 17087)
-- Dependencies: 314
-- Data for Name: syncopeschema; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopeschema VALUES ('fullname', NULL);
INSERT INTO public.syncopeschema VALUES ('userId', NULL);
INSERT INTO public.syncopeschema VALUES ('loginDate', NULL);
INSERT INTO public.syncopeschema VALUES ('firstname', '{"en":"Firstname","it":"Nome","pt_BR":"Nome"}');
INSERT INTO public.syncopeschema VALUES ('surname', '{"en":"Surname","it":"Cognome"}');
INSERT INTO public.syncopeschema VALUES ('ctype', NULL);
INSERT INTO public.syncopeschema VALUES ('email', NULL);
INSERT INTO public.syncopeschema VALUES ('activationDate', NULL);
INSERT INTO public.syncopeschema VALUES ('uselessReadonly', NULL);
INSERT INTO public.syncopeschema VALUES ('cool', NULL);
INSERT INTO public.syncopeschema VALUES ('gender', NULL);
INSERT INTO public.syncopeschema VALUES ('dd', NULL);
INSERT INTO public.syncopeschema VALUES ('aLong', NULL);
INSERT INTO public.syncopeschema VALUES ('makeItDouble', NULL);
INSERT INTO public.syncopeschema VALUES ('obscure', NULL);
INSERT INTO public.syncopeschema VALUES ('photo', NULL);
INSERT INTO public.syncopeschema VALUES ('csvuserid', NULL);
INSERT INTO public.syncopeschema VALUES ('cn', NULL);
INSERT INTO public.syncopeschema VALUES ('noschema', NULL);
INSERT INTO public.syncopeschema VALUES ('info', NULL);
INSERT INTO public.syncopeschema VALUES ('icon', NULL);
INSERT INTO public.syncopeschema VALUES ('show', NULL);
INSERT INTO public.syncopeschema VALUES ('rderived_sx', NULL);
INSERT INTO public.syncopeschema VALUES ('rderived_dx', NULL);
INSERT INTO public.syncopeschema VALUES ('title', NULL);
INSERT INTO public.syncopeschema VALUES ('originalName', NULL);
INSERT INTO public.syncopeschema VALUES ('rderiveddata', NULL);
INSERT INTO public.syncopeschema VALUES ('displayProperty', NULL);
INSERT INTO public.syncopeschema VALUES ('rderToBePropagated', NULL);
INSERT INTO public.syncopeschema VALUES ('rderivedschema', NULL);
INSERT INTO public.syncopeschema VALUES ('subscriptionDate', NULL);
INSERT INTO public.syncopeschema VALUES ('mderived_sx', NULL);
INSERT INTO public.syncopeschema VALUES ('mderived_dx', NULL);
INSERT INTO public.syncopeschema VALUES ('postalAddress', NULL);
INSERT INTO public.syncopeschema VALUES ('mderiveddata', NULL);
INSERT INTO public.syncopeschema VALUES ('mderToBePropagated', NULL);
INSERT INTO public.syncopeschema VALUES ('model', NULL);
INSERT INTO public.syncopeschema VALUES ('location', NULL);


--
-- TOC entry 4869 (class 0 OID 17094)
-- Dependencies: 315
-- Data for Name: syncopeuser; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopeuser VALUES ('1417acbe-cbf6-4277-9372-e75e04f97000', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', 'active', NULL, 'SHA1', NULL, NULL, 0, '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', NULL, '[{"schema": "ctype", "values": [{"stringValue": "G"}]}, {"schema": "firstname", "values": [{"stringValue": "Gioacchino"}]}, {"schema": "surname", "values": [{"stringValue": "Rossini"}]}, {"schema": "loginDate", "values": [{"dateValue": "2009-05-26T00:00:00+02:00"}, {"dateValue": "2010-05-26T00:00:00+02:00"}]}, {"schema": "fullname", "uniqueValue": {"stringValue": "Gioacchino Rossini"}}, {"schema": "userId", "uniqueValue": {"stringValue": "rossini@apache.org"}}]', NULL, 0, NULL, NULL, 'rossini', 'c5b75db1-fce7-470f-b780-3b9934d82a9d', NULL);
INSERT INTO public.syncopeuser VALUES ('74cd8ece-715a-44a4-a736-e17b46c4e7e6', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', 'active', NULL, 'SHA1', NULL, NULL, 0, '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', NULL, '[{"schema": "firstname", "values": [{"stringValue": "Giuseppe"}]}, {"schema": "surname", "values": [{"stringValue": "Verdi"}]}, {"schema": "email", "values": [{"stringValue": "verdi@syncope.org"}]}, {"schema": "fullname", "uniqueValue": {"stringValue": "Giuseppe Verdi"}}, {"schema": "userId", "uniqueValue": {"stringValue": "verdi@apache.org"}}]', NULL, 0, NULL, NULL, 'verdi', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.syncopeuser VALUES ('b3cbc78d-32e6-4bd4-92e0-bbe07566a2ee', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', 'active', NULL, 'SHA1', NULL, NULL, 0, '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', NULL, '[{"schema": "firstname", "values": [{"stringValue": "Antonio"}]}, {"schema": "surname", "values": [{"stringValue": "Vivaldi"}]}, {"schema": "email", "values": [{"stringValue": "vivaldi@syncope.org"}]}, {"schema": "ctype", "values": [{"stringValue": "F"}]}, {"schema": "fullname", "uniqueValue": {"stringValue": "Antonio Vivaldi"}}, {"schema": "userId", "uniqueValue": {"stringValue": "vivaldi@apache.org"}}]', NULL, 0, NULL, NULL, 'vivaldi', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.syncopeuser VALUES ('c9b2dec2-00a7-4855-97c0-d854842b4b24', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', 'active', NULL, 'SHA1', NULL, '2016-03-03 14:21:22+00', 0, '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', NULL, '[{"schema": "firstname", "values": [{"stringValue": "Vincenzo"}]}, {"schema": "surname", "values": [{"stringValue": "Bellini"}]}, {"schema": "loginDate", "values": [{"dateValue": "2009-06-24T00:00:00+02:00"}]}, {"schema": "cool", "values": [{"booleanValue": true}]}, {"schema": "gender", "values": [{"stringValue": "M"}]}, {"schema": "fullname", "uniqueValue": {"stringValue": "Vincenzo Bellini"}}, {"schema": "userId", "uniqueValue": {"stringValue": "bellini@apache.org"}}]', NULL, 0, NULL, NULL, 'bellini', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);
INSERT INTO public.syncopeuser VALUES ('823074dc-d280-436d-a7dd-07399fae48ec', NULL, '2010-10-20 10:00:00+00', 'admin', NULL, '2010-10-20 10:00:00+00', 'admin', 'active', NULL, 'SHA1', NULL, NULL, 0, '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', NULL, '[{"schema": "firstname", "values": [{"stringValue": "Giacomo"}]}, {"schema": "surname", "values": [{"stringValue": "Puccini"}]}, {"schema": "fullname", "uniqueValue": {"stringValue": "Giacomo Puccini"}}, {"schema": "userId", "uniqueValue": {"stringValue": "puccini@apache.org"}}]', NULL, 0, NULL, NULL, 'puccini', 'e4c28e7a-9dbf-4ee7-9441-93812a0d4a28', NULL);


--
-- TOC entry 4870 (class 0 OID 17103)
-- Dependencies: 316
-- Data for Name: syncopeuser_anytypeclass; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4871 (class 0 OID 17108)
-- Dependencies: 317
-- Data for Name: syncopeuser_externalresource; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopeuser_externalresource VALUES ('1417acbe-cbf6-4277-9372-e75e04f97000', 'resource-testdb2');
INSERT INTO public.syncopeuser_externalresource VALUES ('b3cbc78d-32e6-4bd4-92e0-bbe07566a2ee', 'ws-target-resource-delete');
INSERT INTO public.syncopeuser_externalresource VALUES ('b3cbc78d-32e6-4bd4-92e0-bbe07566a2ee', 'ws-target-resource-2');
INSERT INTO public.syncopeuser_externalresource VALUES ('b3cbc78d-32e6-4bd4-92e0-bbe07566a2ee', 'ws-target-resource-1');
INSERT INTO public.syncopeuser_externalresource VALUES ('823074dc-d280-436d-a7dd-07399fae48ec', 'resource-testdb2');


--
-- TOC entry 4872 (class 0 OID 17113)
-- Dependencies: 318
-- Data for Name: syncopeuser_syncoperole; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.syncopeuser_syncoperole VALUES ('1417acbe-cbf6-4277-9372-e75e04f97000', 'Other');
INSERT INTO public.syncopeuser_syncoperole VALUES ('c9b2dec2-00a7-4855-97c0-d854842b4b24', 'User reviewer');
INSERT INTO public.syncopeuser_syncoperole VALUES ('c9b2dec2-00a7-4855-97c0-d854842b4b24', 'User manager');
INSERT INTO public.syncopeuser_syncoperole VALUES ('823074dc-d280-436d-a7dd-07399fae48ec', 'Search for realm evenTwo');
INSERT INTO public.syncopeuser_syncoperole VALUES ('823074dc-d280-436d-a7dd-07399fae48ec', 'Connector and Resource for realm evenTwo');


--
-- TOC entry 4873 (class 0 OID 17118)
-- Dependencies: 319
-- Data for Name: ticketexpirationpolicy; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4874 (class 0 OID 17125)
-- Dependencies: 320
-- Data for Name: typeextension; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.typeextension VALUES ('88a71478-30aa-4ee0-8b2b-6cb32e7ba264', 'f779c0d4-633b-4be5-8f57-32eb478a3ca5', 'PRINTER');
INSERT INTO public.typeextension VALUES ('84c1490c-a1d9-4b91-859c-fafbb0113a85', '034740a9-fa10-453b-af37-dc7897e98fb1', 'USER');


--
-- TOC entry 4875 (class 0 OID 17132)
-- Dependencies: 321
-- Data for Name: typeextension_anytypeclass; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.typeextension_anytypeclass VALUES ('88a71478-30aa-4ee0-8b2b-6cb32e7ba264', 'other');
INSERT INTO public.typeextension_anytypeclass VALUES ('84c1490c-a1d9-4b91-859c-fafbb0113a85', 'csv');
INSERT INTO public.typeextension_anytypeclass VALUES ('84c1490c-a1d9-4b91-859c-fafbb0113a85', 'other');


--
-- TOC entry 4926 (class 0 OID 18696)
-- Dependencies: 372
-- Data for Name: udyngroupmembers; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4876 (class 0 OID 17137)
-- Dependencies: 322
-- Data for Name: udyngroupmembership; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4877 (class 0 OID 17142)
-- Dependencies: 323
-- Data for Name: umembership; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.umembership VALUES ('3d5e91f6-305e-45f9-ad30-4897d3d43bd9', '1417acbe-cbf6-4277-9372-e75e04f97000', '37d15e4c-cdc1-460b-a591-8505c8133806');
INSERT INTO public.umembership VALUES ('d53f7657-2b22-4e10-a2cd-c3379a4d1a31', '74cd8ece-715a-44a4-a736-e17b46c4e7e6', '37d15e4c-cdc1-460b-a591-8505c8133806');
INSERT INTO public.umembership VALUES ('8e42a132-55ae-4860-bebd-2ca00ba5e959', '74cd8ece-715a-44a4-a736-e17b46c4e7e6', 'b1f7c12d-ec83-441f-a50e-1691daaedf3b');
INSERT INTO public.umembership VALUES ('40e409a4-d870-4792-b820-30668f1269b9', 'c9b2dec2-00a7-4855-97c0-d854842b4b24', 'bf825fe1-7320-4a54-bd64-143b5c18ab97');
INSERT INTO public.umembership VALUES ('6d8a7dc0-d4bc-4b7e-b058-abcd3df28f28', '1417acbe-cbf6-4277-9372-e75e04f97000', 'f779c0d4-633b-4be5-8f57-32eb478a3ca5');
INSERT INTO public.umembership VALUES ('34f2d776-58b1-4640-8e64-e979b4242a18', '74cd8ece-715a-44a4-a736-e17b46c4e7e6', '29f96485-729e-4d31-88a1-6fc60e4677f3');
INSERT INTO public.umembership VALUES ('8cfb78fc-d0e7-4f08-a0ae-d7abf3223b6f', '823074dc-d280-436d-a7dd-07399fae48ec', 'ece66293-8f31-4a84-8e8d-23da36e70846');


--
-- TOC entry 4878 (class 0 OID 17147)
-- Dependencies: 324
-- Data for Name: urelationship; Type: TABLE DATA; Schema: public; Owner: -
--

INSERT INTO public.urelationship VALUES ('ca20ffca-1305-442f-be9a-3723a0cd88ca', 'c9b2dec2-00a7-4855-97c0-d854842b4b24', 'fc6dbc3a-6c07-4965-8781-921e7401a4a5', 'neighborhood');


--
-- TOC entry 4879 (class 0 OID 17154)
-- Dependencies: 325
-- Data for Name: waconfigentry; Type: TABLE DATA; Schema: public; Owner: -
--



--
-- TOC entry 4934 (class 0 OID 0)
-- Dependencies: 351
-- Name: act_evt_log_log_nr__seq; Type: SEQUENCE SET; Schema: public; Owner: -
--

SELECT pg_catalog.setval('public.act_evt_log_log_nr__seq', 1, false);


--
-- TOC entry 4935 (class 0 OID 0)
-- Dependencies: 342
-- Name: act_hi_tsk_log_id__seq; Type: SEQUENCE SET; Schema: public; Owner: -
--

SELECT pg_catalog.setval('public.act_hi_tsk_log_id__seq', 1, false);


--
-- TOC entry 3830 (class 2606 OID 16396)
-- Name: accesspolicy accesspolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.accesspolicy
    ADD CONSTRAINT accesspolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 3832 (class 2606 OID 16403)
-- Name: accesstoken accesstoken_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.accesstoken
    ADD CONSTRAINT accesstoken_pkey PRIMARY KEY (id);


--
-- TOC entry 3836 (class 2606 OID 16410)
-- Name: accountpolicy accountpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.accountpolicy
    ADD CONSTRAINT accountpolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 4317 (class 2606 OID 18324)
-- Name: act_evt_log act_evt_log_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_evt_log
    ADD CONSTRAINT act_evt_log_pkey PRIMARY KEY (log_nr_);


--
-- TOC entry 4164 (class 2606 OID 18012)
-- Name: act_ge_bytearray act_ge_bytearray_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ge_bytearray
    ADD CONSTRAINT act_ge_bytearray_pkey PRIMARY KEY (id_);


--
-- TOC entry 4162 (class 2606 OID 18005)
-- Name: act_ge_property act_ge_property_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ge_property
    ADD CONSTRAINT act_ge_property_pkey PRIMARY KEY (name_);


--
-- TOC entry 4341 (class 2606 OID 18558)
-- Name: act_hi_actinst act_hi_actinst_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_actinst
    ADD CONSTRAINT act_hi_actinst_pkey PRIMARY KEY (id_);


--
-- TOC entry 4356 (class 2606 OID 18579)
-- Name: act_hi_attachment act_hi_attachment_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_attachment
    ADD CONSTRAINT act_hi_attachment_pkey PRIMARY KEY (id_);


--
-- TOC entry 4354 (class 2606 OID 18572)
-- Name: act_hi_comment act_hi_comment_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_comment
    ADD CONSTRAINT act_hi_comment_pkey PRIMARY KEY (id_);


--
-- TOC entry 4347 (class 2606 OID 18565)
-- Name: act_hi_detail act_hi_detail_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_detail
    ADD CONSTRAINT act_hi_detail_pkey PRIMARY KEY (id_);


--
-- TOC entry 4173 (class 2606 OID 18030)
-- Name: act_hi_entitylink act_hi_entitylink_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_entitylink
    ADD CONSTRAINT act_hi_entitylink_pkey PRIMARY KEY (id_);


--
-- TOC entry 4189 (class 2606 OID 18053)
-- Name: act_hi_identitylink act_hi_identitylink_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_identitylink
    ADD CONSTRAINT act_hi_identitylink_pkey PRIMARY KEY (id_);


--
-- TOC entry 4334 (class 2606 OID 18547)
-- Name: act_hi_procinst act_hi_procinst_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_procinst
    ADD CONSTRAINT act_hi_procinst_pkey PRIMARY KEY (id_);


--
-- TOC entry 4336 (class 2606 OID 18549)
-- Name: act_hi_procinst act_hi_procinst_proc_inst_id__key; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_procinst
    ADD CONSTRAINT act_hi_procinst_proc_inst_id__key UNIQUE (proc_inst_id_);


--
-- TOC entry 4266 (class 2606 OID 18229)
-- Name: act_hi_taskinst act_hi_taskinst_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_taskinst
    ADD CONSTRAINT act_hi_taskinst_pkey PRIMARY KEY (id_);


--
-- TOC entry 4272 (class 2606 OID 18239)
-- Name: act_hi_tsk_log act_hi_tsk_log_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_tsk_log
    ADD CONSTRAINT act_hi_tsk_log_pkey PRIMARY KEY (id_);


--
-- TOC entry 4283 (class 2606 OID 18266)
-- Name: act_hi_varinst act_hi_varinst_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_hi_varinst
    ADD CONSTRAINT act_hi_varinst_pkey PRIMARY KEY (id_);


--
-- TOC entry 4360 (class 2606 OID 18609)
-- Name: act_id_bytearray act_id_bytearray_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_bytearray
    ADD CONSTRAINT act_id_bytearray_pkey PRIMARY KEY (id_);


--
-- TOC entry 4362 (class 2606 OID 18616)
-- Name: act_id_group act_id_group_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_group
    ADD CONSTRAINT act_id_group_pkey PRIMARY KEY (id_);


--
-- TOC entry 4370 (class 2606 OID 18636)
-- Name: act_id_info act_id_info_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_info
    ADD CONSTRAINT act_id_info_pkey PRIMARY KEY (id_);


--
-- TOC entry 4364 (class 2606 OID 18621)
-- Name: act_id_membership act_id_membership_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_membership
    ADD CONSTRAINT act_id_membership_pkey PRIMARY KEY (user_id_, group_id_);


--
-- TOC entry 4378 (class 2606 OID 18655)
-- Name: act_id_priv_mapping act_id_priv_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_priv_mapping
    ADD CONSTRAINT act_id_priv_mapping_pkey PRIMARY KEY (id_);


--
-- TOC entry 4374 (class 2606 OID 18648)
-- Name: act_id_priv act_id_priv_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_priv
    ADD CONSTRAINT act_id_priv_pkey PRIMARY KEY (id_);


--
-- TOC entry 4358 (class 2606 OID 18602)
-- Name: act_id_property act_id_property_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_property
    ADD CONSTRAINT act_id_property_pkey PRIMARY KEY (name_);


--
-- TOC entry 4372 (class 2606 OID 18643)
-- Name: act_id_token act_id_token_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_token
    ADD CONSTRAINT act_id_token_pkey PRIMARY KEY (id_);


--
-- TOC entry 4368 (class 2606 OID 18629)
-- Name: act_id_user act_id_user_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_user
    ADD CONSTRAINT act_id_user_pkey PRIMARY KEY (id_);


--
-- TOC entry 4321 (class 2606 OID 18329)
-- Name: act_procdef_info act_procdef_info_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_procdef_info
    ADD CONSTRAINT act_procdef_info_pkey PRIMARY KEY (id_);


--
-- TOC entry 4297 (class 2606 OID 18289)
-- Name: act_re_deployment act_re_deployment_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_re_deployment
    ADD CONSTRAINT act_re_deployment_pkey PRIMARY KEY (id_);


--
-- TOC entry 4302 (class 2606 OID 18297)
-- Name: act_re_model act_re_model_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_re_model
    ADD CONSTRAINT act_re_model_pkey PRIMARY KEY (id_);


--
-- TOC entry 4313 (class 2606 OID 18314)
-- Name: act_re_procdef act_re_procdef_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_re_procdef
    ADD CONSTRAINT act_re_procdef_pkey PRIMARY KEY (id_);


--
-- TOC entry 4332 (class 2606 OID 18338)
-- Name: act_ru_actinst act_ru_actinst_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_actinst
    ADD CONSTRAINT act_ru_actinst_pkey PRIMARY KEY (id_);


--
-- TOC entry 4240 (class 2606 OID 18089)
-- Name: act_ru_deadletter_job act_ru_deadletter_job_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_deadletter_job
    ADD CONSTRAINT act_ru_deadletter_job_pkey PRIMARY KEY (id_);


--
-- TOC entry 4171 (class 2606 OID 18019)
-- Name: act_ru_entitylink act_ru_entitylink_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_entitylink
    ADD CONSTRAINT act_ru_entitylink_pkey PRIMARY KEY (id_);


--
-- TOC entry 4295 (class 2606 OID 18277)
-- Name: act_ru_event_subscr act_ru_event_subscr_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_event_subscr
    ADD CONSTRAINT act_ru_event_subscr_pkey PRIMARY KEY (id_);


--
-- TOC entry 4311 (class 2606 OID 18305)
-- Name: act_ru_execution act_ru_execution_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_execution
    ADD CONSTRAINT act_ru_execution_pkey PRIMARY KEY (id_);


--
-- TOC entry 4250 (class 2606 OID 18105)
-- Name: act_ru_external_job act_ru_external_job_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_external_job
    ADD CONSTRAINT act_ru_external_job_pkey PRIMARY KEY (id_);


--
-- TOC entry 4242 (class 2606 OID 18097)
-- Name: act_ru_history_job act_ru_history_job_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_history_job
    ADD CONSTRAINT act_ru_history_job_pkey PRIMARY KEY (id_);


--
-- TOC entry 4187 (class 2606 OID 18041)
-- Name: act_ru_identitylink act_ru_identitylink_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_identitylink
    ADD CONSTRAINT act_ru_identitylink_pkey PRIMARY KEY (id_);


--
-- TOC entry 4206 (class 2606 OID 18065)
-- Name: act_ru_job act_ru_job_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_job
    ADD CONSTRAINT act_ru_job_pkey PRIMARY KEY (id_);


--
-- TOC entry 4229 (class 2606 OID 18081)
-- Name: act_ru_suspended_job act_ru_suspended_job_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_suspended_job
    ADD CONSTRAINT act_ru_suspended_job_pkey PRIMARY KEY (id_);


--
-- TOC entry 4264 (class 2606 OID 18216)
-- Name: act_ru_task act_ru_task_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_task
    ADD CONSTRAINT act_ru_task_pkey PRIMARY KEY (id_);


--
-- TOC entry 4218 (class 2606 OID 18073)
-- Name: act_ru_timer_job act_ru_timer_job_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_timer_job
    ADD CONSTRAINT act_ru_timer_job_pkey PRIMARY KEY (id_);


--
-- TOC entry 4281 (class 2606 OID 18250)
-- Name: act_ru_variable act_ru_variable_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_variable
    ADD CONSTRAINT act_ru_variable_pkey PRIMARY KEY (id_);


--
-- TOC entry 4323 (class 2606 OID 18538)
-- Name: act_procdef_info act_uniq_info_procdef; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_procdef_info
    ADD CONSTRAINT act_uniq_info_procdef UNIQUE (proc_def_id_);


--
-- TOC entry 4376 (class 2606 OID 18677)
-- Name: act_id_priv act_uniq_priv_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_priv
    ADD CONSTRAINT act_uniq_priv_name UNIQUE (name_);


--
-- TOC entry 4315 (class 2606 OID 18357)
-- Name: act_re_procdef act_uniq_procdef; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_re_procdef
    ADD CONSTRAINT act_uniq_procdef UNIQUE (key_, version_, derived_version_, tenant_id_);


--
-- TOC entry 4384 (class 2606 OID 18685)
-- Name: adyngroupmembers adyngroupmembers_anytype_id_any_id_group_id_key; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.adyngroupmembers
    ADD CONSTRAINT adyngroupmembers_anytype_id_any_id_group_id_key UNIQUE (anytype_id, any_id, group_id);


--
-- TOC entry 3840 (class 2606 OID 16422)
-- Name: adyngroupmembership adyngroupmembership_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.adyngroupmembership
    ADD CONSTRAINT adyngroupmembership_pkey PRIMARY KEY (id);


--
-- TOC entry 3844 (class 2606 OID 16427)
-- Name: amembership amembership_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.amembership
    ADD CONSTRAINT amembership_pkey PRIMARY KEY (id);


--
-- TOC entry 3846 (class 2606 OID 16434)
-- Name: anyabout anyabout_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyabout
    ADD CONSTRAINT anyabout_pkey PRIMARY KEY (id);


--
-- TOC entry 3852 (class 2606 OID 16443)
-- Name: anyobject anyobject_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject
    ADD CONSTRAINT anyobject_pkey PRIMARY KEY (id);


--
-- TOC entry 3862 (class 2606 OID 16462)
-- Name: anytemplatelivesynctask anytemplatelivesynctask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatelivesynctask
    ADD CONSTRAINT anytemplatelivesynctask_pkey PRIMARY KEY (id);


--
-- TOC entry 3866 (class 2606 OID 16471)
-- Name: anytemplatepulltask anytemplatepulltask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatepulltask
    ADD CONSTRAINT anytemplatepulltask_pkey PRIMARY KEY (id);


--
-- TOC entry 3871 (class 2606 OID 16480)
-- Name: anytemplaterealm anytemplaterealm_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplaterealm
    ADD CONSTRAINT anytemplaterealm_pkey PRIMARY KEY (id);


--
-- TOC entry 3875 (class 2606 OID 16487)
-- Name: anytype anytype_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytype
    ADD CONSTRAINT anytype_pkey PRIMARY KEY (id);


--
-- TOC entry 3877 (class 2606 OID 16492)
-- Name: anytypeclass anytypeclass_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytypeclass
    ADD CONSTRAINT anytypeclass_pkey PRIMARY KEY (id);


--
-- TOC entry 3880 (class 2606 OID 16502)
-- Name: arelationship arelationship_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.arelationship
    ADD CONSTRAINT arelationship_pkey PRIMARY KEY (id);


--
-- TOC entry 3885 (class 2606 OID 16511)
-- Name: attrreleasepolicy attrreleasepolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.attrreleasepolicy
    ADD CONSTRAINT attrreleasepolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 3887 (class 2606 OID 16518)
-- Name: attrrepo attrrepo_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.attrrepo
    ADD CONSTRAINT attrrepo_pkey PRIMARY KEY (id);


--
-- TOC entry 3889 (class 2606 OID 16523)
-- Name: auditconf auditconf_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.auditconf
    ADD CONSTRAINT auditconf_pkey PRIMARY KEY (id);


--
-- TOC entry 3891 (class 2606 OID 16530)
-- Name: auditevent auditevent_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.auditevent
    ADD CONSTRAINT auditevent_pkey PRIMARY KEY (id);


--
-- TOC entry 3893 (class 2606 OID 16537)
-- Name: authmodule authmodule_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.authmodule
    ADD CONSTRAINT authmodule_pkey PRIMARY KEY (id);


--
-- TOC entry 3895 (class 2606 OID 16544)
-- Name: authpolicy authpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.authpolicy
    ADD CONSTRAINT authpolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 3897 (class 2606 OID 16551)
-- Name: authprofile authprofile_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.authprofile
    ADD CONSTRAINT authprofile_pkey PRIMARY KEY (id);


--
-- TOC entry 3901 (class 2606 OID 16560)
-- Name: casspclientapp casspclientapp_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT casspclientapp_pkey PRIMARY KEY (id);


--
-- TOC entry 3909 (class 2606 OID 16573)
-- Name: confparam confparam_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.confparam
    ADD CONSTRAINT confparam_pkey PRIMARY KEY (id);


--
-- TOC entry 3911 (class 2606 OID 16580)
-- Name: conninstance conninstance_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.conninstance
    ADD CONSTRAINT conninstance_pkey PRIMARY KEY (id);


--
-- TOC entry 3915 (class 2606 OID 16587)
-- Name: delegation delegation_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delegation
    ADD CONSTRAINT delegation_pkey PRIMARY KEY (id);


--
-- TOC entry 3919 (class 2606 OID 16599)
-- Name: derschema derschema_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.derschema
    ADD CONSTRAINT derschema_pkey PRIMARY KEY (id);


--
-- TOC entry 3921 (class 2606 OID 16604)
-- Name: dynrealm dynrealm_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dynrealm
    ADD CONSTRAINT dynrealm_pkey PRIMARY KEY (id);


--
-- TOC entry 4388 (class 2606 OID 18690)
-- Name: dynrealmmembers dynrealmmembers_any_id_dynrealm_id_key; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dynrealmmembers
    ADD CONSTRAINT dynrealmmembers_any_id_dynrealm_id_key UNIQUE (any_id, dynrealm_id);


--
-- TOC entry 3923 (class 2606 OID 16611)
-- Name: dynrealmmembership dynrealmmembership_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dynrealmmembership
    ADD CONSTRAINT dynrealmmembership_pkey PRIMARY KEY (id);


--
-- TOC entry 4392 (class 2606 OID 18695)
-- Name: dynrolemembers dynrolemembers_any_id_role_id_key; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dynrolemembers
    ADD CONSTRAINT dynrolemembers_any_id_role_id_key UNIQUE (any_id, role_id);


--
-- TOC entry 3925 (class 2606 OID 16618)
-- Name: externalresource externalresource_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_pkey PRIMARY KEY (id);


--
-- TOC entry 3929 (class 2606 OID 16632)
-- Name: fiqlquery fiqlquery_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fiqlquery
    ADD CONSTRAINT fiqlquery_pkey PRIMARY KEY (id);


--
-- TOC entry 4255 (class 2606 OID 18202)
-- Name: flw_ru_batch_part flw_ru_batch_part_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.flw_ru_batch_part
    ADD CONSTRAINT flw_ru_batch_part_pkey PRIMARY KEY (id_);


--
-- TOC entry 4252 (class 2606 OID 18194)
-- Name: flw_ru_batch flw_ru_batch_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.flw_ru_batch
    ADD CONSTRAINT flw_ru_batch_pkey PRIMARY KEY (id_);


--
-- TOC entry 3933 (class 2606 OID 16641)
-- Name: formpropertydef formpropertydef_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.formpropertydef
    ADD CONSTRAINT formpropertydef_pkey PRIMARY KEY (id);


--
-- TOC entry 3935 (class 2606 OID 16646)
-- Name: grelationship grelationship_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.grelationship
    ADD CONSTRAINT grelationship_pkey PRIMARY KEY (id);


--
-- TOC entry 3939 (class 2606 OID 16655)
-- Name: implementation implementation_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.implementation
    ADD CONSTRAINT implementation_pkey PRIMARY KEY (id);


--
-- TOC entry 3941 (class 2606 OID 16662)
-- Name: inboundcorrelationruleentity inboundcorrelationruleentity_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inboundcorrelationruleentity
    ADD CONSTRAINT inboundcorrelationruleentity_pkey PRIMARY KEY (id);


--
-- TOC entry 3945 (class 2606 OID 16669)
-- Name: inboundpolicy inboundpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inboundpolicy
    ADD CONSTRAINT inboundpolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 3947 (class 2606 OID 16676)
-- Name: jobstatus jobstatus_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.jobstatus
    ADD CONSTRAINT jobstatus_pkey PRIMARY KEY (id);


--
-- TOC entry 3949 (class 2606 OID 16683)
-- Name: linkedaccount linkedaccount_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.linkedaccount
    ADD CONSTRAINT linkedaccount_pkey PRIMARY KEY (id);


--
-- TOC entry 3953 (class 2606 OID 16692)
-- Name: livesynctask livesynctask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctask
    ADD CONSTRAINT livesynctask_pkey PRIMARY KEY (id);


--
-- TOC entry 3961 (class 2606 OID 16708)
-- Name: livesynctaskexec livesynctaskexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctaskexec
    ADD CONSTRAINT livesynctaskexec_pkey PRIMARY KEY (id);


--
-- TOC entry 3963 (class 2606 OID 16715)
-- Name: macrotask macrotask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotask
    ADD CONSTRAINT macrotask_pkey PRIMARY KEY (id);


--
-- TOC entry 3967 (class 2606 OID 16724)
-- Name: macrotaskcommand macrotaskcommand_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotaskcommand
    ADD CONSTRAINT macrotaskcommand_pkey PRIMARY KEY (id);


--
-- TOC entry 3969 (class 2606 OID 16731)
-- Name: macrotaskexec macrotaskexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotaskexec
    ADD CONSTRAINT macrotaskexec_pkey PRIMARY KEY (id);


--
-- TOC entry 3971 (class 2606 OID 16738)
-- Name: mailtemplate mailtemplate_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.mailtemplate
    ADD CONSTRAINT mailtemplate_pkey PRIMARY KEY (id);


--
-- TOC entry 3973 (class 2606 OID 16743)
-- Name: networkservice networkservice_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.networkservice
    ADD CONSTRAINT networkservice_pkey PRIMARY KEY (id);


--
-- TOC entry 3977 (class 2606 OID 16752)
-- Name: notification notification_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.notification
    ADD CONSTRAINT notification_pkey PRIMARY KEY (id);


--
-- TOC entry 3979 (class 2606 OID 16759)
-- Name: notificationtask notificationtask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.notificationtask
    ADD CONSTRAINT notificationtask_pkey PRIMARY KEY (id);


--
-- TOC entry 3982 (class 2606 OID 16766)
-- Name: notificationtaskexec notificationtaskexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.notificationtaskexec
    ADD CONSTRAINT notificationtaskexec_pkey PRIMARY KEY (id);


--
-- TOC entry 3985 (class 2606 OID 16773)
-- Name: oidcjwks oidcjwks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcjwks
    ADD CONSTRAINT oidcjwks_pkey PRIMARY KEY (id);


--
-- TOC entry 3987 (class 2606 OID 16780)
-- Name: oidcprovider oidcprovider_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcprovider
    ADD CONSTRAINT oidcprovider_pkey PRIMARY KEY (id);


--
-- TOC entry 3995 (class 2606 OID 16796)
-- Name: oidcrpclientapp oidcrpclientapp_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT oidcrpclientapp_pkey PRIMARY KEY (id);


--
-- TOC entry 4003 (class 2606 OID 16809)
-- Name: oidcusertemplate oidcusertemplate_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcusertemplate
    ADD CONSTRAINT oidcusertemplate_pkey PRIMARY KEY (id);


--
-- TOC entry 4007 (class 2606 OID 16816)
-- Name: passwordpolicy passwordpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.passwordpolicy
    ADD CONSTRAINT passwordpolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 4011 (class 2606 OID 16828)
-- Name: plainschema plainschema_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.plainschema
    ADD CONSTRAINT plainschema_pkey PRIMARY KEY (id);


--
-- TOC entry 4013 (class 2606 OID 16835)
-- Name: propagationpolicy propagationpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.propagationpolicy
    ADD CONSTRAINT propagationpolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 4015 (class 2606 OID 16842)
-- Name: propagationtask propagationtask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.propagationtask
    ADD CONSTRAINT propagationtask_pkey PRIMARY KEY (id);


--
-- TOC entry 4017 (class 2606 OID 16849)
-- Name: propagationtaskexec propagationtaskexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.propagationtaskexec
    ADD CONSTRAINT propagationtaskexec_pkey PRIMARY KEY (id);


--
-- TOC entry 4020 (class 2606 OID 16856)
-- Name: pulltask pulltask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltask
    ADD CONSTRAINT pulltask_pkey PRIMARY KEY (id);


--
-- TOC entry 4026 (class 2606 OID 16870)
-- Name: pulltaskexec pulltaskexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltaskexec
    ADD CONSTRAINT pulltaskexec_pkey PRIMARY KEY (id);


--
-- TOC entry 4029 (class 2606 OID 16877)
-- Name: pushcorrelationruleentity pushcorrelationruleentity_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushcorrelationruleentity
    ADD CONSTRAINT pushcorrelationruleentity_pkey PRIMARY KEY (id);


--
-- TOC entry 4033 (class 2606 OID 16884)
-- Name: pushpolicy pushpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushpolicy
    ADD CONSTRAINT pushpolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 4035 (class 2606 OID 16891)
-- Name: pushtask pushtask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtask
    ADD CONSTRAINT pushtask_pkey PRIMARY KEY (id);


--
-- TOC entry 4041 (class 2606 OID 16905)
-- Name: pushtaskexec pushtaskexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtaskexec
    ADD CONSTRAINT pushtaskexec_pkey PRIMARY KEY (id);


--
-- TOC entry 4046 (class 2606 OID 16912)
-- Name: realm realm_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_pkey PRIMARY KEY (id);


--
-- TOC entry 4057 (class 2606 OID 16936)
-- Name: relationshiptype relationshiptype_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.relationshiptype
    ADD CONSTRAINT relationshiptype_pkey PRIMARY KEY (id);


--
-- TOC entry 4059 (class 2606 OID 16943)
-- Name: remediation remediation_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.remediation
    ADD CONSTRAINT remediation_pkey PRIMARY KEY (id);


--
-- TOC entry 4061 (class 2606 OID 16950)
-- Name: report report_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.report
    ADD CONSTRAINT report_pkey PRIMARY KEY (id);


--
-- TOC entry 4065 (class 2606 OID 16959)
-- Name: reportexec reportexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.reportexec
    ADD CONSTRAINT reportexec_pkey PRIMARY KEY (id);


--
-- TOC entry 4067 (class 2606 OID 16969)
-- Name: saml2idpentity saml2idpentity_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2idpentity
    ADD CONSTRAINT saml2idpentity_pkey PRIMARY KEY (id);


--
-- TOC entry 4069 (class 2606 OID 16976)
-- Name: saml2sp4uiidp saml2sp4uiidp_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiidp
    ADD CONSTRAINT saml2sp4uiidp_pkey PRIMARY KEY (id);


--
-- TOC entry 4075 (class 2606 OID 16987)
-- Name: saml2sp4uiusertemplate saml2sp4uiusertemplate_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiusertemplate
    ADD CONSTRAINT saml2sp4uiusertemplate_pkey PRIMARY KEY (id);


--
-- TOC entry 4079 (class 2606 OID 16996)
-- Name: saml2spclientapp saml2spclientapp_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT saml2spclientapp_pkey PRIMARY KEY (id);


--
-- TOC entry 4087 (class 2606 OID 17009)
-- Name: schedtask schedtask_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.schedtask
    ADD CONSTRAINT schedtask_pkey PRIMARY KEY (id);


--
-- TOC entry 4091 (class 2606 OID 17018)
-- Name: schedtaskexec schedtaskexec_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.schedtaskexec
    ADD CONSTRAINT schedtaskexec_pkey PRIMARY KEY (id);


--
-- TOC entry 4094 (class 2606 OID 17023)
-- Name: securityquestion securityquestion_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.securityquestion
    ADD CONSTRAINT securityquestion_pkey PRIMARY KEY (id);


--
-- TOC entry 4098 (class 2606 OID 17032)
-- Name: sraroute sraroute_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sraroute
    ADD CONSTRAINT sraroute_pkey PRIMARY KEY (id);


--
-- TOC entry 4102 (class 2606 OID 17041)
-- Name: syncopebatch syncopebatch_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopebatch
    ADD CONSTRAINT syncopebatch_pkey PRIMARY KEY (id);


--
-- TOC entry 4104 (class 2606 OID 17048)
-- Name: syncopedomain syncopedomain_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopedomain
    ADD CONSTRAINT syncopedomain_pkey PRIMARY KEY (id);


--
-- TOC entry 4108 (class 2606 OID 17055)
-- Name: syncopegroup syncopegroup_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup
    ADD CONSTRAINT syncopegroup_pkey PRIMARY KEY (id);


--
-- TOC entry 4118 (class 2606 OID 17074)
-- Name: syncoperole syncoperole_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncoperole
    ADD CONSTRAINT syncoperole_pkey PRIMARY KEY (id);


--
-- TOC entry 4124 (class 2606 OID 17093)
-- Name: syncopeschema syncopeschema_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeschema
    ADD CONSTRAINT syncopeschema_pkey PRIMARY KEY (id);


--
-- TOC entry 4127 (class 2606 OID 17100)
-- Name: syncopeuser syncopeuser_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser
    ADD CONSTRAINT syncopeuser_pkey PRIMARY KEY (id);


--
-- TOC entry 4140 (class 2606 OID 17124)
-- Name: ticketexpirationpolicy ticketexpirationpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.ticketexpirationpolicy
    ADD CONSTRAINT ticketexpirationpolicy_pkey PRIMARY KEY (id);


--
-- TOC entry 4142 (class 2606 OID 17129)
-- Name: typeextension typeextension_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.typeextension
    ADD CONSTRAINT typeextension_pkey PRIMARY KEY (id);


--
-- TOC entry 3838 (class 2606 OID 16415)
-- Name: accountpolicyrule u_ccntyrl_policy_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.accountpolicyrule
    ADD CONSTRAINT u_ccntyrl_policy_id UNIQUE (policy_id, implementation_id);


--
-- TOC entry 3834 (class 2606 OID 16405)
-- Name: accesstoken u_ccsstkn_owner; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.accesstoken
    ADD CONSTRAINT u_ccsstkn_owner UNIQUE (owner);


--
-- TOC entry 3913 (class 2606 OID 16582)
-- Name: conninstance u_cnnntnc_displayname; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.conninstance
    ADD CONSTRAINT u_cnnntnc_displayname UNIQUE (displayname);


--
-- TOC entry 3903 (class 2606 OID 16562)
-- Name: casspclientapp u_cssptpp_clientappid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT u_cssptpp_clientappid UNIQUE (clientappid);


--
-- TOC entry 3905 (class 2606 OID 16564)
-- Name: casspclientapp u_cssptpp_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT u_cssptpp_name UNIQUE (name);


--
-- TOC entry 3907 (class 2606 OID 16566)
-- Name: casspclientapp u_cssptpp_serviceid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT u_cssptpp_serviceid UNIQUE (serviceid);


--
-- TOC entry 3989 (class 2606 OID 16782)
-- Name: oidcprovider u_dcprvdr_clientid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcprovider
    ADD CONSTRAINT u_dcprvdr_clientid UNIQUE (clientid);


--
-- TOC entry 3991 (class 2606 OID 16784)
-- Name: oidcprovider u_dcprvdr_clientsecret; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcprovider
    ADD CONSTRAINT u_dcprvdr_clientsecret UNIQUE (clientsecret);


--
-- TOC entry 3993 (class 2606 OID 16786)
-- Name: oidcprovider u_dcprvdr_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcprovider
    ADD CONSTRAINT u_dcprvdr_name UNIQUE (name);


--
-- TOC entry 3997 (class 2606 OID 16798)
-- Name: oidcrpclientapp u_dcrptpp_clientappid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT u_dcrptpp_clientappid UNIQUE (clientappid);


--
-- TOC entry 3999 (class 2606 OID 16802)
-- Name: oidcrpclientapp u_dcrptpp_clientid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT u_dcrptpp_clientid UNIQUE (clientid);


--
-- TOC entry 4001 (class 2606 OID 16800)
-- Name: oidcrpclientapp u_dcrptpp_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT u_dcrptpp_name UNIQUE (name);


--
-- TOC entry 4005 (class 2606 OID 16811)
-- Name: oidcusertemplate u_dcsrplt_op_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcusertemplate
    ADD CONSTRAINT u_dcsrplt_op_id UNIQUE (op_id);


--
-- TOC entry 3917 (class 2606 OID 16589)
-- Name: delegation u_dlgtion_delegating_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delegation
    ADD CONSTRAINT u_dlgtion_delegating_id UNIQUE (delegating_id, delegated_id);


--
-- TOC entry 3931 (class 2606 OID 16634)
-- Name: fiqlquery u_fqlqury_owner_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fiqlquery
    ADD CONSTRAINT u_fqlqury_owner_id UNIQUE (owner_id, name);


--
-- TOC entry 3937 (class 2606 OID 16648)
-- Name: grelationship u_grltshp_type_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.grelationship
    ADD CONSTRAINT u_grltshp_type_id UNIQUE (type_id, group_id, anyobject_id);


--
-- TOC entry 3951 (class 2606 OID 16685)
-- Name: linkedaccount u_lnkdcnt_connobjectkeyvalue; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.linkedaccount
    ADD CONSTRAINT u_lnkdcnt_connobjectkeyvalue UNIQUE (connobjectkeyvalue, resource_id);


--
-- TOC entry 3959 (class 2606 OID 16701)
-- Name: livesynctaskaction u_lvsyctn_task_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctaskaction
    ADD CONSTRAINT u_lvsyctn_task_id UNIQUE (task_id, implementation_id);


--
-- TOC entry 3955 (class 2606 OID 16694)
-- Name: livesynctask u_lvsytsk_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctask
    ADD CONSTRAINT u_lvsytsk_name UNIQUE (name);


--
-- TOC entry 3957 (class 2606 OID 16696)
-- Name: livesynctask u_lvsytsk_resource_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctask
    ADD CONSTRAINT u_lvsytsk_resource_id UNIQUE (resource_id);


--
-- TOC entry 3965 (class 2606 OID 16717)
-- Name: macrotask u_mcrotsk_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotask
    ADD CONSTRAINT u_mcrotsk_name UNIQUE (name);


--
-- TOC entry 3943 (class 2606 OID 16664)
-- Name: inboundcorrelationruleentity u_nbndtty_inboundpolicy_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inboundcorrelationruleentity
    ADD CONSTRAINT u_nbndtty_inboundpolicy_id UNIQUE (inboundpolicy_id, anytype_id);


--
-- TOC entry 3975 (class 2606 OID 16745)
-- Name: networkservice u_ntwrrvc_type; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.networkservice
    ADD CONSTRAINT u_ntwrrvc_type UNIQUE (type, address);


--
-- TOC entry 3848 (class 2606 OID 16436)
-- Name: anyabout u_nyabout_notification_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyabout
    ADD CONSTRAINT u_nyabout_notification_id UNIQUE (notification_id, anytype_id);


--
-- TOC entry 3858 (class 2606 OID 16450)
-- Name: anyobject_anytypeclass u_nybjlss_anyobject_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject_anytypeclass
    ADD CONSTRAINT u_nybjlss_anyobject_id UNIQUE (anyobject_id, anytypeclass_id);


--
-- TOC entry 3860 (class 2606 OID 16455)
-- Name: anyobject_externalresource u_nybjsrc_anyobject_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject_externalresource
    ADD CONSTRAINT u_nybjsrc_anyobject_id UNIQUE (anyobject_id, resource_id);


--
-- TOC entry 3856 (class 2606 OID 16445)
-- Name: anyobject u_nyobjct_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject
    ADD CONSTRAINT u_nyobjct_name UNIQUE (name, type_id);


--
-- TOC entry 3873 (class 2606 OID 16482)
-- Name: anytemplaterealm u_nytmrlm_realm_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplaterealm
    ADD CONSTRAINT u_nytmrlm_realm_id UNIQUE (realm_id, anytype_id);


--
-- TOC entry 3864 (class 2606 OID 16464)
-- Name: anytemplatelivesynctask u_nytmtsk_livesynctask_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatelivesynctask
    ADD CONSTRAINT u_nytmtsk_livesynctask_id UNIQUE (livesynctask_id, anytype_id);


--
-- TOC entry 3869 (class 2606 OID 16473)
-- Name: anytemplatepulltask u_nytmtsk_pulltask_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatepulltask
    ADD CONSTRAINT u_nytmtsk_pulltask_id UNIQUE (pulltask_id, anytype_id);


--
-- TOC entry 4024 (class 2606 OID 16863)
-- Name: pulltaskaction u_plltctn_task_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltaskaction
    ADD CONSTRAINT u_plltctn_task_id UNIQUE (task_id, implementation_id);


--
-- TOC entry 4031 (class 2606 OID 16879)
-- Name: pushcorrelationruleentity u_pshctty_pushpolicy_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushcorrelationruleentity
    ADD CONSTRAINT u_pshctty_pushpolicy_id UNIQUE (pushpolicy_id, anytype_id);


--
-- TOC entry 4039 (class 2606 OID 16898)
-- Name: pushtaskaction u_pshtctn_task_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtaskaction
    ADD CONSTRAINT u_pshtctn_task_id UNIQUE (task_id, implementation_id);


--
-- TOC entry 4009 (class 2606 OID 16821)
-- Name: passwordpolicyrule u_psswyrl_policy_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.passwordpolicyrule
    ADD CONSTRAINT u_psswyrl_policy_id UNIQUE (policy_id, implementation_id);


--
-- TOC entry 4022 (class 2606 OID 16858)
-- Name: pulltask u_pulltsk_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltask
    ADD CONSTRAINT u_pulltsk_name UNIQUE (name);


--
-- TOC entry 4037 (class 2606 OID 16893)
-- Name: pushtask u_pushtsk_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtask
    ADD CONSTRAINT u_pushtsk_name UNIQUE (name);


--
-- TOC entry 4049 (class 2606 OID 16914)
-- Name: realm u_realm_fullpath; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT u_realm_fullpath UNIQUE (fullpath);


--
-- TOC entry 4051 (class 2606 OID 16916)
-- Name: realm u_realm_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT u_realm_name UNIQUE (name, parent_id);


--
-- TOC entry 4063 (class 2606 OID 16952)
-- Name: report u_report_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.report
    ADD CONSTRAINT u_report_name UNIQUE (name);


--
-- TOC entry 4055 (class 2606 OID 16929)
-- Name: realm_externalresource u_rlm_src_realm_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm_externalresource
    ADD CONSTRAINT u_rlm_src_realm_id UNIQUE (realm_id, resource_id);


--
-- TOC entry 4053 (class 2606 OID 16921)
-- Name: realmaction u_rlmcton_realm_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realmaction
    ADD CONSTRAINT u_rlmcton_realm_id UNIQUE (realm_id, implementation_id);


--
-- TOC entry 3883 (class 2606 OID 16504)
-- Name: arelationship u_rltnshp_type_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.arelationship
    ADD CONSTRAINT u_rltnshp_type_id UNIQUE (type_id, left_anyobject_id, right_anyobject_id);


--
-- TOC entry 4154 (class 2606 OID 17153)
-- Name: urelationship u_rltnshp_type_id1; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.urelationship
    ADD CONSTRAINT u_rltnshp_type_id1 UNIQUE (type_id, user_id, anyobject_id);


--
-- TOC entry 4089 (class 2606 OID 17011)
-- Name: schedtask u_schdtsk_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.schedtask
    ADD CONSTRAINT u_schdtsk_name UNIQUE (name);


--
-- TOC entry 4096 (class 2606 OID 17025)
-- Name: securityquestion u_scrtstn_content; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.securityquestion
    ADD CONSTRAINT u_scrtstn_content UNIQUE (content);


--
-- TOC entry 4071 (class 2606 OID 16978)
-- Name: saml2sp4uiidp u_sml24dp_entityid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiidp
    ADD CONSTRAINT u_sml24dp_entityid UNIQUE (entityid);


--
-- TOC entry 4073 (class 2606 OID 16980)
-- Name: saml2sp4uiidp u_sml24dp_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiidp
    ADD CONSTRAINT u_sml24dp_name UNIQUE (name);


--
-- TOC entry 4077 (class 2606 OID 16989)
-- Name: saml2sp4uiusertemplate u_sml2plt_idp_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiusertemplate
    ADD CONSTRAINT u_sml2plt_idp_id UNIQUE (idp_id);


--
-- TOC entry 4081 (class 2606 OID 16998)
-- Name: saml2spclientapp u_sml2tpp_clientappid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT u_sml2tpp_clientappid UNIQUE (clientappid);


--
-- TOC entry 4083 (class 2606 OID 17002)
-- Name: saml2spclientapp u_sml2tpp_entityid; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT u_sml2tpp_entityid UNIQUE (entityid);


--
-- TOC entry 4085 (class 2606 OID 17000)
-- Name: saml2spclientapp u_sml2tpp_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT u_sml2tpp_name UNIQUE (name);


--
-- TOC entry 4100 (class 2606 OID 17034)
-- Name: sraroute u_srroute_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.sraroute
    ADD CONSTRAINT u_srroute_name UNIQUE (name);


--
-- TOC entry 4112 (class 2606 OID 17057)
-- Name: syncopegroup u_syncgrp_name; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup
    ADD CONSTRAINT u_syncgrp_name UNIQUE (name);


--
-- TOC entry 4114 (class 2606 OID 17062)
-- Name: syncopegroup_anytypeclass u_synclss_group_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup_anytypeclass
    ADD CONSTRAINT u_synclss_group_id UNIQUE (group_id, anytypeclass_id);


--
-- TOC entry 4134 (class 2606 OID 17107)
-- Name: syncopeuser_anytypeclass u_synclss_user_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_anytypeclass
    ADD CONSTRAINT u_synclss_user_id UNIQUE (user_id, anytypeclass_id);


--
-- TOC entry 4138 (class 2606 OID 17117)
-- Name: syncopeuser_syncoperole u_syncprl_user_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_syncoperole
    ADD CONSTRAINT u_syncprl_user_id UNIQUE (user_id, role_id);


--
-- TOC entry 4132 (class 2606 OID 17102)
-- Name: syncopeuser u_syncpsr_username; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser
    ADD CONSTRAINT u_syncpsr_username UNIQUE (username);


--
-- TOC entry 4120 (class 2606 OID 17081)
-- Name: syncoperole_dynrealm u_syncrlm_role_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncoperole_dynrealm
    ADD CONSTRAINT u_syncrlm_role_id UNIQUE (role_id, dynamicrealm_id);


--
-- TOC entry 4122 (class 2606 OID 17086)
-- Name: syncoperole_realm u_syncrlm_role_id1; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncoperole_realm
    ADD CONSTRAINT u_syncrlm_role_id1 UNIQUE (role_id, realm_id);


--
-- TOC entry 4116 (class 2606 OID 17067)
-- Name: syncopegroup_externalresource u_syncsrc_group_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup_externalresource
    ADD CONSTRAINT u_syncsrc_group_id UNIQUE (group_id, resource_id);


--
-- TOC entry 4136 (class 2606 OID 17112)
-- Name: syncopeuser_externalresource u_syncsrc_user_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_externalresource
    ADD CONSTRAINT u_syncsrc_user_id UNIQUE (user_id, resource_id);


--
-- TOC entry 4146 (class 2606 OID 17136)
-- Name: typeextension_anytypeclass u_typxlss_typeextension_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.typeextension_anytypeclass
    ADD CONSTRAINT u_typxlss_typeextension_id UNIQUE (typeextension_id, anytypeclass_id);


--
-- TOC entry 4144 (class 2606 OID 17131)
-- Name: typeextension u_typxnsn_group_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.typeextension
    ADD CONSTRAINT u_typxnsn_group_id UNIQUE (group_id, anytype_id);


--
-- TOC entry 3899 (class 2606 OID 16553)
-- Name: authprofile u_uthprfl_owner; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.authprofile
    ADD CONSTRAINT u_uthprfl_owner UNIQUE (owner);


--
-- TOC entry 3927 (class 2606 OID 16625)
-- Name: externalresourcepropaction u_xtrnctn_resource_id; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresourcepropaction
    ADD CONSTRAINT u_xtrnctn_resource_id UNIQUE (resource_id, implementation_id);


--
-- TOC entry 4396 (class 2606 OID 18700)
-- Name: udyngroupmembers udyngroupmembers_any_id_group_id_key; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.udyngroupmembers
    ADD CONSTRAINT udyngroupmembers_any_id_group_id_key UNIQUE (any_id, group_id);


--
-- TOC entry 4148 (class 2606 OID 17141)
-- Name: udyngroupmembership udyngroupmembership_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.udyngroupmembership
    ADD CONSTRAINT udyngroupmembership_pkey PRIMARY KEY (id);


--
-- TOC entry 4151 (class 2606 OID 17146)
-- Name: umembership umembership_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.umembership
    ADD CONSTRAINT umembership_pkey PRIMARY KEY (id);


--
-- TOC entry 4157 (class 2606 OID 17151)
-- Name: urelationship urelationship_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.urelationship
    ADD CONSTRAINT urelationship_pkey PRIMARY KEY (id);


--
-- TOC entry 4160 (class 2606 OID 17160)
-- Name: waconfigentry waconfigentry_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.waconfigentry
    ADD CONSTRAINT waconfigentry_pkey PRIMARY KEY (id);


--
-- TOC entry 4273 (class 1259 OID 18243)
-- Name: act_idx_act_hi_tsk_log_task; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_act_hi_tsk_log_task ON public.act_hi_tsk_log USING btree (task_id_);


--
-- TOC entry 4178 (class 1259 OID 18388)
-- Name: act_idx_athrz_procedef; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_athrz_procedef ON public.act_ru_identitylink USING btree (proc_def_id_);


--
-- TOC entry 4165 (class 1259 OID 18343)
-- Name: act_idx_bytear_depl; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_bytear_depl ON public.act_ge_bytearray USING btree (deployment_id_);


--
-- TOC entry 4230 (class 1259 OID 18118)
-- Name: act_idx_deadletter_job_correlation_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_deadletter_job_correlation_id ON public.act_ru_deadletter_job USING btree (correlation_id_);


--
-- TOC entry 4231 (class 1259 OID 18117)
-- Name: act_idx_deadletter_job_custom_values_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_deadletter_job_custom_values_id ON public.act_ru_deadletter_job USING btree (custom_values_id_);


--
-- TOC entry 4232 (class 1259 OID 18116)
-- Name: act_idx_deadletter_job_exception_stack_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_deadletter_job_exception_stack_id ON public.act_ru_deadletter_job USING btree (exception_stack_id_);


--
-- TOC entry 4233 (class 1259 OID 18484)
-- Name: act_idx_deadletter_job_execution_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_deadletter_job_execution_id ON public.act_ru_deadletter_job USING btree (execution_id_);


--
-- TOC entry 4234 (class 1259 OID 18496)
-- Name: act_idx_deadletter_job_proc_def_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_deadletter_job_proc_def_id ON public.act_ru_deadletter_job USING btree (proc_def_id_);


--
-- TOC entry 4235 (class 1259 OID 18490)
-- Name: act_idx_deadletter_job_process_instance_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_deadletter_job_process_instance_id ON public.act_ru_deadletter_job USING btree (process_instance_id_);


--
-- TOC entry 4236 (class 1259 OID 18181)
-- Name: act_idx_djob_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_djob_scope ON public.act_ru_deadletter_job USING btree (scope_id_, scope_type_);


--
-- TOC entry 4237 (class 1259 OID 18183)
-- Name: act_idx_djob_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_djob_scope_def ON public.act_ru_deadletter_job USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4238 (class 1259 OID 18182)
-- Name: act_idx_djob_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_djob_sub_scope ON public.act_ru_deadletter_job USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4243 (class 1259 OID 18184)
-- Name: act_idx_ejob_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ejob_scope ON public.act_ru_external_job USING btree (scope_id_, scope_type_);


--
-- TOC entry 4244 (class 1259 OID 18186)
-- Name: act_idx_ejob_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ejob_scope_def ON public.act_ru_external_job USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4245 (class 1259 OID 18185)
-- Name: act_idx_ejob_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ejob_sub_scope ON public.act_ru_external_job USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4166 (class 1259 OID 18021)
-- Name: act_idx_ent_lnk_ref_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ent_lnk_ref_scope ON public.act_ru_entitylink USING btree (ref_scope_id_, ref_scope_type_, link_type_);


--
-- TOC entry 4167 (class 1259 OID 18022)
-- Name: act_idx_ent_lnk_root_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ent_lnk_root_scope ON public.act_ru_entitylink USING btree (root_scope_id_, root_scope_type_, link_type_);


--
-- TOC entry 4168 (class 1259 OID 18020)
-- Name: act_idx_ent_lnk_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ent_lnk_scope ON public.act_ru_entitylink USING btree (scope_id_, scope_type_, link_type_);


--
-- TOC entry 4169 (class 1259 OID 18023)
-- Name: act_idx_ent_lnk_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ent_lnk_scope_def ON public.act_ru_entitylink USING btree (scope_definition_id_, scope_type_, link_type_);


--
-- TOC entry 4290 (class 1259 OID 18279)
-- Name: act_idx_event_subscr; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_event_subscr ON public.act_ru_event_subscr USING btree (execution_id_);


--
-- TOC entry 4291 (class 1259 OID 18278)
-- Name: act_idx_event_subscr_config_; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_event_subscr_config_ ON public.act_ru_event_subscr USING btree (configuration_);


--
-- TOC entry 4292 (class 1259 OID 18280)
-- Name: act_idx_event_subscr_proc_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_event_subscr_proc_id ON public.act_ru_event_subscr USING btree (proc_inst_id_);


--
-- TOC entry 4293 (class 1259 OID 18281)
-- Name: act_idx_event_subscr_scoperef_; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_event_subscr_scoperef_ ON public.act_ru_event_subscr USING btree (scope_id_, scope_type_);


--
-- TOC entry 4303 (class 1259 OID 18364)
-- Name: act_idx_exe_parent; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_exe_parent ON public.act_ru_execution USING btree (parent_id_);


--
-- TOC entry 4304 (class 1259 OID 18376)
-- Name: act_idx_exe_procdef; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_exe_procdef ON public.act_ru_execution USING btree (proc_def_id_);


--
-- TOC entry 4305 (class 1259 OID 18358)
-- Name: act_idx_exe_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_exe_procinst ON public.act_ru_execution USING btree (proc_inst_id_);


--
-- TOC entry 4306 (class 1259 OID 18340)
-- Name: act_idx_exe_root; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_exe_root ON public.act_ru_execution USING btree (root_proc_inst_id_);


--
-- TOC entry 4307 (class 1259 OID 18370)
-- Name: act_idx_exe_super; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_exe_super ON public.act_ru_execution USING btree (super_exec_);


--
-- TOC entry 4308 (class 1259 OID 18339)
-- Name: act_idx_exec_buskey; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_exec_buskey ON public.act_ru_execution USING btree (business_key_);


--
-- TOC entry 4309 (class 1259 OID 18341)
-- Name: act_idx_exec_ref_id_; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_exec_ref_id_ ON public.act_ru_execution USING btree (reference_id_);


--
-- TOC entry 4246 (class 1259 OID 18121)
-- Name: act_idx_external_job_correlation_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_external_job_correlation_id ON public.act_ru_external_job USING btree (correlation_id_);


--
-- TOC entry 4247 (class 1259 OID 18120)
-- Name: act_idx_external_job_custom_values_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_external_job_custom_values_id ON public.act_ru_external_job USING btree (custom_values_id_);


--
-- TOC entry 4248 (class 1259 OID 18119)
-- Name: act_idx_external_job_exception_stack_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_external_job_exception_stack_id ON public.act_ru_external_job USING btree (exception_stack_id_);


--
-- TOC entry 4342 (class 1259 OID 18584)
-- Name: act_idx_hi_act_inst_end; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_act_inst_end ON public.act_hi_actinst USING btree (end_time_);


--
-- TOC entry 4343 (class 1259 OID 18594)
-- Name: act_idx_hi_act_inst_exec; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_act_inst_exec ON public.act_hi_actinst USING btree (execution_id_, act_id_);


--
-- TOC entry 4344 (class 1259 OID 18593)
-- Name: act_idx_hi_act_inst_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_act_inst_procinst ON public.act_hi_actinst USING btree (proc_inst_id_, act_id_);


--
-- TOC entry 4345 (class 1259 OID 18583)
-- Name: act_idx_hi_act_inst_start; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_act_inst_start ON public.act_hi_actinst USING btree (start_time_);


--
-- TOC entry 4348 (class 1259 OID 18586)
-- Name: act_idx_hi_detail_act_inst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_detail_act_inst ON public.act_hi_detail USING btree (act_inst_id_);


--
-- TOC entry 4349 (class 1259 OID 18588)
-- Name: act_idx_hi_detail_name; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_detail_name ON public.act_hi_detail USING btree (name_);


--
-- TOC entry 4350 (class 1259 OID 18585)
-- Name: act_idx_hi_detail_proc_inst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_detail_proc_inst ON public.act_hi_detail USING btree (proc_inst_id_);


--
-- TOC entry 4351 (class 1259 OID 18589)
-- Name: act_idx_hi_detail_task_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_detail_task_id ON public.act_hi_detail USING btree (task_id_);


--
-- TOC entry 4352 (class 1259 OID 18587)
-- Name: act_idx_hi_detail_time; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_detail_time ON public.act_hi_detail USING btree (time_);


--
-- TOC entry 4174 (class 1259 OID 18032)
-- Name: act_idx_hi_ent_lnk_ref_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ent_lnk_ref_scope ON public.act_hi_entitylink USING btree (ref_scope_id_, ref_scope_type_, link_type_);


--
-- TOC entry 4175 (class 1259 OID 18033)
-- Name: act_idx_hi_ent_lnk_root_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ent_lnk_root_scope ON public.act_hi_entitylink USING btree (root_scope_id_, root_scope_type_, link_type_);


--
-- TOC entry 4176 (class 1259 OID 18031)
-- Name: act_idx_hi_ent_lnk_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ent_lnk_scope ON public.act_hi_entitylink USING btree (scope_id_, scope_type_, link_type_);


--
-- TOC entry 4177 (class 1259 OID 18034)
-- Name: act_idx_hi_ent_lnk_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ent_lnk_scope_def ON public.act_hi_entitylink USING btree (scope_definition_id_, scope_type_, link_type_);


--
-- TOC entry 4190 (class 1259 OID 18596)
-- Name: act_idx_hi_ident_lnk_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ident_lnk_procinst ON public.act_hi_identitylink USING btree (proc_inst_id_);


--
-- TOC entry 4191 (class 1259 OID 18055)
-- Name: act_idx_hi_ident_lnk_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ident_lnk_scope ON public.act_hi_identitylink USING btree (scope_id_, scope_type_);


--
-- TOC entry 4192 (class 1259 OID 18057)
-- Name: act_idx_hi_ident_lnk_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ident_lnk_scope_def ON public.act_hi_identitylink USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4193 (class 1259 OID 18056)
-- Name: act_idx_hi_ident_lnk_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ident_lnk_sub_scope ON public.act_hi_identitylink USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4194 (class 1259 OID 18595)
-- Name: act_idx_hi_ident_lnk_task; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ident_lnk_task ON public.act_hi_identitylink USING btree (task_id_);


--
-- TOC entry 4195 (class 1259 OID 18054)
-- Name: act_idx_hi_ident_lnk_user; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_ident_lnk_user ON public.act_hi_identitylink USING btree (user_id_);


--
-- TOC entry 4337 (class 1259 OID 18581)
-- Name: act_idx_hi_pro_i_buskey; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_pro_i_buskey ON public.act_hi_procinst USING btree (business_key_);


--
-- TOC entry 4338 (class 1259 OID 18580)
-- Name: act_idx_hi_pro_inst_end; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_pro_inst_end ON public.act_hi_procinst USING btree (end_time_);


--
-- TOC entry 4339 (class 1259 OID 18582)
-- Name: act_idx_hi_pro_super_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_pro_super_procinst ON public.act_hi_procinst USING btree (super_process_instance_id_);


--
-- TOC entry 4284 (class 1259 OID 18592)
-- Name: act_idx_hi_procvar_exe; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_procvar_exe ON public.act_hi_varinst USING btree (execution_id_);


--
-- TOC entry 4285 (class 1259 OID 18267)
-- Name: act_idx_hi_procvar_name_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_procvar_name_type ON public.act_hi_varinst USING btree (name_, var_type_);


--
-- TOC entry 4286 (class 1259 OID 18590)
-- Name: act_idx_hi_procvar_proc_inst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_procvar_proc_inst ON public.act_hi_varinst USING btree (proc_inst_id_);


--
-- TOC entry 4287 (class 1259 OID 18591)
-- Name: act_idx_hi_procvar_task_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_procvar_task_id ON public.act_hi_varinst USING btree (task_id_);


--
-- TOC entry 4267 (class 1259 OID 18597)
-- Name: act_idx_hi_task_inst_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_task_inst_procinst ON public.act_hi_taskinst USING btree (proc_inst_id_);


--
-- TOC entry 4268 (class 1259 OID 18240)
-- Name: act_idx_hi_task_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_task_scope ON public.act_hi_taskinst USING btree (scope_id_, scope_type_);


--
-- TOC entry 4269 (class 1259 OID 18242)
-- Name: act_idx_hi_task_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_task_scope_def ON public.act_hi_taskinst USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4270 (class 1259 OID 18241)
-- Name: act_idx_hi_task_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_task_sub_scope ON public.act_hi_taskinst USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4288 (class 1259 OID 18268)
-- Name: act_idx_hi_var_scope_id_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_var_scope_id_type ON public.act_hi_varinst USING btree (scope_id_, scope_type_);


--
-- TOC entry 4289 (class 1259 OID 18269)
-- Name: act_idx_hi_var_sub_id_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_hi_var_sub_id_type ON public.act_hi_varinst USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4179 (class 1259 OID 18043)
-- Name: act_idx_ident_lnk_group; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ident_lnk_group ON public.act_ru_identitylink USING btree (group_id_);


--
-- TOC entry 4180 (class 1259 OID 18044)
-- Name: act_idx_ident_lnk_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ident_lnk_scope ON public.act_ru_identitylink USING btree (scope_id_, scope_type_);


--
-- TOC entry 4181 (class 1259 OID 18046)
-- Name: act_idx_ident_lnk_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ident_lnk_scope_def ON public.act_ru_identitylink USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4182 (class 1259 OID 18045)
-- Name: act_idx_ident_lnk_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ident_lnk_sub_scope ON public.act_ru_identitylink USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4183 (class 1259 OID 18042)
-- Name: act_idx_ident_lnk_user; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ident_lnk_user ON public.act_ru_identitylink USING btree (user_id_);


--
-- TOC entry 4184 (class 1259 OID 18394)
-- Name: act_idx_idl_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_idl_procinst ON public.act_ru_identitylink USING btree (proc_inst_id_);


--
-- TOC entry 4196 (class 1259 OID 18108)
-- Name: act_idx_job_correlation_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_correlation_id ON public.act_ru_job USING btree (correlation_id_);


--
-- TOC entry 4197 (class 1259 OID 18107)
-- Name: act_idx_job_custom_values_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_custom_values_id ON public.act_ru_job USING btree (custom_values_id_);


--
-- TOC entry 4198 (class 1259 OID 18106)
-- Name: act_idx_job_exception_stack_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_exception_stack_id ON public.act_ru_job USING btree (exception_stack_id_);


--
-- TOC entry 4199 (class 1259 OID 18430)
-- Name: act_idx_job_execution_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_execution_id ON public.act_ru_job USING btree (execution_id_);


--
-- TOC entry 4200 (class 1259 OID 18442)
-- Name: act_idx_job_proc_def_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_proc_def_id ON public.act_ru_job USING btree (proc_def_id_);


--
-- TOC entry 4201 (class 1259 OID 18436)
-- Name: act_idx_job_process_instance_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_process_instance_id ON public.act_ru_job USING btree (process_instance_id_);


--
-- TOC entry 4202 (class 1259 OID 18172)
-- Name: act_idx_job_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_scope ON public.act_ru_job USING btree (scope_id_, scope_type_);


--
-- TOC entry 4203 (class 1259 OID 18174)
-- Name: act_idx_job_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_scope_def ON public.act_ru_job USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4204 (class 1259 OID 18173)
-- Name: act_idx_job_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_job_sub_scope ON public.act_ru_job USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4365 (class 1259 OID 18656)
-- Name: act_idx_memb_group; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_memb_group ON public.act_id_membership USING btree (group_id_);


--
-- TOC entry 4366 (class 1259 OID 18662)
-- Name: act_idx_memb_user; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_memb_user ON public.act_id_membership USING btree (user_id_);


--
-- TOC entry 4298 (class 1259 OID 18519)
-- Name: act_idx_model_deployment; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_model_deployment ON public.act_re_model USING btree (deployment_id_);


--
-- TOC entry 4299 (class 1259 OID 18507)
-- Name: act_idx_model_source; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_model_source ON public.act_re_model USING btree (editor_source_value_id_);


--
-- TOC entry 4300 (class 1259 OID 18513)
-- Name: act_idx_model_source_extra; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_model_source_extra ON public.act_re_model USING btree (editor_source_extra_value_id_);


--
-- TOC entry 4379 (class 1259 OID 18675)
-- Name: act_idx_priv_group; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_priv_group ON public.act_id_priv_mapping USING btree (group_id_);


--
-- TOC entry 4380 (class 1259 OID 18668)
-- Name: act_idx_priv_mapping; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_priv_mapping ON public.act_id_priv_mapping USING btree (priv_id_);


--
-- TOC entry 4381 (class 1259 OID 18674)
-- Name: act_idx_priv_user; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_priv_user ON public.act_id_priv_mapping USING btree (user_id_);


--
-- TOC entry 4318 (class 1259 OID 18525)
-- Name: act_idx_procdef_info_json; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_procdef_info_json ON public.act_procdef_info USING btree (info_json_id_);


--
-- TOC entry 4319 (class 1259 OID 18531)
-- Name: act_idx_procdef_info_proc; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_procdef_info_proc ON public.act_procdef_info USING btree (proc_def_id_);


--
-- TOC entry 4324 (class 1259 OID 18345)
-- Name: act_idx_ru_acti_end; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_acti_end ON public.act_ru_actinst USING btree (end_time_);


--
-- TOC entry 4325 (class 1259 OID 18348)
-- Name: act_idx_ru_acti_exec; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_acti_exec ON public.act_ru_actinst USING btree (execution_id_);


--
-- TOC entry 4326 (class 1259 OID 18349)
-- Name: act_idx_ru_acti_exec_act; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_acti_exec_act ON public.act_ru_actinst USING btree (execution_id_, act_id_);


--
-- TOC entry 4327 (class 1259 OID 18346)
-- Name: act_idx_ru_acti_proc; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_acti_proc ON public.act_ru_actinst USING btree (proc_inst_id_);


--
-- TOC entry 4328 (class 1259 OID 18347)
-- Name: act_idx_ru_acti_proc_act; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_acti_proc_act ON public.act_ru_actinst USING btree (proc_inst_id_, act_id_);


--
-- TOC entry 4329 (class 1259 OID 18344)
-- Name: act_idx_ru_acti_start; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_acti_start ON public.act_ru_actinst USING btree (start_time_);


--
-- TOC entry 4330 (class 1259 OID 18350)
-- Name: act_idx_ru_acti_task; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_acti_task ON public.act_ru_actinst USING btree (task_id_);


--
-- TOC entry 4274 (class 1259 OID 18251)
-- Name: act_idx_ru_var_scope_id_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_var_scope_id_type ON public.act_ru_variable USING btree (scope_id_, scope_type_);


--
-- TOC entry 4275 (class 1259 OID 18252)
-- Name: act_idx_ru_var_sub_id_type; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_ru_var_sub_id_type ON public.act_ru_variable USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4219 (class 1259 OID 18178)
-- Name: act_idx_sjob_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_sjob_scope ON public.act_ru_suspended_job USING btree (scope_id_, scope_type_);


--
-- TOC entry 4220 (class 1259 OID 18180)
-- Name: act_idx_sjob_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_sjob_scope_def ON public.act_ru_suspended_job USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4221 (class 1259 OID 18179)
-- Name: act_idx_sjob_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_sjob_sub_scope ON public.act_ru_suspended_job USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4222 (class 1259 OID 18115)
-- Name: act_idx_suspended_job_correlation_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_suspended_job_correlation_id ON public.act_ru_suspended_job USING btree (correlation_id_);


--
-- TOC entry 4223 (class 1259 OID 18114)
-- Name: act_idx_suspended_job_custom_values_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_suspended_job_custom_values_id ON public.act_ru_suspended_job USING btree (custom_values_id_);


--
-- TOC entry 4224 (class 1259 OID 18113)
-- Name: act_idx_suspended_job_exception_stack_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_suspended_job_exception_stack_id ON public.act_ru_suspended_job USING btree (exception_stack_id_);


--
-- TOC entry 4225 (class 1259 OID 18466)
-- Name: act_idx_suspended_job_execution_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_suspended_job_execution_id ON public.act_ru_suspended_job USING btree (execution_id_);


--
-- TOC entry 4226 (class 1259 OID 18478)
-- Name: act_idx_suspended_job_proc_def_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_suspended_job_proc_def_id ON public.act_ru_suspended_job USING btree (proc_def_id_);


--
-- TOC entry 4227 (class 1259 OID 18472)
-- Name: act_idx_suspended_job_process_instance_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_suspended_job_process_instance_id ON public.act_ru_suspended_job USING btree (process_instance_id_);


--
-- TOC entry 4256 (class 1259 OID 18217)
-- Name: act_idx_task_create; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_task_create ON public.act_ru_task USING btree (create_time_);


--
-- TOC entry 4257 (class 1259 OID 18400)
-- Name: act_idx_task_exec; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_task_exec ON public.act_ru_task USING btree (execution_id_);


--
-- TOC entry 4258 (class 1259 OID 18412)
-- Name: act_idx_task_procdef; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_task_procdef ON public.act_ru_task USING btree (proc_def_id_);


--
-- TOC entry 4259 (class 1259 OID 18406)
-- Name: act_idx_task_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_task_procinst ON public.act_ru_task USING btree (proc_inst_id_);


--
-- TOC entry 4260 (class 1259 OID 18218)
-- Name: act_idx_task_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_task_scope ON public.act_ru_task USING btree (scope_id_, scope_type_);


--
-- TOC entry 4261 (class 1259 OID 18220)
-- Name: act_idx_task_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_task_scope_def ON public.act_ru_task USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4262 (class 1259 OID 18219)
-- Name: act_idx_task_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_task_sub_scope ON public.act_ru_task USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4207 (class 1259 OID 18111)
-- Name: act_idx_timer_job_correlation_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_timer_job_correlation_id ON public.act_ru_timer_job USING btree (correlation_id_);


--
-- TOC entry 4208 (class 1259 OID 18110)
-- Name: act_idx_timer_job_custom_values_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_timer_job_custom_values_id ON public.act_ru_timer_job USING btree (custom_values_id_);


--
-- TOC entry 4209 (class 1259 OID 18112)
-- Name: act_idx_timer_job_duedate; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_timer_job_duedate ON public.act_ru_timer_job USING btree (duedate_);


--
-- TOC entry 4210 (class 1259 OID 18109)
-- Name: act_idx_timer_job_exception_stack_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_timer_job_exception_stack_id ON public.act_ru_timer_job USING btree (exception_stack_id_);


--
-- TOC entry 4211 (class 1259 OID 18448)
-- Name: act_idx_timer_job_execution_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_timer_job_execution_id ON public.act_ru_timer_job USING btree (execution_id_);


--
-- TOC entry 4212 (class 1259 OID 18460)
-- Name: act_idx_timer_job_proc_def_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_timer_job_proc_def_id ON public.act_ru_timer_job USING btree (proc_def_id_);


--
-- TOC entry 4213 (class 1259 OID 18454)
-- Name: act_idx_timer_job_process_instance_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_timer_job_process_instance_id ON public.act_ru_timer_job USING btree (process_instance_id_);


--
-- TOC entry 4214 (class 1259 OID 18175)
-- Name: act_idx_tjob_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_tjob_scope ON public.act_ru_timer_job USING btree (scope_id_, scope_type_);


--
-- TOC entry 4215 (class 1259 OID 18177)
-- Name: act_idx_tjob_scope_def; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_tjob_scope_def ON public.act_ru_timer_job USING btree (scope_definition_id_, scope_type_);


--
-- TOC entry 4216 (class 1259 OID 18176)
-- Name: act_idx_tjob_sub_scope; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_tjob_sub_scope ON public.act_ru_timer_job USING btree (sub_scope_id_, scope_type_);


--
-- TOC entry 4185 (class 1259 OID 18382)
-- Name: act_idx_tskass_task; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_tskass_task ON public.act_ru_identitylink USING btree (task_id_);


--
-- TOC entry 4276 (class 1259 OID 18253)
-- Name: act_idx_var_bytearray; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_var_bytearray ON public.act_ru_variable USING btree (bytearray_id_);


--
-- TOC entry 4277 (class 1259 OID 18418)
-- Name: act_idx_var_exe; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_var_exe ON public.act_ru_variable USING btree (execution_id_);


--
-- TOC entry 4278 (class 1259 OID 18424)
-- Name: act_idx_var_procinst; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_var_procinst ON public.act_ru_variable USING btree (proc_inst_id_);


--
-- TOC entry 4279 (class 1259 OID 18342)
-- Name: act_idx_variable_task_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX act_idx_variable_task_id ON public.act_ru_variable USING btree (task_id_);


--
-- TOC entry 4382 (class 1259 OID 18757)
-- Name: adyngroupmembers_any_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX adyngroupmembers_any_id ON public.adyngroupmembers USING btree (any_id);


--
-- TOC entry 4385 (class 1259 OID 18758)
-- Name: adyngroupmembers_group_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX adyngroupmembers_group_id ON public.adyngroupmembers USING btree (group_id);


--
-- TOC entry 3841 (class 1259 OID 18759)
-- Name: amembership_anyobjectindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX amembership_anyobjectindex ON public.amembership USING btree (anyobject_id);


--
-- TOC entry 3842 (class 1259 OID 18760)
-- Name: amembership_groupindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX amembership_groupindex ON public.amembership USING btree (group_id);


--
-- TOC entry 3849 (class 1259 OID 18764)
-- Name: anyobject_lower_name; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX anyobject_lower_name ON public.anyobject USING btree (type_id, lower((name)::text));


--
-- TOC entry 3850 (class 1259 OID 18765)
-- Name: anyobject_name; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX anyobject_name ON public.anyobject USING btree (type_id, name);


--
-- TOC entry 3853 (class 1259 OID 18766)
-- Name: anyobject_plainattrs_idx; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX anyobject_plainattrs_idx ON public.anyobject USING gin (plainattrs jsonb_path_ops);


--
-- TOC entry 3854 (class 1259 OID 18767)
-- Name: anyobject_realm_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX anyobject_realm_id ON public.anyobject USING btree (realm_id);


--
-- TOC entry 3878 (class 1259 OID 18761)
-- Name: arelationship_anyobjectindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX arelationship_anyobjectindex ON public.arelationship USING btree (left_anyobject_id);


--
-- TOC entry 3881 (class 1259 OID 18762)
-- Name: arelationship_rightindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX arelationship_rightindex ON public.arelationship USING btree (right_anyobject_id);


--
-- TOC entry 3867 (class 1259 OID 18763)
-- Name: atpulltask_pulltaskindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX atpulltask_pulltaskindex ON public.anytemplatepulltask USING btree (pulltask_id);


--
-- TOC entry 4386 (class 1259 OID 18768)
-- Name: dynrealmmembers_any_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX dynrealmmembers_any_id ON public.dynrealmmembers USING btree (any_id);


--
-- TOC entry 4389 (class 1259 OID 18769)
-- Name: dynrealmmembers_dynrealm_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX dynrealmmembers_dynrealm_id ON public.dynrealmmembers USING btree (dynrealm_id);


--
-- TOC entry 4390 (class 1259 OID 18770)
-- Name: dynrolemembers_any_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX dynrolemembers_any_id ON public.dynrolemembers USING btree (any_id);


--
-- TOC entry 4393 (class 1259 OID 18771)
-- Name: dynrolemembers_role_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX dynrolemembers_role_id ON public.dynrolemembers USING btree (role_id);


--
-- TOC entry 4253 (class 1259 OID 18203)
-- Name: flw_idx_batch_part; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX flw_idx_batch_part ON public.flw_ru_batch_part USING btree (batch_id_);


--
-- TOC entry 4043 (class 1259 OID 18772)
-- Name: realm_fullpath_startswith; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX realm_fullpath_startswith ON public.realm USING gin (to_tsvector('english'::regconfig, (fullpath)::text));


--
-- TOC entry 4044 (class 1259 OID 18773)
-- Name: realm_parent_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX realm_parent_id ON public.realm USING btree (parent_id);


--
-- TOC entry 4047 (class 1259 OID 18774)
-- Name: realm_plainattrs_idx; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX realm_plainattrs_idx ON public.realm USING gin (plainattrs jsonb_path_ops);


--
-- TOC entry 4105 (class 1259 OID 18775)
-- Name: syncopegroup_lower_name; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX syncopegroup_lower_name ON public.syncopegroup USING btree (lower((name)::text));


--
-- TOC entry 4106 (class 1259 OID 18776)
-- Name: syncopegroup_name; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX syncopegroup_name ON public.syncopegroup USING btree (name);


--
-- TOC entry 4109 (class 1259 OID 18777)
-- Name: syncopegroup_plainattrs_idx; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX syncopegroup_plainattrs_idx ON public.syncopegroup USING gin (plainattrs jsonb_path_ops);


--
-- TOC entry 4110 (class 1259 OID 18778)
-- Name: syncopegroup_realm_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX syncopegroup_realm_id ON public.syncopegroup USING btree (realm_id);


--
-- TOC entry 4125 (class 1259 OID 18779)
-- Name: syncopeuser_lower_username; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX syncopeuser_lower_username ON public.syncopeuser USING btree (lower((username)::text));


--
-- TOC entry 4128 (class 1259 OID 18780)
-- Name: syncopeuser_plainattrs_idx; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX syncopeuser_plainattrs_idx ON public.syncopeuser USING gin (plainattrs jsonb_path_ops);


--
-- TOC entry 4129 (class 1259 OID 18781)
-- Name: syncopeuser_realm_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX syncopeuser_realm_id ON public.syncopeuser USING btree (realm_id);


--
-- TOC entry 4130 (class 1259 OID 18782)
-- Name: syncopeuser_username; Type: INDEX; Schema: public; Owner: -
--

CREATE UNIQUE INDEX syncopeuser_username ON public.syncopeuser USING btree (username);


--
-- TOC entry 3980 (class 1259 OID 18788)
-- Name: task_executedindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX task_executedindex ON public.notificationtask USING btree (executed);


--
-- TOC entry 4018 (class 1259 OID 18783)
-- Name: taskexec1_taskidindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX taskexec1_taskidindex ON public.propagationtaskexec USING btree (task_id);


--
-- TOC entry 4027 (class 1259 OID 18784)
-- Name: taskexec2_taskidindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX taskexec2_taskidindex ON public.pulltaskexec USING btree (task_id);


--
-- TOC entry 4042 (class 1259 OID 18785)
-- Name: taskexec3_taskidindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX taskexec3_taskidindex ON public.pushtaskexec USING btree (task_id);


--
-- TOC entry 3983 (class 1259 OID 18786)
-- Name: taskexec4_taskidindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX taskexec4_taskidindex ON public.notificationtaskexec USING btree (task_id);


--
-- TOC entry 4092 (class 1259 OID 18787)
-- Name: taskexec5_taskidindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX taskexec5_taskidindex ON public.schedtaskexec USING btree (task_id);


--
-- TOC entry 4394 (class 1259 OID 18789)
-- Name: udyngroupmembers_any_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX udyngroupmembers_any_id ON public.udyngroupmembers USING btree (any_id);


--
-- TOC entry 4397 (class 1259 OID 18790)
-- Name: udyngroupmembers_group_id; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX udyngroupmembers_group_id ON public.udyngroupmembers USING btree (group_id);


--
-- TOC entry 4149 (class 1259 OID 18791)
-- Name: umembership_groupindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX umembership_groupindex ON public.umembership USING btree (group_id);


--
-- TOC entry 4152 (class 1259 OID 18792)
-- Name: umembership_userindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX umembership_userindex ON public.umembership USING btree (user_id);


--
-- TOC entry 4155 (class 1259 OID 18793)
-- Name: urelationship_leftindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX urelationship_leftindex ON public.urelationship USING btree (user_id);


--
-- TOC entry 4158 (class 1259 OID 18794)
-- Name: urelationship_rightindex; Type: INDEX; Schema: public; Owner: -
--

CREATE INDEX urelationship_rightindex ON public.urelationship USING btree (anyobject_id);


--
-- TOC entry 4398 (class 2606 OID 17166)
-- Name: accountpolicyrule accountpolicyrule_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.accountpolicyrule
    ADD CONSTRAINT accountpolicyrule_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4399 (class 2606 OID 17161)
-- Name: accountpolicyrule accountpolicyrule_policy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.accountpolicyrule
    ADD CONSTRAINT accountpolicyrule_policy_id_fkey FOREIGN KEY (policy_id) REFERENCES public.accountpolicy(id) DEFERRABLE;


--
-- TOC entry 4567 (class 2606 OID 18389)
-- Name: act_ru_identitylink act_fk_athrz_procedef; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_identitylink
    ADD CONSTRAINT act_fk_athrz_procedef FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4566 (class 2606 OID 18351)
-- Name: act_ge_bytearray act_fk_bytearr_depl; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ge_bytearray
    ADD CONSTRAINT act_fk_bytearr_depl FOREIGN KEY (deployment_id_) REFERENCES public.act_re_deployment(id_);


--
-- TOC entry 4585 (class 2606 OID 18157)
-- Name: act_ru_deadletter_job act_fk_deadletter_job_custom_values; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_deadletter_job
    ADD CONSTRAINT act_fk_deadletter_job_custom_values FOREIGN KEY (custom_values_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4586 (class 2606 OID 18152)
-- Name: act_ru_deadletter_job act_fk_deadletter_job_exception; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_deadletter_job
    ADD CONSTRAINT act_fk_deadletter_job_exception FOREIGN KEY (exception_stack_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4587 (class 2606 OID 18485)
-- Name: act_ru_deadletter_job act_fk_deadletter_job_execution; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_deadletter_job
    ADD CONSTRAINT act_fk_deadletter_job_execution FOREIGN KEY (execution_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4588 (class 2606 OID 18497)
-- Name: act_ru_deadletter_job act_fk_deadletter_job_proc_def; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_deadletter_job
    ADD CONSTRAINT act_fk_deadletter_job_proc_def FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4589 (class 2606 OID 18491)
-- Name: act_ru_deadletter_job act_fk_deadletter_job_process_instance; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_deadletter_job
    ADD CONSTRAINT act_fk_deadletter_job_process_instance FOREIGN KEY (process_instance_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4599 (class 2606 OID 18502)
-- Name: act_ru_event_subscr act_fk_event_exec; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_event_subscr
    ADD CONSTRAINT act_fk_event_exec FOREIGN KEY (execution_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4603 (class 2606 OID 18365)
-- Name: act_ru_execution act_fk_exe_parent; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_execution
    ADD CONSTRAINT act_fk_exe_parent FOREIGN KEY (parent_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4604 (class 2606 OID 18377)
-- Name: act_ru_execution act_fk_exe_procdef; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_execution
    ADD CONSTRAINT act_fk_exe_procdef FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4605 (class 2606 OID 18359)
-- Name: act_ru_execution act_fk_exe_procinst; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_execution
    ADD CONSTRAINT act_fk_exe_procinst FOREIGN KEY (proc_inst_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4606 (class 2606 OID 18371)
-- Name: act_ru_execution act_fk_exe_super; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_execution
    ADD CONSTRAINT act_fk_exe_super FOREIGN KEY (super_exec_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4590 (class 2606 OID 18167)
-- Name: act_ru_external_job act_fk_external_job_custom_values; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_external_job
    ADD CONSTRAINT act_fk_external_job_custom_values FOREIGN KEY (custom_values_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4591 (class 2606 OID 18162)
-- Name: act_ru_external_job act_fk_external_job_exception; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_external_job
    ADD CONSTRAINT act_fk_external_job_exception FOREIGN KEY (exception_stack_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4568 (class 2606 OID 18395)
-- Name: act_ru_identitylink act_fk_idl_procinst; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_identitylink
    ADD CONSTRAINT act_fk_idl_procinst FOREIGN KEY (proc_inst_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4607 (class 2606 OID 18526)
-- Name: act_procdef_info act_fk_info_json_ba; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_procdef_info
    ADD CONSTRAINT act_fk_info_json_ba FOREIGN KEY (info_json_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4608 (class 2606 OID 18532)
-- Name: act_procdef_info act_fk_info_procdef; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_procdef_info
    ADD CONSTRAINT act_fk_info_procdef FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4570 (class 2606 OID 18127)
-- Name: act_ru_job act_fk_job_custom_values; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_job
    ADD CONSTRAINT act_fk_job_custom_values FOREIGN KEY (custom_values_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4571 (class 2606 OID 18122)
-- Name: act_ru_job act_fk_job_exception; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_job
    ADD CONSTRAINT act_fk_job_exception FOREIGN KEY (exception_stack_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4572 (class 2606 OID 18431)
-- Name: act_ru_job act_fk_job_execution; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_job
    ADD CONSTRAINT act_fk_job_execution FOREIGN KEY (execution_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4573 (class 2606 OID 18443)
-- Name: act_ru_job act_fk_job_proc_def; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_job
    ADD CONSTRAINT act_fk_job_proc_def FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4574 (class 2606 OID 18437)
-- Name: act_ru_job act_fk_job_process_instance; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_job
    ADD CONSTRAINT act_fk_job_process_instance FOREIGN KEY (process_instance_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4609 (class 2606 OID 18657)
-- Name: act_id_membership act_fk_memb_group; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_membership
    ADD CONSTRAINT act_fk_memb_group FOREIGN KEY (group_id_) REFERENCES public.act_id_group(id_);


--
-- TOC entry 4610 (class 2606 OID 18663)
-- Name: act_id_membership act_fk_memb_user; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_membership
    ADD CONSTRAINT act_fk_memb_user FOREIGN KEY (user_id_) REFERENCES public.act_id_user(id_);


--
-- TOC entry 4600 (class 2606 OID 18520)
-- Name: act_re_model act_fk_model_deployment; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_re_model
    ADD CONSTRAINT act_fk_model_deployment FOREIGN KEY (deployment_id_) REFERENCES public.act_re_deployment(id_);


--
-- TOC entry 4601 (class 2606 OID 18508)
-- Name: act_re_model act_fk_model_source; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_re_model
    ADD CONSTRAINT act_fk_model_source FOREIGN KEY (editor_source_value_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4602 (class 2606 OID 18514)
-- Name: act_re_model act_fk_model_source_extra; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_re_model
    ADD CONSTRAINT act_fk_model_source_extra FOREIGN KEY (editor_source_extra_value_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4611 (class 2606 OID 18669)
-- Name: act_id_priv_mapping act_fk_priv_mapping; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_id_priv_mapping
    ADD CONSTRAINT act_fk_priv_mapping FOREIGN KEY (priv_id_) REFERENCES public.act_id_priv(id_);


--
-- TOC entry 4580 (class 2606 OID 18147)
-- Name: act_ru_suspended_job act_fk_suspended_job_custom_values; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_suspended_job
    ADD CONSTRAINT act_fk_suspended_job_custom_values FOREIGN KEY (custom_values_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4581 (class 2606 OID 18142)
-- Name: act_ru_suspended_job act_fk_suspended_job_exception; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_suspended_job
    ADD CONSTRAINT act_fk_suspended_job_exception FOREIGN KEY (exception_stack_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4582 (class 2606 OID 18467)
-- Name: act_ru_suspended_job act_fk_suspended_job_execution; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_suspended_job
    ADD CONSTRAINT act_fk_suspended_job_execution FOREIGN KEY (execution_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4583 (class 2606 OID 18479)
-- Name: act_ru_suspended_job act_fk_suspended_job_proc_def; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_suspended_job
    ADD CONSTRAINT act_fk_suspended_job_proc_def FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4584 (class 2606 OID 18473)
-- Name: act_ru_suspended_job act_fk_suspended_job_process_instance; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_suspended_job
    ADD CONSTRAINT act_fk_suspended_job_process_instance FOREIGN KEY (process_instance_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4593 (class 2606 OID 18401)
-- Name: act_ru_task act_fk_task_exe; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_task
    ADD CONSTRAINT act_fk_task_exe FOREIGN KEY (execution_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4594 (class 2606 OID 18413)
-- Name: act_ru_task act_fk_task_procdef; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_task
    ADD CONSTRAINT act_fk_task_procdef FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4595 (class 2606 OID 18407)
-- Name: act_ru_task act_fk_task_procinst; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_task
    ADD CONSTRAINT act_fk_task_procinst FOREIGN KEY (proc_inst_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4575 (class 2606 OID 18137)
-- Name: act_ru_timer_job act_fk_timer_job_custom_values; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_timer_job
    ADD CONSTRAINT act_fk_timer_job_custom_values FOREIGN KEY (custom_values_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4576 (class 2606 OID 18132)
-- Name: act_ru_timer_job act_fk_timer_job_exception; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_timer_job
    ADD CONSTRAINT act_fk_timer_job_exception FOREIGN KEY (exception_stack_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4577 (class 2606 OID 18449)
-- Name: act_ru_timer_job act_fk_timer_job_execution; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_timer_job
    ADD CONSTRAINT act_fk_timer_job_execution FOREIGN KEY (execution_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4578 (class 2606 OID 18461)
-- Name: act_ru_timer_job act_fk_timer_job_proc_def; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_timer_job
    ADD CONSTRAINT act_fk_timer_job_proc_def FOREIGN KEY (proc_def_id_) REFERENCES public.act_re_procdef(id_);


--
-- TOC entry 4579 (class 2606 OID 18455)
-- Name: act_ru_timer_job act_fk_timer_job_process_instance; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_timer_job
    ADD CONSTRAINT act_fk_timer_job_process_instance FOREIGN KEY (process_instance_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4569 (class 2606 OID 18383)
-- Name: act_ru_identitylink act_fk_tskass_task; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_identitylink
    ADD CONSTRAINT act_fk_tskass_task FOREIGN KEY (task_id_) REFERENCES public.act_ru_task(id_);


--
-- TOC entry 4596 (class 2606 OID 18254)
-- Name: act_ru_variable act_fk_var_bytearray; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_variable
    ADD CONSTRAINT act_fk_var_bytearray FOREIGN KEY (bytearray_id_) REFERENCES public.act_ge_bytearray(id_);


--
-- TOC entry 4597 (class 2606 OID 18419)
-- Name: act_ru_variable act_fk_var_exe; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_variable
    ADD CONSTRAINT act_fk_var_exe FOREIGN KEY (execution_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4598 (class 2606 OID 18425)
-- Name: act_ru_variable act_fk_var_procinst; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.act_ru_variable
    ADD CONSTRAINT act_fk_var_procinst FOREIGN KEY (proc_inst_id_) REFERENCES public.act_ru_execution(id_);


--
-- TOC entry 4400 (class 2606 OID 17176)
-- Name: adyngroupmembership adyngroupmembership_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.adyngroupmembership
    ADD CONSTRAINT adyngroupmembership_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4401 (class 2606 OID 17171)
-- Name: adyngroupmembership adyngroupmembership_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.adyngroupmembership
    ADD CONSTRAINT adyngroupmembership_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4402 (class 2606 OID 17181)
-- Name: amembership amembership_anyobject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.amembership
    ADD CONSTRAINT amembership_anyobject_id_fkey FOREIGN KEY (anyobject_id) REFERENCES public.anyobject(id) DEFERRABLE;


--
-- TOC entry 4403 (class 2606 OID 17186)
-- Name: amembership amembership_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.amembership
    ADD CONSTRAINT amembership_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4404 (class 2606 OID 17191)
-- Name: anyabout anyabout_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyabout
    ADD CONSTRAINT anyabout_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4405 (class 2606 OID 17196)
-- Name: anyabout anyabout_notification_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyabout
    ADD CONSTRAINT anyabout_notification_id_fkey FOREIGN KEY (notification_id) REFERENCES public.notification(id) DEFERRABLE;


--
-- TOC entry 4408 (class 2606 OID 17211)
-- Name: anyobject_anytypeclass anyobject_anytypeclass_anyobject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject_anytypeclass
    ADD CONSTRAINT anyobject_anytypeclass_anyobject_id_fkey FOREIGN KEY (anyobject_id) REFERENCES public.anyobject(id) DEFERRABLE;


--
-- TOC entry 4409 (class 2606 OID 17216)
-- Name: anyobject_anytypeclass anyobject_anytypeclass_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject_anytypeclass
    ADD CONSTRAINT anyobject_anytypeclass_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4410 (class 2606 OID 17221)
-- Name: anyobject_externalresource anyobject_externalresource_anyobject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject_externalresource
    ADD CONSTRAINT anyobject_externalresource_anyobject_id_fkey FOREIGN KEY (anyobject_id) REFERENCES public.anyobject(id) DEFERRABLE;


--
-- TOC entry 4411 (class 2606 OID 17226)
-- Name: anyobject_externalresource anyobject_externalresource_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject_externalresource
    ADD CONSTRAINT anyobject_externalresource_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4406 (class 2606 OID 17201)
-- Name: anyobject anyobject_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject
    ADD CONSTRAINT anyobject_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4407 (class 2606 OID 17206)
-- Name: anyobject anyobject_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anyobject
    ADD CONSTRAINT anyobject_type_id_fkey FOREIGN KEY (type_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4412 (class 2606 OID 17236)
-- Name: anytemplatelivesynctask anytemplatelivesynctask_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatelivesynctask
    ADD CONSTRAINT anytemplatelivesynctask_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4413 (class 2606 OID 17231)
-- Name: anytemplatelivesynctask anytemplatelivesynctask_livesynctask_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatelivesynctask
    ADD CONSTRAINT anytemplatelivesynctask_livesynctask_id_fkey FOREIGN KEY (livesynctask_id) REFERENCES public.livesynctask(id) DEFERRABLE;


--
-- TOC entry 4414 (class 2606 OID 17241)
-- Name: anytemplatepulltask anytemplatepulltask_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatepulltask
    ADD CONSTRAINT anytemplatepulltask_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4415 (class 2606 OID 17246)
-- Name: anytemplatepulltask anytemplatepulltask_pulltask_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplatepulltask
    ADD CONSTRAINT anytemplatepulltask_pulltask_id_fkey FOREIGN KEY (pulltask_id) REFERENCES public.pulltask(id) DEFERRABLE;


--
-- TOC entry 4416 (class 2606 OID 17256)
-- Name: anytemplaterealm anytemplaterealm_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplaterealm
    ADD CONSTRAINT anytemplaterealm_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4417 (class 2606 OID 17251)
-- Name: anytemplaterealm anytemplaterealm_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytemplaterealm
    ADD CONSTRAINT anytemplaterealm_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4418 (class 2606 OID 17261)
-- Name: anytype_anytypeclass anytype_anytypeclass_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytype_anytypeclass
    ADD CONSTRAINT anytype_anytypeclass_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4419 (class 2606 OID 17266)
-- Name: anytype_anytypeclass anytype_anytypeclass_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.anytype_anytypeclass
    ADD CONSTRAINT anytype_anytypeclass_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4420 (class 2606 OID 17271)
-- Name: arelationship arelationship_left_anyobject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.arelationship
    ADD CONSTRAINT arelationship_left_anyobject_id_fkey FOREIGN KEY (left_anyobject_id) REFERENCES public.anyobject(id) DEFERRABLE;


--
-- TOC entry 4421 (class 2606 OID 17276)
-- Name: arelationship arelationship_right_anyobject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.arelationship
    ADD CONSTRAINT arelationship_right_anyobject_id_fkey FOREIGN KEY (right_anyobject_id) REFERENCES public.anyobject(id) DEFERRABLE;


--
-- TOC entry 4422 (class 2606 OID 17281)
-- Name: arelationship arelationship_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.arelationship
    ADD CONSTRAINT arelationship_type_id_fkey FOREIGN KEY (type_id) REFERENCES public.relationshiptype(id) DEFERRABLE;


--
-- TOC entry 4423 (class 2606 OID 17286)
-- Name: casspclientapp casspclientapp_accesspolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT casspclientapp_accesspolicy_id_fkey FOREIGN KEY (accesspolicy_id) REFERENCES public.accesspolicy(id) DEFERRABLE;


--
-- TOC entry 4424 (class 2606 OID 17291)
-- Name: casspclientapp casspclientapp_attrreleasepolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT casspclientapp_attrreleasepolicy_id_fkey FOREIGN KEY (attrreleasepolicy_id) REFERENCES public.attrreleasepolicy(id) DEFERRABLE;


--
-- TOC entry 4425 (class 2606 OID 17296)
-- Name: casspclientapp casspclientapp_authpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT casspclientapp_authpolicy_id_fkey FOREIGN KEY (authpolicy_id) REFERENCES public.authpolicy(id) DEFERRABLE;


--
-- TOC entry 4426 (class 2606 OID 17301)
-- Name: casspclientapp casspclientapp_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT casspclientapp_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4427 (class 2606 OID 17306)
-- Name: casspclientapp casspclientapp_ticketexpirationpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.casspclientapp
    ADD CONSTRAINT casspclientapp_ticketexpirationpolicy_id_fkey FOREIGN KEY (ticketexpirationpolicy_id) REFERENCES public.ticketexpirationpolicy(id) DEFERRABLE;


--
-- TOC entry 4428 (class 2606 OID 17311)
-- Name: conninstance conninstance_adminrealm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.conninstance
    ADD CONSTRAINT conninstance_adminrealm_id_fkey FOREIGN KEY (adminrealm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4429 (class 2606 OID 17316)
-- Name: delegation delegation_delegated_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delegation
    ADD CONSTRAINT delegation_delegated_id_fkey FOREIGN KEY (delegated_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4430 (class 2606 OID 17321)
-- Name: delegation delegation_delegating_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delegation
    ADD CONSTRAINT delegation_delegating_id_fkey FOREIGN KEY (delegating_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4431 (class 2606 OID 17326)
-- Name: delegation_syncoperole delegation_syncoperole_jpadelegation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delegation_syncoperole
    ADD CONSTRAINT delegation_syncoperole_jpadelegation_id_fkey FOREIGN KEY (jpadelegation_id) REFERENCES public.delegation(id) DEFERRABLE;


--
-- TOC entry 4432 (class 2606 OID 17331)
-- Name: delegation_syncoperole delegation_syncoperole_roles_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delegation_syncoperole
    ADD CONSTRAINT delegation_syncoperole_roles_id_fkey FOREIGN KEY (roles_id) REFERENCES public.syncoperole(id) DEFERRABLE;


--
-- TOC entry 4433 (class 2606 OID 17341)
-- Name: derschema derschema_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.derschema
    ADD CONSTRAINT derschema_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4434 (class 2606 OID 17336)
-- Name: derschema derschema_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.derschema
    ADD CONSTRAINT derschema_id_fkey FOREIGN KEY (id) REFERENCES public.syncopeschema(id) DEFERRABLE;


--
-- TOC entry 4435 (class 2606 OID 17351)
-- Name: dynrealmmembership dynrealmmembership_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dynrealmmembership
    ADD CONSTRAINT dynrealmmembership_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4436 (class 2606 OID 17346)
-- Name: dynrealmmembership dynrealmmembership_dynrealm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.dynrealmmembership
    ADD CONSTRAINT dynrealmmembership_dynrealm_id_fkey FOREIGN KEY (dynrealm_id) REFERENCES public.dynrealm(id) DEFERRABLE;


--
-- TOC entry 4437 (class 2606 OID 17356)
-- Name: externalresource externalresource_accountpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_accountpolicy_id_fkey FOREIGN KEY (accountpolicy_id) REFERENCES public.accountpolicy(id) DEFERRABLE;


--
-- TOC entry 4438 (class 2606 OID 17361)
-- Name: externalresource externalresource_connector_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_connector_id_fkey FOREIGN KEY (connector_id) REFERENCES public.conninstance(id) DEFERRABLE;


--
-- TOC entry 4439 (class 2606 OID 17366)
-- Name: externalresource externalresource_inboundpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_inboundpolicy_id_fkey FOREIGN KEY (inboundpolicy_id) REFERENCES public.inboundpolicy(id) DEFERRABLE;


--
-- TOC entry 4440 (class 2606 OID 17371)
-- Name: externalresource externalresource_passwordpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_passwordpolicy_id_fkey FOREIGN KEY (passwordpolicy_id) REFERENCES public.passwordpolicy(id) DEFERRABLE;


--
-- TOC entry 4441 (class 2606 OID 17376)
-- Name: externalresource externalresource_propagationpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_propagationpolicy_id_fkey FOREIGN KEY (propagationpolicy_id) REFERENCES public.propagationpolicy(id) DEFERRABLE;


--
-- TOC entry 4442 (class 2606 OID 17381)
-- Name: externalresource externalresource_provisionsorter_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_provisionsorter_id_fkey FOREIGN KEY (provisionsorter_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4443 (class 2606 OID 17386)
-- Name: externalresource externalresource_pushpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresource
    ADD CONSTRAINT externalresource_pushpolicy_id_fkey FOREIGN KEY (pushpolicy_id) REFERENCES public.pushpolicy(id) DEFERRABLE;


--
-- TOC entry 4444 (class 2606 OID 17396)
-- Name: externalresourcepropaction externalresourcepropaction_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresourcepropaction
    ADD CONSTRAINT externalresourcepropaction_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4445 (class 2606 OID 17391)
-- Name: externalresourcepropaction externalresourcepropaction_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.externalresourcepropaction
    ADD CONSTRAINT externalresourcepropaction_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4446 (class 2606 OID 17401)
-- Name: fiqlquery fiqlquery_owner_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.fiqlquery
    ADD CONSTRAINT fiqlquery_owner_id_fkey FOREIGN KEY (owner_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4592 (class 2606 OID 18204)
-- Name: flw_ru_batch_part flw_fk_batch_part_parent; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.flw_ru_batch_part
    ADD CONSTRAINT flw_fk_batch_part_parent FOREIGN KEY (batch_id_) REFERENCES public.flw_ru_batch(id_);


--
-- TOC entry 4447 (class 2606 OID 17406)
-- Name: formpropertydef formpropertydef_macrotask_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.formpropertydef
    ADD CONSTRAINT formpropertydef_macrotask_id_fkey FOREIGN KEY (macrotask_id) REFERENCES public.macrotask(id) DEFERRABLE;


--
-- TOC entry 4448 (class 2606 OID 17416)
-- Name: grelationship grelationship_anyobject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.grelationship
    ADD CONSTRAINT grelationship_anyobject_id_fkey FOREIGN KEY (anyobject_id) REFERENCES public.anyobject(id) DEFERRABLE;


--
-- TOC entry 4449 (class 2606 OID 17411)
-- Name: grelationship grelationship_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.grelationship
    ADD CONSTRAINT grelationship_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4450 (class 2606 OID 17421)
-- Name: grelationship grelationship_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.grelationship
    ADD CONSTRAINT grelationship_type_id_fkey FOREIGN KEY (type_id) REFERENCES public.relationshiptype(id) DEFERRABLE;


--
-- TOC entry 4451 (class 2606 OID 17431)
-- Name: inboundcorrelationruleentity inboundcorrelationruleentity_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inboundcorrelationruleentity
    ADD CONSTRAINT inboundcorrelationruleentity_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4452 (class 2606 OID 17436)
-- Name: inboundcorrelationruleentity inboundcorrelationruleentity_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inboundcorrelationruleentity
    ADD CONSTRAINT inboundcorrelationruleentity_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4453 (class 2606 OID 17426)
-- Name: inboundcorrelationruleentity inboundcorrelationruleentity_inboundpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.inboundcorrelationruleentity
    ADD CONSTRAINT inboundcorrelationruleentity_inboundpolicy_id_fkey FOREIGN KEY (inboundpolicy_id) REFERENCES public.inboundpolicy(id) DEFERRABLE;


--
-- TOC entry 4454 (class 2606 OID 17441)
-- Name: linkedaccount linkedaccount_owner_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.linkedaccount
    ADD CONSTRAINT linkedaccount_owner_id_fkey FOREIGN KEY (owner_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4455 (class 2606 OID 17446)
-- Name: linkedaccount linkedaccount_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.linkedaccount
    ADD CONSTRAINT linkedaccount_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4456 (class 2606 OID 17461)
-- Name: livesynctask livesynctask_destinationrealm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctask
    ADD CONSTRAINT livesynctask_destinationrealm_id_fkey FOREIGN KEY (destinationrealm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4457 (class 2606 OID 17451)
-- Name: livesynctask livesynctask_jobdelegate_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctask
    ADD CONSTRAINT livesynctask_jobdelegate_id_fkey FOREIGN KEY (jobdelegate_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4458 (class 2606 OID 17466)
-- Name: livesynctask livesynctask_livesyncdeltamapper_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctask
    ADD CONSTRAINT livesynctask_livesyncdeltamapper_id_fkey FOREIGN KEY (livesyncdeltamapper_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4459 (class 2606 OID 17456)
-- Name: livesynctask livesynctask_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctask
    ADD CONSTRAINT livesynctask_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4460 (class 2606 OID 17476)
-- Name: livesynctaskaction livesynctaskaction_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctaskaction
    ADD CONSTRAINT livesynctaskaction_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4461 (class 2606 OID 17471)
-- Name: livesynctaskaction livesynctaskaction_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctaskaction
    ADD CONSTRAINT livesynctaskaction_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.livesynctask(id) DEFERRABLE;


--
-- TOC entry 4462 (class 2606 OID 17481)
-- Name: livesynctaskexec livesynctaskexec_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.livesynctaskexec
    ADD CONSTRAINT livesynctaskexec_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.livesynctask(id) DEFERRABLE;


--
-- TOC entry 4463 (class 2606 OID 17486)
-- Name: macrotask macrotask_jobdelegate_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotask
    ADD CONSTRAINT macrotask_jobdelegate_id_fkey FOREIGN KEY (jobdelegate_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4464 (class 2606 OID 17491)
-- Name: macrotask macrotask_macroactions_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotask
    ADD CONSTRAINT macrotask_macroactions_id_fkey FOREIGN KEY (macroactions_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4465 (class 2606 OID 17496)
-- Name: macrotask macrotask_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotask
    ADD CONSTRAINT macrotask_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4466 (class 2606 OID 17506)
-- Name: macrotaskcommand macrotaskcommand_command_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotaskcommand
    ADD CONSTRAINT macrotaskcommand_command_id_fkey FOREIGN KEY (command_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4467 (class 2606 OID 17501)
-- Name: macrotaskcommand macrotaskcommand_macrotask_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotaskcommand
    ADD CONSTRAINT macrotaskcommand_macrotask_id_fkey FOREIGN KEY (macrotask_id) REFERENCES public.macrotask(id) DEFERRABLE;


--
-- TOC entry 4468 (class 2606 OID 17511)
-- Name: macrotaskexec macrotaskexec_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.macrotaskexec
    ADD CONSTRAINT macrotaskexec_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.macrotask(id) DEFERRABLE;


--
-- TOC entry 4469 (class 2606 OID 17516)
-- Name: notification notification_recipientsprovider_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.notification
    ADD CONSTRAINT notification_recipientsprovider_id_fkey FOREIGN KEY (recipientsprovider_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4470 (class 2606 OID 17521)
-- Name: notification notification_template_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.notification
    ADD CONSTRAINT notification_template_id_fkey FOREIGN KEY (template_id) REFERENCES public.mailtemplate(id) DEFERRABLE;


--
-- TOC entry 4471 (class 2606 OID 17526)
-- Name: notificationtask notificationtask_notification_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.notificationtask
    ADD CONSTRAINT notificationtask_notification_id_fkey FOREIGN KEY (notification_id) REFERENCES public.notification(id) DEFERRABLE;


--
-- TOC entry 4472 (class 2606 OID 17531)
-- Name: notificationtaskexec notificationtaskexec_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.notificationtaskexec
    ADD CONSTRAINT notificationtaskexec_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.notificationtask(id) DEFERRABLE;


--
-- TOC entry 4473 (class 2606 OID 17541)
-- Name: oidcprovideraction oidcprovideraction_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcprovideraction
    ADD CONSTRAINT oidcprovideraction_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4474 (class 2606 OID 17536)
-- Name: oidcprovideraction oidcprovideraction_op_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcprovideraction
    ADD CONSTRAINT oidcprovideraction_op_id_fkey FOREIGN KEY (op_id) REFERENCES public.oidcprovider(id) DEFERRABLE;


--
-- TOC entry 4475 (class 2606 OID 17546)
-- Name: oidcrpclientapp oidcrpclientapp_accesspolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT oidcrpclientapp_accesspolicy_id_fkey FOREIGN KEY (accesspolicy_id) REFERENCES public.accesspolicy(id) DEFERRABLE;


--
-- TOC entry 4476 (class 2606 OID 17551)
-- Name: oidcrpclientapp oidcrpclientapp_attrreleasepolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT oidcrpclientapp_attrreleasepolicy_id_fkey FOREIGN KEY (attrreleasepolicy_id) REFERENCES public.attrreleasepolicy(id) DEFERRABLE;


--
-- TOC entry 4477 (class 2606 OID 17556)
-- Name: oidcrpclientapp oidcrpclientapp_authpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT oidcrpclientapp_authpolicy_id_fkey FOREIGN KEY (authpolicy_id) REFERENCES public.authpolicy(id) DEFERRABLE;


--
-- TOC entry 4478 (class 2606 OID 17561)
-- Name: oidcrpclientapp oidcrpclientapp_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT oidcrpclientapp_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4479 (class 2606 OID 17566)
-- Name: oidcrpclientapp oidcrpclientapp_ticketexpirationpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcrpclientapp
    ADD CONSTRAINT oidcrpclientapp_ticketexpirationpolicy_id_fkey FOREIGN KEY (ticketexpirationpolicy_id) REFERENCES public.ticketexpirationpolicy(id) DEFERRABLE;


--
-- TOC entry 4480 (class 2606 OID 17576)
-- Name: oidcusertemplate oidcusertemplate_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcusertemplate
    ADD CONSTRAINT oidcusertemplate_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4481 (class 2606 OID 17571)
-- Name: oidcusertemplate oidcusertemplate_op_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.oidcusertemplate
    ADD CONSTRAINT oidcusertemplate_op_id_fkey FOREIGN KEY (op_id) REFERENCES public.oidcprovider(id) DEFERRABLE;


--
-- TOC entry 4482 (class 2606 OID 17586)
-- Name: passwordpolicyrule passwordpolicyrule_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.passwordpolicyrule
    ADD CONSTRAINT passwordpolicyrule_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4483 (class 2606 OID 17581)
-- Name: passwordpolicyrule passwordpolicyrule_policy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.passwordpolicyrule
    ADD CONSTRAINT passwordpolicyrule_policy_id_fkey FOREIGN KEY (policy_id) REFERENCES public.passwordpolicy(id) DEFERRABLE;


--
-- TOC entry 4484 (class 2606 OID 17596)
-- Name: plainschema plainschema_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.plainschema
    ADD CONSTRAINT plainschema_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4485 (class 2606 OID 17601)
-- Name: plainschema plainschema_dropdownvalueprovider_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.plainschema
    ADD CONSTRAINT plainschema_dropdownvalueprovider_id_fkey FOREIGN KEY (dropdownvalueprovider_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4486 (class 2606 OID 17591)
-- Name: plainschema plainschema_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.plainschema
    ADD CONSTRAINT plainschema_id_fkey FOREIGN KEY (id) REFERENCES public.syncopeschema(id) DEFERRABLE;


--
-- TOC entry 4487 (class 2606 OID 17606)
-- Name: plainschema plainschema_validator_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.plainschema
    ADD CONSTRAINT plainschema_validator_id_fkey FOREIGN KEY (validator_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4488 (class 2606 OID 17611)
-- Name: propagationtask propagationtask_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.propagationtask
    ADD CONSTRAINT propagationtask_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4489 (class 2606 OID 17616)
-- Name: propagationtaskexec propagationtaskexec_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.propagationtaskexec
    ADD CONSTRAINT propagationtaskexec_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.propagationtask(id) DEFERRABLE;


--
-- TOC entry 4490 (class 2606 OID 17631)
-- Name: pulltask pulltask_destinationrealm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltask
    ADD CONSTRAINT pulltask_destinationrealm_id_fkey FOREIGN KEY (destinationrealm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4491 (class 2606 OID 17621)
-- Name: pulltask pulltask_jobdelegate_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltask
    ADD CONSTRAINT pulltask_jobdelegate_id_fkey FOREIGN KEY (jobdelegate_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4492 (class 2606 OID 17636)
-- Name: pulltask pulltask_reconfilterbuilder_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltask
    ADD CONSTRAINT pulltask_reconfilterbuilder_id_fkey FOREIGN KEY (reconfilterbuilder_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4493 (class 2606 OID 17626)
-- Name: pulltask pulltask_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltask
    ADD CONSTRAINT pulltask_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4494 (class 2606 OID 17646)
-- Name: pulltaskaction pulltaskaction_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltaskaction
    ADD CONSTRAINT pulltaskaction_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4495 (class 2606 OID 17641)
-- Name: pulltaskaction pulltaskaction_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltaskaction
    ADD CONSTRAINT pulltaskaction_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.pulltask(id) DEFERRABLE;


--
-- TOC entry 4496 (class 2606 OID 17651)
-- Name: pulltaskexec pulltaskexec_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pulltaskexec
    ADD CONSTRAINT pulltaskexec_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.pulltask(id) DEFERRABLE;


--
-- TOC entry 4497 (class 2606 OID 17661)
-- Name: pushcorrelationruleentity pushcorrelationruleentity_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushcorrelationruleentity
    ADD CONSTRAINT pushcorrelationruleentity_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4498 (class 2606 OID 17666)
-- Name: pushcorrelationruleentity pushcorrelationruleentity_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushcorrelationruleentity
    ADD CONSTRAINT pushcorrelationruleentity_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4499 (class 2606 OID 17656)
-- Name: pushcorrelationruleentity pushcorrelationruleentity_pushpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushcorrelationruleentity
    ADD CONSTRAINT pushcorrelationruleentity_pushpolicy_id_fkey FOREIGN KEY (pushpolicy_id) REFERENCES public.pushpolicy(id) DEFERRABLE;


--
-- TOC entry 4500 (class 2606 OID 17671)
-- Name: pushtask pushtask_jobdelegate_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtask
    ADD CONSTRAINT pushtask_jobdelegate_id_fkey FOREIGN KEY (jobdelegate_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4501 (class 2606 OID 17676)
-- Name: pushtask pushtask_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtask
    ADD CONSTRAINT pushtask_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4502 (class 2606 OID 17681)
-- Name: pushtask pushtask_sourcerealm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtask
    ADD CONSTRAINT pushtask_sourcerealm_id_fkey FOREIGN KEY (sourcerealm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4503 (class 2606 OID 17691)
-- Name: pushtaskaction pushtaskaction_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtaskaction
    ADD CONSTRAINT pushtaskaction_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4504 (class 2606 OID 17686)
-- Name: pushtaskaction pushtaskaction_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtaskaction
    ADD CONSTRAINT pushtaskaction_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.pushtask(id) DEFERRABLE;


--
-- TOC entry 4505 (class 2606 OID 17696)
-- Name: pushtaskexec pushtaskexec_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.pushtaskexec
    ADD CONSTRAINT pushtaskexec_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.pushtask(id) DEFERRABLE;


--
-- TOC entry 4506 (class 2606 OID 17701)
-- Name: realm realm_accesspolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_accesspolicy_id_fkey FOREIGN KEY (accesspolicy_id) REFERENCES public.accesspolicy(id) DEFERRABLE;


--
-- TOC entry 4507 (class 2606 OID 17706)
-- Name: realm realm_accountpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_accountpolicy_id_fkey FOREIGN KEY (accountpolicy_id) REFERENCES public.accountpolicy(id) DEFERRABLE;


--
-- TOC entry 4515 (class 2606 OID 17751)
-- Name: realm_anytypeclass realm_anytypeclass_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm_anytypeclass
    ADD CONSTRAINT realm_anytypeclass_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4516 (class 2606 OID 17746)
-- Name: realm_anytypeclass realm_anytypeclass_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm_anytypeclass
    ADD CONSTRAINT realm_anytypeclass_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4508 (class 2606 OID 17711)
-- Name: realm realm_attrreleasepolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_attrreleasepolicy_id_fkey FOREIGN KEY (attrreleasepolicy_id) REFERENCES public.attrreleasepolicy(id) DEFERRABLE;


--
-- TOC entry 4509 (class 2606 OID 17716)
-- Name: realm realm_authpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_authpolicy_id_fkey FOREIGN KEY (authpolicy_id) REFERENCES public.authpolicy(id) DEFERRABLE;


--
-- TOC entry 4517 (class 2606 OID 17756)
-- Name: realm_externalresource realm_externalresource_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm_externalresource
    ADD CONSTRAINT realm_externalresource_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4518 (class 2606 OID 17761)
-- Name: realm_externalresource realm_externalresource_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm_externalresource
    ADD CONSTRAINT realm_externalresource_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4510 (class 2606 OID 17721)
-- Name: realm realm_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4511 (class 2606 OID 17726)
-- Name: realm realm_passwordpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_passwordpolicy_id_fkey FOREIGN KEY (passwordpolicy_id) REFERENCES public.passwordpolicy(id) DEFERRABLE;


--
-- TOC entry 4512 (class 2606 OID 17731)
-- Name: realm realm_ticketexpirationpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realm
    ADD CONSTRAINT realm_ticketexpirationpolicy_id_fkey FOREIGN KEY (ticketexpirationpolicy_id) REFERENCES public.ticketexpirationpolicy(id) DEFERRABLE;


--
-- TOC entry 4513 (class 2606 OID 17741)
-- Name: realmaction realmaction_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realmaction
    ADD CONSTRAINT realmaction_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4514 (class 2606 OID 17736)
-- Name: realmaction realmaction_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.realmaction
    ADD CONSTRAINT realmaction_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4519 (class 2606 OID 17766)
-- Name: relationshiptype relationshiptype_leftendanytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.relationshiptype
    ADD CONSTRAINT relationshiptype_leftendanytype_id_fkey FOREIGN KEY (leftendanytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4520 (class 2606 OID 17771)
-- Name: relationshiptype relationshiptype_rightendanytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.relationshiptype
    ADD CONSTRAINT relationshiptype_rightendanytype_id_fkey FOREIGN KEY (rightendanytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4521 (class 2606 OID 17776)
-- Name: remediation remediation_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.remediation
    ADD CONSTRAINT remediation_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4522 (class 2606 OID 17781)
-- Name: remediation remediation_pulltask_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.remediation
    ADD CONSTRAINT remediation_pulltask_id_fkey FOREIGN KEY (pulltask_id) REFERENCES public.pulltask(id) DEFERRABLE;


--
-- TOC entry 4523 (class 2606 OID 17786)
-- Name: report report_jobdelegate_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.report
    ADD CONSTRAINT report_jobdelegate_id_fkey FOREIGN KEY (jobdelegate_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4524 (class 2606 OID 17791)
-- Name: reportexec reportexec_report_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.reportexec
    ADD CONSTRAINT reportexec_report_id_fkey FOREIGN KEY (report_id) REFERENCES public.report(id) DEFERRABLE;


--
-- TOC entry 4525 (class 2606 OID 17801)
-- Name: saml2idp4uiaction saml2idp4uiaction_implementation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2idp4uiaction
    ADD CONSTRAINT saml2idp4uiaction_implementation_id_fkey FOREIGN KEY (implementation_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4526 (class 2606 OID 17796)
-- Name: saml2idp4uiaction saml2idp4uiaction_saml2idp4ui_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2idp4uiaction
    ADD CONSTRAINT saml2idp4uiaction_saml2idp4ui_id_fkey FOREIGN KEY (saml2idp4ui_id) REFERENCES public.saml2sp4uiidp(id) DEFERRABLE;


--
-- TOC entry 4527 (class 2606 OID 17806)
-- Name: saml2sp4uiidp saml2sp4uiidp_requestedauthncontextprovider_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiidp
    ADD CONSTRAINT saml2sp4uiidp_requestedauthncontextprovider_id_fkey FOREIGN KEY (requestedauthncontextprovider_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4528 (class 2606 OID 17816)
-- Name: saml2sp4uiusertemplate saml2sp4uiusertemplate_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiusertemplate
    ADD CONSTRAINT saml2sp4uiusertemplate_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4529 (class 2606 OID 17811)
-- Name: saml2sp4uiusertemplate saml2sp4uiusertemplate_idp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2sp4uiusertemplate
    ADD CONSTRAINT saml2sp4uiusertemplate_idp_id_fkey FOREIGN KEY (idp_id) REFERENCES public.saml2sp4uiidp(id) DEFERRABLE;


--
-- TOC entry 4530 (class 2606 OID 17821)
-- Name: saml2spclientapp saml2spclientapp_accesspolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT saml2spclientapp_accesspolicy_id_fkey FOREIGN KEY (accesspolicy_id) REFERENCES public.accesspolicy(id) DEFERRABLE;


--
-- TOC entry 4531 (class 2606 OID 17826)
-- Name: saml2spclientapp saml2spclientapp_attrreleasepolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT saml2spclientapp_attrreleasepolicy_id_fkey FOREIGN KEY (attrreleasepolicy_id) REFERENCES public.attrreleasepolicy(id) DEFERRABLE;


--
-- TOC entry 4532 (class 2606 OID 17831)
-- Name: saml2spclientapp saml2spclientapp_authpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT saml2spclientapp_authpolicy_id_fkey FOREIGN KEY (authpolicy_id) REFERENCES public.authpolicy(id) DEFERRABLE;


--
-- TOC entry 4533 (class 2606 OID 17836)
-- Name: saml2spclientapp saml2spclientapp_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT saml2spclientapp_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4534 (class 2606 OID 17841)
-- Name: saml2spclientapp saml2spclientapp_ticketexpirationpolicy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.saml2spclientapp
    ADD CONSTRAINT saml2spclientapp_ticketexpirationpolicy_id_fkey FOREIGN KEY (ticketexpirationpolicy_id) REFERENCES public.ticketexpirationpolicy(id) DEFERRABLE;


--
-- TOC entry 4535 (class 2606 OID 17846)
-- Name: schedtask schedtask_jobdelegate_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.schedtask
    ADD CONSTRAINT schedtask_jobdelegate_id_fkey FOREIGN KEY (jobdelegate_id) REFERENCES public.implementation(id) DEFERRABLE;


--
-- TOC entry 4536 (class 2606 OID 17851)
-- Name: schedtaskexec schedtaskexec_task_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.schedtaskexec
    ADD CONSTRAINT schedtaskexec_task_id_fkey FOREIGN KEY (task_id) REFERENCES public.schedtask(id) DEFERRABLE;


--
-- TOC entry 4540 (class 2606 OID 17876)
-- Name: syncopegroup_anytypeclass syncopegroup_anytypeclass_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup_anytypeclass
    ADD CONSTRAINT syncopegroup_anytypeclass_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4541 (class 2606 OID 17871)
-- Name: syncopegroup_anytypeclass syncopegroup_anytypeclass_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup_anytypeclass
    ADD CONSTRAINT syncopegroup_anytypeclass_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4542 (class 2606 OID 17881)
-- Name: syncopegroup_externalresource syncopegroup_externalresource_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup_externalresource
    ADD CONSTRAINT syncopegroup_externalresource_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4543 (class 2606 OID 17886)
-- Name: syncopegroup_externalresource syncopegroup_externalresource_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup_externalresource
    ADD CONSTRAINT syncopegroup_externalresource_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4537 (class 2606 OID 17861)
-- Name: syncopegroup syncopegroup_groupowner_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup
    ADD CONSTRAINT syncopegroup_groupowner_id_fkey FOREIGN KEY (groupowner_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4538 (class 2606 OID 17856)
-- Name: syncopegroup syncopegroup_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup
    ADD CONSTRAINT syncopegroup_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4539 (class 2606 OID 17866)
-- Name: syncopegroup syncopegroup_userowner_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopegroup
    ADD CONSTRAINT syncopegroup_userowner_id_fkey FOREIGN KEY (userowner_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4544 (class 2606 OID 17896)
-- Name: syncoperole_dynrealm syncoperole_dynrealm_dynamicrealm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncoperole_dynrealm
    ADD CONSTRAINT syncoperole_dynrealm_dynamicrealm_id_fkey FOREIGN KEY (dynamicrealm_id) REFERENCES public.dynrealm(id) DEFERRABLE;


--
-- TOC entry 4545 (class 2606 OID 17891)
-- Name: syncoperole_dynrealm syncoperole_dynrealm_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncoperole_dynrealm
    ADD CONSTRAINT syncoperole_dynrealm_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.syncoperole(id) DEFERRABLE;


--
-- TOC entry 4546 (class 2606 OID 17906)
-- Name: syncoperole_realm syncoperole_realm_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncoperole_realm
    ADD CONSTRAINT syncoperole_realm_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4547 (class 2606 OID 17901)
-- Name: syncoperole_realm syncoperole_realm_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncoperole_realm
    ADD CONSTRAINT syncoperole_realm_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.syncoperole(id) DEFERRABLE;


--
-- TOC entry 4550 (class 2606 OID 17926)
-- Name: syncopeuser_anytypeclass syncopeuser_anytypeclass_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_anytypeclass
    ADD CONSTRAINT syncopeuser_anytypeclass_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4551 (class 2606 OID 17921)
-- Name: syncopeuser_anytypeclass syncopeuser_anytypeclass_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_anytypeclass
    ADD CONSTRAINT syncopeuser_anytypeclass_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4552 (class 2606 OID 17936)
-- Name: syncopeuser_externalresource syncopeuser_externalresource_resource_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_externalresource
    ADD CONSTRAINT syncopeuser_externalresource_resource_id_fkey FOREIGN KEY (resource_id) REFERENCES public.externalresource(id) DEFERRABLE;


--
-- TOC entry 4553 (class 2606 OID 17931)
-- Name: syncopeuser_externalresource syncopeuser_externalresource_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_externalresource
    ADD CONSTRAINT syncopeuser_externalresource_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4548 (class 2606 OID 17911)
-- Name: syncopeuser syncopeuser_realm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser
    ADD CONSTRAINT syncopeuser_realm_id_fkey FOREIGN KEY (realm_id) REFERENCES public.realm(id) DEFERRABLE;


--
-- TOC entry 4549 (class 2606 OID 17916)
-- Name: syncopeuser syncopeuser_securityquestion_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser
    ADD CONSTRAINT syncopeuser_securityquestion_id_fkey FOREIGN KEY (securityquestion_id) REFERENCES public.securityquestion(id) DEFERRABLE;


--
-- TOC entry 4554 (class 2606 OID 17946)
-- Name: syncopeuser_syncoperole syncopeuser_syncoperole_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_syncoperole
    ADD CONSTRAINT syncopeuser_syncoperole_role_id_fkey FOREIGN KEY (role_id) REFERENCES public.syncoperole(id) DEFERRABLE;


--
-- TOC entry 4555 (class 2606 OID 17941)
-- Name: syncopeuser_syncoperole syncopeuser_syncoperole_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.syncopeuser_syncoperole
    ADD CONSTRAINT syncopeuser_syncoperole_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4556 (class 2606 OID 17956)
-- Name: typeextension typeextension_anytype_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.typeextension
    ADD CONSTRAINT typeextension_anytype_id_fkey FOREIGN KEY (anytype_id) REFERENCES public.anytype(id) DEFERRABLE;


--
-- TOC entry 4558 (class 2606 OID 17966)
-- Name: typeextension_anytypeclass typeextension_anytypeclass_anytypeclass_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.typeextension_anytypeclass
    ADD CONSTRAINT typeextension_anytypeclass_anytypeclass_id_fkey FOREIGN KEY (anytypeclass_id) REFERENCES public.anytypeclass(id) DEFERRABLE;


--
-- TOC entry 4559 (class 2606 OID 17961)
-- Name: typeextension_anytypeclass typeextension_anytypeclass_typeextension_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.typeextension_anytypeclass
    ADD CONSTRAINT typeextension_anytypeclass_typeextension_id_fkey FOREIGN KEY (typeextension_id) REFERENCES public.typeextension(id) DEFERRABLE;


--
-- TOC entry 4557 (class 2606 OID 17951)
-- Name: typeextension typeextension_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.typeextension
    ADD CONSTRAINT typeextension_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4560 (class 2606 OID 17971)
-- Name: udyngroupmembership udyngroupmembership_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.udyngroupmembership
    ADD CONSTRAINT udyngroupmembership_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4561 (class 2606 OID 17981)
-- Name: umembership umembership_group_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.umembership
    ADD CONSTRAINT umembership_group_id_fkey FOREIGN KEY (group_id) REFERENCES public.syncopegroup(id) DEFERRABLE;


--
-- TOC entry 4562 (class 2606 OID 17976)
-- Name: umembership umembership_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.umembership
    ADD CONSTRAINT umembership_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.syncopeuser(id) DEFERRABLE;


--
-- TOC entry 4563 (class 2606 OID 17991)
-- Name: urelationship urelationship_anyobject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.urelationship
    ADD CONSTRAINT urelationship_anyobject_id_fkey FOREIGN KEY (anyobject_id) REFERENCES public.anyobject(id) DEFERRABLE;


--
-- TOC entry 4564 (class 2606 OID 17996)
-- Name: urelationship urelationship_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.urelationship
    ADD CONSTRAINT urelationship_type_id_fkey FOREIGN KEY (type_id) REFERENCES public.relationshiptype(id) DEFERRABLE;


--
-- TOC entry 4565 (class 2606 OID 17986)
-- Name: urelationship urelationship_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.urelationship
    ADD CONSTRAINT urelationship_user_id_fkey FOREIGN KEY (user_id) REFERENCES public.syncopeuser(id) DEFERRABLE;
