--
--

-- Started on 2016-07-29 09:08:24 CEST


--
-- TOC entry 4937 (class 0 OID 0)
-- Dependencies: 1
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
--

COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';





--
-- TOC entry 179 (class 1259 OID 752440)
-- Name: cmn_application_preference; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE cmn_application_preference (
    id integer NOT NULL,
    class_name character varying(255) NOT NULL,
    description character varying(255) NOT NULL,
    preference_name character varying(64) NOT NULL,
    preference_value character varying(512) NOT NULL
);


ALTER TABLE public.cmn_application_preference OWNER TO gazelle;

--
-- TOC entry 424 (class 1259 OID 756133)
-- Name: cmn_application_preference_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE cmn_application_preference_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cmn_application_preference_id_seq OWNER TO gazelle;

--
-- TOC entry 180 (class 1259 OID 752448)
-- Name: cmn_path_linking_a_document; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE cmn_path_linking_a_document (
    id integer NOT NULL,
    comment character varying(255),
    path character varying(255) NOT NULL,
    type character varying(255) NOT NULL
);


ALTER TABLE public.cmn_path_linking_a_document OWNER TO gazelle;

--
-- TOC entry 425 (class 1259 OID 756135)
-- Name: cmn_path_linking_a_document_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE cmn_path_linking_a_document_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.cmn_path_linking_a_document_id_seq OWNER TO gazelle;

--
-- TOC entry 426 (class 1259 OID 756137)
-- Name: hibernate_sequence; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE hibernate_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.hibernate_sequence OWNER TO gazelle;

--
-- TOC entry 172 (class 1259 OID 752412)
-- Name: message_validation_service; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE message_validation_service (
    id integer NOT NULL,
    tm_test_step_message_profile_id integer,
    validation_service_id integer
);


ALTER TABLE public.message_validation_service OWNER TO gazelle;

--
-- TOC entry 427 (class 1259 OID 756139)
-- Name: message_validation_service_sequence; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE message_validation_service_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.message_validation_service_sequence OWNER TO gazelle;

--
-- TOC entry 173 (class 1259 OID 752417)
-- Name: pr_crawler_changed_integration_statements; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_crawler_changed_integration_statements (
    crawler_report_id integer NOT NULL,
    system_id integer NOT NULL
);


ALTER TABLE public.pr_crawler_changed_integration_statements OWNER TO gazelle;

--
-- TOC entry 181 (class 1259 OID 752456)
-- Name: pr_crawler_reporting; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_crawler_reporting (
    id integer NOT NULL,
    execution_elapsed_time integer,
    execution_starting_date timestamp without time zone,
    number_of_changed_integration_statements integer,
    number_of_integration_statements_checked integer,
    number_of_successfully_checked integer,
    number_of_unmatching_hashcode_for_integration_statements integer,
    number_of_unreachable_integration_statements integer
);


ALTER TABLE public.pr_crawler_reporting OWNER TO gazelle;

--
-- TOC entry 428 (class 1259 OID 756141)
-- Name: pr_crawler_reporting_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE pr_crawler_reporting_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pr_crawler_reporting_id_seq OWNER TO gazelle;

--
-- TOC entry 174 (class 1259 OID 752420)
-- Name: pr_crawler_unmatching_hascode_for_integration_statements; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_crawler_unmatching_hascode_for_integration_statements (
    crawler_report_id integer NOT NULL,
    system_id integer NOT NULL
);


ALTER TABLE public.pr_crawler_unmatching_hascode_for_integration_statements OWNER TO gazelle;

--
-- TOC entry 175 (class 1259 OID 752423)
-- Name: pr_crawler_unreachable_integration_statements; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_crawler_unreachable_integration_statements (
    crawler_report_id integer NOT NULL,
    system_id integer NOT NULL
);


ALTER TABLE public.pr_crawler_unreachable_integration_statements OWNER TO gazelle;

--
-- TOC entry 182 (class 1259 OID 752461)
-- Name: pr_integration_statement_download; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_integration_statement_download (
    id integer NOT NULL,
    browser_information character varying(255),
    date timestamp without time zone,
    performer_hostname character varying(255),
    performer_ip_address character varying(255),
    performer_username character varying(255),
    search_log_report_id integer,
    system_id integer NOT NULL
);


ALTER TABLE public.pr_integration_statement_download OWNER TO gazelle;

--
-- TOC entry 429 (class 1259 OID 756143)
-- Name: pr_integration_statement_download_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE pr_integration_statement_download_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pr_integration_statement_download_id_seq OWNER TO gazelle;

--
-- TOC entry 183 (class 1259 OID 752469)
-- Name: pr_intro; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_intro (
    id integer NOT NULL,
    language character varying(255),
    main_panel_content text,
    main_panel_header text
);


ALTER TABLE public.pr_intro OWNER TO gazelle;

--
-- TOC entry 430 (class 1259 OID 756145)
-- Name: pr_intro_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE pr_intro_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pr_intro_id_seq OWNER TO gazelle;

--
-- TOC entry 184 (class 1259 OID 752477)
-- Name: pr_mail; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_mail (
    id integer NOT NULL,
    page_name character varying(255),
    sent boolean,
    crawlerreporting_id integer,
    system_id integer
);


ALTER TABLE public.pr_mail OWNER TO gazelle;

--
-- TOC entry 431 (class 1259 OID 756147)
-- Name: pr_mail_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE pr_mail_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pr_mail_id_seq OWNER TO gazelle;

--
-- TOC entry 176 (class 1259 OID 752426)
-- Name: pr_search_criteria_per_report; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_search_criteria_per_report (
    search_log_report_id integer NOT NULL,
    search_log_criterion_id integer NOT NULL
);


ALTER TABLE public.pr_search_criteria_per_report OWNER TO gazelle;

--
-- TOC entry 185 (class 1259 OID 752482)
-- Name: pr_search_log_criterion; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_search_log_criterion (
    id integer NOT NULL,
    criterion character varying(255),
    isbeforedate boolean,
    value_date timestamp without time zone,
    value_id integer,
    text_value character varying(255)
);


ALTER TABLE public.pr_search_log_criterion OWNER TO gazelle;

--
-- TOC entry 432 (class 1259 OID 756149)
-- Name: pr_search_log_criterion_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE pr_search_log_criterion_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pr_search_log_criterion_id_seq OWNER TO gazelle;

--
-- TOC entry 186 (class 1259 OID 752490)
-- Name: pr_search_log_report; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_search_log_report (
    id integer NOT NULL,
    browser_information character varying(255),
    date timestamp without time zone,
    performer_hostname character varying(255),
    performer_ip_address character varying(255),
    performer_username character varying(255),
    number_of_criteria integer,
    number_of_found_integration_statements integer
);


ALTER TABLE public.pr_search_log_report OWNER TO gazelle;

--
-- TOC entry 433 (class 1259 OID 756151)
-- Name: pr_search_log_report_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE pr_search_log_report_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pr_search_log_report_id_seq OWNER TO gazelle;

--
-- TOC entry 177 (class 1259 OID 752429)
-- Name: pr_search_log_systems_found; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE pr_search_log_systems_found (
    search_report_id integer NOT NULL,
    system_id integer NOT NULL
);


ALTER TABLE public.pr_search_log_systems_found OWNER TO gazelle;

--
-- TOC entry 434 (class 1259 OID 756153)
-- Name: pr_subtypes_per_system_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE pr_subtypes_per_system_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.pr_subtypes_per_system_id_seq OWNER TO gazelle;

--
-- TOC entry 178 (class 1259 OID 752432)
-- Name: proxy_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE proxy_type (
    id integer NOT NULL,
    description character varying(255),
    keyword character varying(255),
    label_key_for_display character varying(255)
);


ALTER TABLE public.proxy_type OWNER TO gazelle;

--
-- TOC entry 435 (class 1259 OID 756155)
-- Name: proxy_type_sequence; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE proxy_type_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.proxy_type_sequence OWNER TO gazelle;

--
-- TOC entry 171 (class 1259 OID 752407)
-- Name: revinfo; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE revinfo (
    rev integer NOT NULL,
    revtstmp bigint
);


ALTER TABLE public.revinfo OWNER TO gazelle;

--
-- TOC entry 341 (class 1259 OID 753667)
-- Name: sys_dicom_documents_for_systems; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE sys_dicom_documents_for_systems (
    system_id integer NOT NULL,
    path_linking_a_document_id integer NOT NULL
);


ALTER TABLE public.sys_dicom_documents_for_systems OWNER TO gazelle;

--
-- TOC entry 342 (class 1259 OID 753670)
-- Name: sys_hl7_documents_for_systems; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE sys_hl7_documents_for_systems (
    system_id integer NOT NULL,
    path_linking_a_document_id integer NOT NULL
);


ALTER TABLE public.sys_hl7_documents_for_systems OWNER TO gazelle;

--
-- TOC entry 187 (class 1259 OID 752498)
-- Name: sys_system_subtype; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE sys_system_subtype (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    subtype_for_quick_search boolean,
    description character varying(255),
    keyword character varying(255) NOT NULL
);


ALTER TABLE public.sys_system_subtype OWNER TO gazelle;

--
-- TOC entry 436 (class 1259 OID 756157)
-- Name: sys_system_subtype_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE sys_system_subtype_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.sys_system_subtype_id_seq OWNER TO gazelle;

--
-- TOC entry 188 (class 1259 OID 752506)
-- Name: sys_system_subtypes_per_system_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE sys_system_subtypes_per_system_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    system_subtype_id integer,
    system_type_id integer NOT NULL
);


ALTER TABLE public.sys_system_subtypes_per_system_type OWNER TO gazelle;

--
-- TOC entry 437 (class 1259 OID 756159)
-- Name: sys_system_subtypes_per_system_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE sys_system_subtypes_per_system_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.sys_system_subtypes_per_system_type_id_seq OWNER TO gazelle;

--
-- TOC entry 189 (class 1259 OID 752511)
-- Name: sys_system_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE sys_system_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255) NOT NULL,
    is_visible boolean
);


ALTER TABLE public.sys_system_type OWNER TO gazelle;

--
-- TOC entry 438 (class 1259 OID 756161)
-- Name: sys_system_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE sys_system_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.sys_system_type_id_seq OWNER TO gazelle;

--
-- TOC entry 190 (class 1259 OID 752519)
-- Name: sys_table_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE sys_table_session (
    id integer NOT NULL,
    lastchanged timestamp without time zone,
    lastmodifierid character varying(255),
    table_keyword character varying(255) NOT NULL
);


ALTER TABLE public.sys_table_session OWNER TO gazelle;

--
-- TOC entry 439 (class 1259 OID 756163)
-- Name: sys_table_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE sys_table_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.sys_table_session_id_seq OWNER TO gazelle;

--
-- TOC entry 191 (class 1259 OID 752527)
-- Name: tf_actor; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_actor (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    combined boolean,
    description character varying(2048),
    keyword character varying(128) NOT NULL,
    name character varying(128)
);


ALTER TABLE public.tf_actor OWNER TO gazelle;

--
-- TOC entry 192 (class 1259 OID 752535)
-- Name: tf_actor_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_actor_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    combined boolean,
    description character varying(2048),
    keyword character varying(128),
    name character varying(128)
);


ALTER TABLE public.tf_actor_aud OWNER TO gazelle;

--
-- TOC entry 193 (class 1259 OID 752543)
-- Name: tf_actor_default_ports; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_actor_default_ports (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    config_name character varying(255),
    port_non_secure integer,
    port_secure integer,
    type_of_config character varying(255) NOT NULL,
    actor_id integer,
    CONSTRAINT tf_actor_default_ports_port_non_secure_check CHECK (((port_non_secure >= 0) AND (port_non_secure <= 65635))),
    CONSTRAINT tf_actor_default_ports_port_secure_check CHECK (((port_secure >= 0) AND (port_secure <= 65635)))
);


ALTER TABLE public.tf_actor_default_ports OWNER TO gazelle;

--
-- TOC entry 440 (class 1259 OID 756165)
-- Name: tf_actor_default_ports_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_actor_default_ports_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_actor_default_ports_id_seq OWNER TO gazelle;

--
-- TOC entry 441 (class 1259 OID 756167)
-- Name: tf_actor_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_actor_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_actor_id_seq OWNER TO gazelle;

--
-- TOC entry 194 (class 1259 OID 752553)
-- Name: tf_actor_integration_profile; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_actor_integration_profile (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    actor_id integer,
    integration_profile_id integer
);


ALTER TABLE public.tf_actor_integration_profile OWNER TO gazelle;

--
-- TOC entry 195 (class 1259 OID 752558)
-- Name: tf_actor_integration_profile_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_actor_integration_profile_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    actor_id integer,
    integration_profile_id integer
);


ALTER TABLE public.tf_actor_integration_profile_aud OWNER TO gazelle;

--
-- TOC entry 442 (class 1259 OID 756169)
-- Name: tf_actor_integration_profile_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_actor_integration_profile_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_actor_integration_profile_id_seq OWNER TO gazelle;

--
-- TOC entry 196 (class 1259 OID 752563)
-- Name: tf_actor_integration_profile_option; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_actor_integration_profile_option (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    maybe_supportive boolean,
    actor_integration_profile_id integer NOT NULL,
    document_section integer,
    integration_profile_option_id integer
);


ALTER TABLE public.tf_actor_integration_profile_option OWNER TO gazelle;

--
-- TOC entry 197 (class 1259 OID 752568)
-- Name: tf_actor_integration_profile_option_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_actor_integration_profile_option_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    maybe_supportive boolean,
    actor_integration_profile_id integer,
    document_section integer,
    integration_profile_option_id integer
);


ALTER TABLE public.tf_actor_integration_profile_option_aud OWNER TO gazelle;

--
-- TOC entry 443 (class 1259 OID 756171)
-- Name: tf_actor_integration_profile_option_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_actor_integration_profile_option_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_actor_integration_profile_option_id_seq OWNER TO gazelle;

--
-- TOC entry 198 (class 1259 OID 752573)
-- Name: tf_affinity_domain; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_affinity_domain (
    id integer NOT NULL,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tf_affinity_domain OWNER TO gazelle;

--
-- TOC entry 199 (class 1259 OID 752581)
-- Name: tf_affinity_domain_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_affinity_domain_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tf_affinity_domain_aud OWNER TO gazelle;

--
-- TOC entry 444 (class 1259 OID 756173)
-- Name: tf_affinity_domain_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_affinity_domain_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_affinity_domain_id_seq OWNER TO gazelle;

--
-- TOC entry 200 (class 1259 OID 752589)
-- Name: tf_audit_message; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_audit_message (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    audited_event integer,
    comment character varying(255),
    event_code_type character varying(255),
    oid character varying(255),
    audited_transaction integer,
    document_section integer,
    issuing_actor integer
);


ALTER TABLE public.tf_audit_message OWNER TO gazelle;

--
-- TOC entry 445 (class 1259 OID 756175)
-- Name: tf_audit_message_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_audit_message_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_audit_message_id_seq OWNER TO gazelle;

--
-- TOC entry 343 (class 1259 OID 753673)
-- Name: tf_document; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_document (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    document_dateofpublication timestamp without time zone,
    md5_hash_code character varying(255) NOT NULL,
    document_lifecyclestatus integer,
    document_linkstatus integer,
    document_linkstatusdescription character varying(255),
    document_name character varying(255) NOT NULL,
    document_revision character varying(255),
    document_title character varying(255),
    document_type integer NOT NULL,
    document_url character varying(255) NOT NULL,
    document_volume character varying(255),
    document_domain_id integer NOT NULL
);


ALTER TABLE public.tf_document OWNER TO gazelle;

--
-- TOC entry 344 (class 1259 OID 753682)
-- Name: tf_document_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_document_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    document_dateofpublication timestamp without time zone,
    md5_hash_code character varying(255),
    document_lifecyclestatus integer,
    document_linkstatus integer,
    document_linkstatusdescription character varying(255),
    document_name character varying(255),
    document_revision character varying(255),
    document_title character varying(255),
    document_type integer,
    document_url character varying(255),
    document_volume character varying(255),
    document_domain_id integer
);


ALTER TABLE public.tf_document_aud OWNER TO gazelle;

--
-- TOC entry 446 (class 1259 OID 756177)
-- Name: tf_document_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_document_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_document_id_seq OWNER TO gazelle;

--
-- TOC entry 345 (class 1259 OID 753690)
-- Name: tf_document_sections; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_document_sections (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    section character varying(255),
    type integer,
    document_id integer
);


ALTER TABLE public.tf_document_sections OWNER TO gazelle;

--
-- TOC entry 346 (class 1259 OID 753698)
-- Name: tf_document_sections_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_document_sections_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    section character varying(255),
    type integer,
    document_id integer
);


ALTER TABLE public.tf_document_sections_aud OWNER TO gazelle;

--
-- TOC entry 447 (class 1259 OID 756179)
-- Name: tf_document_sections_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_document_sections_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_document_sections_id_seq OWNER TO gazelle;

--
-- TOC entry 201 (class 1259 OID 752597)
-- Name: tf_domain; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_domain (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(2048),
    keyword character varying(128) NOT NULL,
    name character varying(128) NOT NULL
);


ALTER TABLE public.tf_domain OWNER TO gazelle;

--
-- TOC entry 202 (class 1259 OID 752605)
-- Name: tf_domain_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_domain_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(2048),
    keyword character varying(128),
    name character varying(128)
);


ALTER TABLE public.tf_domain_aud OWNER TO gazelle;

--
-- TOC entry 448 (class 1259 OID 756181)
-- Name: tf_domain_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_domain_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_domain_id_seq OWNER TO gazelle;

--
-- TOC entry 203 (class 1259 OID 752613)
-- Name: tf_domain_profile; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_domain_profile (
    domain_id integer NOT NULL,
    integration_profile_id integer NOT NULL
);


ALTER TABLE public.tf_domain_profile OWNER TO gazelle;

--
-- TOC entry 347 (class 1259 OID 753703)
-- Name: tf_domain_profile_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_domain_profile_aud (
    rev integer NOT NULL,
    domain_id integer NOT NULL,
    integration_profile_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tf_domain_profile_aud OWNER TO gazelle;

--
-- TOC entry 204 (class 1259 OID 752618)
-- Name: tf_hl7_message_profile; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_hl7_message_profile (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    hl7_version character varying(255) NOT NULL,
    message_order_control_code character varying(8),
    message_type character varying(15) NOT NULL,
    profile_content character varying(255),
    profile_oid character varying(64) NOT NULL,
    profile_type character varying(255),
    actor_id integer,
    domain_id integer,
    transaction_id integer
);


ALTER TABLE public.tf_hl7_message_profile OWNER TO gazelle;

--
-- TOC entry 348 (class 1259 OID 753708)
-- Name: tf_hl7_message_profile_affinity_domain; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_hl7_message_profile_affinity_domain (
    hl7_message_profile_id integer NOT NULL,
    affinity_domain_id integer NOT NULL
);


ALTER TABLE public.tf_hl7_message_profile_affinity_domain OWNER TO gazelle;

--
-- TOC entry 349 (class 1259 OID 753711)
-- Name: tf_hl7_message_profile_affinity_domain_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_hl7_message_profile_affinity_domain_aud (
    rev integer NOT NULL,
    hl7_message_profile_id integer NOT NULL,
    affinity_domain_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tf_hl7_message_profile_affinity_domain_aud OWNER TO gazelle;

--
-- TOC entry 205 (class 1259 OID 752626)
-- Name: tf_hl7_message_profile_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_hl7_message_profile_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    hl7_version character varying(255),
    message_order_control_code character varying(8),
    message_type character varying(15),
    profile_content character varying(255),
    profile_oid character varying(64),
    profile_type character varying(255),
    actor_id integer,
    domain_id integer,
    transaction_id integer
);


ALTER TABLE public.tf_hl7_message_profile_aud OWNER TO gazelle;

--
-- TOC entry 449 (class 1259 OID 756183)
-- Name: tf_hl7_message_profile_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_hl7_message_profile_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_hl7_message_profile_id_seq OWNER TO gazelle;

--
-- TOC entry 206 (class 1259 OID 752634)
-- Name: tf_integration_profile; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(2048),
    keyword character varying(32) NOT NULL,
    name character varying(128),
    documentsection integer,
    integration_profile_status_type_id integer
);


ALTER TABLE public.tf_integration_profile OWNER TO gazelle;

--
-- TOC entry 207 (class 1259 OID 752642)
-- Name: tf_integration_profile_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(2048),
    keyword character varying(32),
    name character varying(128),
    documentsection integer,
    integration_profile_status_type_id integer
);


ALTER TABLE public.tf_integration_profile_aud OWNER TO gazelle;

--
-- TOC entry 450 (class 1259 OID 756185)
-- Name: tf_integration_profile_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_integration_profile_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_integration_profile_id_seq OWNER TO gazelle;

--
-- TOC entry 208 (class 1259 OID 752650)
-- Name: tf_integration_profile_option; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_option (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(2048),
    keyword character varying(128) NOT NULL,
    name character varying(128),
    reference character varying(255)
);


ALTER TABLE public.tf_integration_profile_option OWNER TO gazelle;

--
-- TOC entry 209 (class 1259 OID 752658)
-- Name: tf_integration_profile_option_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_option_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(2048),
    keyword character varying(128),
    name character varying(128),
    reference character varying(255)
);


ALTER TABLE public.tf_integration_profile_option_aud OWNER TO gazelle;

--
-- TOC entry 451 (class 1259 OID 756187)
-- Name: tf_integration_profile_option_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_integration_profile_option_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_integration_profile_option_id_seq OWNER TO gazelle;

--
-- TOC entry 210 (class 1259 OID 752666)
-- Name: tf_integration_profile_status_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_status_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(2048),
    keyword character varying(128) NOT NULL,
    name character varying(128)
);


ALTER TABLE public.tf_integration_profile_status_type OWNER TO gazelle;

--
-- TOC entry 211 (class 1259 OID 752674)
-- Name: tf_integration_profile_status_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_status_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(2048),
    keyword character varying(128),
    name character varying(128)
);


ALTER TABLE public.tf_integration_profile_status_type_aud OWNER TO gazelle;

--
-- TOC entry 452 (class 1259 OID 756189)
-- Name: tf_integration_profile_status_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_integration_profile_status_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_integration_profile_status_type_id_seq OWNER TO gazelle;

--
-- TOC entry 212 (class 1259 OID 752682)
-- Name: tf_integration_profile_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(2048),
    keyword character varying(128) NOT NULL,
    name character varying(128)
);


ALTER TABLE public.tf_integration_profile_type OWNER TO gazelle;

--
-- TOC entry 213 (class 1259 OID 752690)
-- Name: tf_integration_profile_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(2048),
    keyword character varying(128),
    name character varying(128)
);


ALTER TABLE public.tf_integration_profile_type_aud OWNER TO gazelle;

--
-- TOC entry 453 (class 1259 OID 756191)
-- Name: tf_integration_profile_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_integration_profile_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_integration_profile_type_id_seq OWNER TO gazelle;

--
-- TOC entry 350 (class 1259 OID 753716)
-- Name: tf_integration_profile_type_link; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_type_link (
    integration_profile_type_id integer NOT NULL,
    integration_profile_id integer NOT NULL
);


ALTER TABLE public.tf_integration_profile_type_link OWNER TO gazelle;

--
-- TOC entry 351 (class 1259 OID 753719)
-- Name: tf_integration_profile_type_link_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_integration_profile_type_link_aud (
    rev integer NOT NULL,
    integration_profile_id integer NOT NULL,
    integration_profile_type_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tf_integration_profile_type_link_aud OWNER TO gazelle;

--
-- TOC entry 214 (class 1259 OID 752698)
-- Name: tf_profile_link; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_profile_link (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    actor_integration_profile_id integer,
    transaction_id integer,
    transaction_option_type_id integer
);


ALTER TABLE public.tf_profile_link OWNER TO gazelle;

--
-- TOC entry 215 (class 1259 OID 752703)
-- Name: tf_profile_link_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_profile_link_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    actor_integration_profile_id integer,
    transaction_id integer,
    transaction_option_type_id integer
);


ALTER TABLE public.tf_profile_link_aud OWNER TO gazelle;

--
-- TOC entry 454 (class 1259 OID 756193)
-- Name: tf_profile_link_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_profile_link_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_profile_link_id_seq OWNER TO gazelle;

--
-- TOC entry 216 (class 1259 OID 752708)
-- Name: tf_rule; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_rule (
    id integer NOT NULL,
    comment character varying(1024),
    cause_id integer,
    consequence_id integer
);


ALTER TABLE public.tf_rule OWNER TO gazelle;

--
-- TOC entry 217 (class 1259 OID 752716)
-- Name: tf_rule_criterion; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_rule_criterion (
    dtype character varying(31) NOT NULL,
    id integer NOT NULL,
    list_or boolean,
    single_actor_id integer,
    aiporule_id integer,
    single_integration_profile_id integer,
    single_option_id integer
);


ALTER TABLE public.tf_rule_criterion OWNER TO gazelle;

--
-- TOC entry 455 (class 1259 OID 756195)
-- Name: tf_rule_criterion_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_rule_criterion_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_rule_criterion_id_seq OWNER TO gazelle;

--
-- TOC entry 456 (class 1259 OID 756197)
-- Name: tf_rule_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_rule_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_rule_id_seq OWNER TO gazelle;

--
-- TOC entry 352 (class 1259 OID 753724)
-- Name: tf_rule_list_criterion; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_rule_list_criterion (
    tf_rule_criterion_id integer NOT NULL,
    aipocriterions_id integer NOT NULL,
    tf_rule_list_criterion_id integer NOT NULL
);


ALTER TABLE public.tf_rule_list_criterion OWNER TO gazelle;

--
-- TOC entry 218 (class 1259 OID 752721)
-- Name: tf_standard; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_standard (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    keyword character varying(255),
    name text,
    network_communication_type integer,
    url text,
    version character varying(255)
);


ALTER TABLE public.tf_standard OWNER TO gazelle;

--
-- TOC entry 219 (class 1259 OID 752729)
-- Name: tf_standard_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_standard_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    keyword character varying(255),
    name text,
    network_communication_type integer,
    url text,
    version character varying(255)
);


ALTER TABLE public.tf_standard_aud OWNER TO gazelle;

--
-- TOC entry 457 (class 1259 OID 756199)
-- Name: tf_standard_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_standard_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_standard_id_seq OWNER TO gazelle;

--
-- TOC entry 220 (class 1259 OID 752737)
-- Name: tf_transaction; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(2048),
    keyword character varying(128) NOT NULL,
    name character varying(128),
    reference character varying(2048),
    documentsection integer,
    transaction_status_type_id integer
);


ALTER TABLE public.tf_transaction OWNER TO gazelle;

--
-- TOC entry 221 (class 1259 OID 752745)
-- Name: tf_transaction_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(2048),
    keyword character varying(128),
    name character varying(128),
    reference character varying(2048),
    documentsection integer,
    transaction_status_type_id integer
);


ALTER TABLE public.tf_transaction_aud OWNER TO gazelle;

--
-- TOC entry 458 (class 1259 OID 756201)
-- Name: tf_transaction_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_transaction_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_transaction_id_seq OWNER TO gazelle;

--
-- TOC entry 222 (class 1259 OID 752753)
-- Name: tf_transaction_link; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_link (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    from_actor_id integer,
    to_actor_id integer,
    transaction_id integer
);


ALTER TABLE public.tf_transaction_link OWNER TO gazelle;

--
-- TOC entry 223 (class 1259 OID 752758)
-- Name: tf_transaction_link_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_link_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    from_actor_id integer,
    to_actor_id integer,
    transaction_id integer
);


ALTER TABLE public.tf_transaction_link_aud OWNER TO gazelle;

--
-- TOC entry 459 (class 1259 OID 756203)
-- Name: tf_transaction_link_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_transaction_link_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_transaction_link_id_seq OWNER TO gazelle;

--
-- TOC entry 224 (class 1259 OID 752763)
-- Name: tf_transaction_option_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_option_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(2048),
    keyword character varying(128) NOT NULL,
    name character varying(128)
);


ALTER TABLE public.tf_transaction_option_type OWNER TO gazelle;

--
-- TOC entry 225 (class 1259 OID 752771)
-- Name: tf_transaction_option_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_option_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(2048),
    keyword character varying(128),
    name character varying(128)
);


ALTER TABLE public.tf_transaction_option_type_aud OWNER TO gazelle;

--
-- TOC entry 460 (class 1259 OID 756205)
-- Name: tf_transaction_option_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_transaction_option_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_transaction_option_type_id_seq OWNER TO gazelle;

--
-- TOC entry 353 (class 1259 OID 753729)
-- Name: tf_transaction_standard; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_standard (
    transaction_id integer NOT NULL,
    standard_id integer NOT NULL
);


ALTER TABLE public.tf_transaction_standard OWNER TO gazelle;

--
-- TOC entry 354 (class 1259 OID 753732)
-- Name: tf_transaction_standard_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_standard_aud (
    rev integer NOT NULL,
    transaction_id integer NOT NULL,
    standard_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tf_transaction_standard_aud OWNER TO gazelle;

--
-- TOC entry 226 (class 1259 OID 752779)
-- Name: tf_transaction_status_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_status_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(32) NOT NULL,
    name character varying(64) NOT NULL
);


ALTER TABLE public.tf_transaction_status_type OWNER TO gazelle;

--
-- TOC entry 227 (class 1259 OID 752787)
-- Name: tf_transaction_status_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_transaction_status_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(32),
    name character varying(64)
);


ALTER TABLE public.tf_transaction_status_type_aud OWNER TO gazelle;

--
-- TOC entry 461 (class 1259 OID 756207)
-- Name: tf_transaction_status_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_transaction_status_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_transaction_status_type_id_seq OWNER TO gazelle;

--
-- TOC entry 228 (class 1259 OID 752792)
-- Name: tf_ws_transaction_usage; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_ws_transaction_usage (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    usage character varying(255),
    transaction_id integer NOT NULL
);


ALTER TABLE public.tf_ws_transaction_usage OWNER TO gazelle;

--
-- TOC entry 229 (class 1259 OID 752800)
-- Name: tf_ws_transaction_usage_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tf_ws_transaction_usage_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    usage character varying(255),
    transaction_id integer
);


ALTER TABLE public.tf_ws_transaction_usage_aud OWNER TO gazelle;

--
-- TOC entry 462 (class 1259 OID 756209)
-- Name: tf_ws_transaction_usage_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tf_ws_transaction_usage_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tf_ws_transaction_usage_id_seq OWNER TO gazelle;

--
-- TOC entry 230 (class 1259 OID 752805)
-- Name: tm_abstract_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_abstract_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL
);


ALTER TABLE public.tm_abstract_configuration OWNER TO gazelle;

--
-- TOC entry 355 (class 1259 OID 753737)
-- Name: tm_annotation; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_annotation (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    value character varying(500)
);


ALTER TABLE public.tm_annotation OWNER TO gazelle;

--
-- TOC entry 463 (class 1259 OID 756211)
-- Name: tm_annotation_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_annotation_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_annotation_id_seq OWNER TO gazelle;

--
-- TOC entry 356 (class 1259 OID 753745)
-- Name: tm_conf_mapping_w_aipo_w_conftypes; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_conf_mapping_w_aipo_w_conftypes (
    tm_conf_mapped_id integer NOT NULL,
    tm_conftypes_id integer NOT NULL
);


ALTER TABLE public.tm_conf_mapping_w_aipo_w_conftypes OWNER TO gazelle;

--
-- TOC entry 357 (class 1259 OID 753748)
-- Name: tm_conf_mapping_w_aipo_w_conftypes_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_conf_mapping_w_aipo_w_conftypes_aud (
    rev integer NOT NULL,
    tm_conf_mapped_id integer NOT NULL,
    tm_conftypes_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_conf_mapping_w_aipo_w_conftypes_aud OWNER TO gazelle;

--
-- TOC entry 231 (class 1259 OID 752813)
-- Name: tm_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment character varying(255),
    approved boolean NOT NULL,
    is_secured boolean,
    actor_id integer,
    configurationtype_id integer NOT NULL,
    host_id integer,
    system_in_session_id integer
);


ALTER TABLE public.tm_configuration OWNER TO gazelle;

--
-- TOC entry 464 (class 1259 OID 756213)
-- Name: tm_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_configuration_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_configuration_id_seq OWNER TO gazelle;

--
-- TOC entry 232 (class 1259 OID 752821)
-- Name: tm_configuration_mapped_with_aipo; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_configuration_mapped_with_aipo (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    aipo_id integer NOT NULL
);


ALTER TABLE public.tm_configuration_mapped_with_aipo OWNER TO gazelle;

--
-- TOC entry 233 (class 1259 OID 752826)
-- Name: tm_configuration_mapped_with_aipo_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_configuration_mapped_with_aipo_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    aipo_id integer
);


ALTER TABLE public.tm_configuration_mapped_with_aipo_aud OWNER TO gazelle;

--
-- TOC entry 465 (class 1259 OID 756215)
-- Name: tm_configuration_mapped_with_aipo_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_configuration_mapped_with_aipo_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_configuration_mapped_with_aipo_id_seq OWNER TO gazelle;

--
-- TOC entry 234 (class 1259 OID 752831)
-- Name: tm_configuration_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_configuration_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    category character varying(255),
    class_name character varying(255),
    type_name character varying(255),
    used_for_proxy boolean
);


ALTER TABLE public.tm_configuration_type OWNER TO gazelle;

--
-- TOC entry 235 (class 1259 OID 752839)
-- Name: tm_configuration_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_configuration_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    category character varying(255),
    class_name character varying(255),
    type_name character varying(255),
    used_for_proxy boolean
);


ALTER TABLE public.tm_configuration_type_aud OWNER TO gazelle;

--
-- TOC entry 466 (class 1259 OID 756217)
-- Name: tm_configuration_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_configuration_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_configuration_type_id_seq OWNER TO gazelle;

--
-- TOC entry 236 (class 1259 OID 752847)
-- Name: tm_conftype_w_ports_wstype_and_sop_class; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_conftype_w_ports_wstype_and_sop_class (
    id integer NOT NULL,
    comment character varying(255),
    port_non_secure integer,
    port_secure integer,
    configurationtype_id integer NOT NULL,
    sop_class_id integer,
    transport_layer_id integer,
    web_service_type_id integer,
    ws_transaction_usage_id integer,
    CONSTRAINT tm_conftype_w_ports_wstype_and_sop_class_port_non_secure_check CHECK (((port_non_secure >= 80) AND (port_non_secure <= 65535))),
    CONSTRAINT tm_conftype_w_ports_wstype_and_sop_class_port_secure_check CHECK (((port_secure <= 65535) AND (port_secure >= 1024)))
);


ALTER TABLE public.tm_conftype_w_ports_wstype_and_sop_class OWNER TO gazelle;

--
-- TOC entry 237 (class 1259 OID 752854)
-- Name: tm_conftype_w_ports_wstype_and_sop_class_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_conftype_w_ports_wstype_and_sop_class_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    comment character varying(255),
    port_non_secure integer,
    port_secure integer,
    configurationtype_id integer,
    sop_class_id integer,
    transport_layer_id integer,
    web_service_type_id integer,
    ws_transaction_usage_id integer
);


ALTER TABLE public.tm_conftype_w_ports_wstype_and_sop_class_aud OWNER TO gazelle;

--
-- TOC entry 467 (class 1259 OID 756219)
-- Name: tm_conftype_w_ports_wstype_and_sop_class_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_conftype_w_ports_wstype_and_sop_class_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_conftype_w_ports_wstype_and_sop_class_id_seq OWNER TO gazelle;

--
-- TOC entry 238 (class 1259 OID 752859)
-- Name: tm_connectathon_participant; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_connectathon_participant (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    email character varying(255) NOT NULL,
    firstname character varying(128) NOT NULL,
    friday_meal boolean,
    institution_name character varying(255),
    institution_id bytea,
    lastname character varying(128) NOT NULL,
    monday_meal boolean,
    social_event boolean,
    thursday_meal boolean,
    tuesday_meal boolean,
    vegetarian_meal boolean,
    wednesday_meal boolean,
    status_id integer NOT NULL,
    institution_ok_id integer,
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_connectathon_participant OWNER TO gazelle;

--
-- TOC entry 468 (class 1259 OID 756221)
-- Name: tm_connectathon_participant_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_connectathon_participant_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_connectathon_participant_id_seq OWNER TO gazelle;

--
-- TOC entry 239 (class 1259 OID 752867)
-- Name: tm_connectathon_participant_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_connectathon_participant_status (
    id integer NOT NULL,
    description character varying(255),
    name character varying(255) NOT NULL
);


ALTER TABLE public.tm_connectathon_participant_status OWNER TO gazelle;

--
-- TOC entry 469 (class 1259 OID 756223)
-- Name: tm_connectathon_participant_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_connectathon_participant_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_connectathon_participant_status_id_seq OWNER TO gazelle;

--
-- TOC entry 240 (class 1259 OID 752875)
-- Name: tm_contextual_information; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_contextual_information (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    label character varying(255) NOT NULL,
    value character varying(255),
    path_id integer NOT NULL
);


ALTER TABLE public.tm_contextual_information OWNER TO gazelle;

--
-- TOC entry 241 (class 1259 OID 752883)
-- Name: tm_contextual_information_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_contextual_information_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    label character varying(255),
    value character varying(255),
    path_id integer
);


ALTER TABLE public.tm_contextual_information_aud OWNER TO gazelle;

--
-- TOC entry 470 (class 1259 OID 756225)
-- Name: tm_contextual_information_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_contextual_information_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_contextual_information_id_seq OWNER TO gazelle;

--
-- TOC entry 242 (class 1259 OID 752891)
-- Name: tm_contextual_information_instance; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_contextual_information_instance (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    value character varying(255),
    contextual_information integer NOT NULL
);


ALTER TABLE public.tm_contextual_information_instance OWNER TO gazelle;

--
-- TOC entry 471 (class 1259 OID 756227)
-- Name: tm_contextual_information_instance_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_contextual_information_instance_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_contextual_information_instance_id_seq OWNER TO gazelle;

--
-- TOC entry 243 (class 1259 OID 752899)
-- Name: tm_data_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_data_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255) NOT NULL
);


ALTER TABLE public.tm_data_type OWNER TO gazelle;

--
-- TOC entry 472 (class 1259 OID 756229)
-- Name: tm_data_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_data_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_data_type_id_seq OWNER TO gazelle;

--
-- TOC entry 244 (class 1259 OID 752907)
-- Name: tm_demonstration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_demonstration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    is_active boolean,
    beginning_date timestamp without time zone,
    description character varying(1024),
    ending_date timestamp without time zone,
    name character varying(255) NOT NULL,
    url character varying(255),
    country character varying(2)
);


ALTER TABLE public.tm_demonstration OWNER TO gazelle;

--
-- TOC entry 473 (class 1259 OID 756231)
-- Name: tm_demonstration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_demonstration_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_demonstration_id_seq OWNER TO gazelle;

--
-- TOC entry 245 (class 1259 OID 752915)
-- Name: tm_demonstration_system_in_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_demonstration_system_in_session (
    demonstration_id integer NOT NULL,
    system_in_session_id integer NOT NULL
);


ALTER TABLE public.tm_demonstration_system_in_session OWNER TO gazelle;

--
-- TOC entry 358 (class 1259 OID 753753)
-- Name: tm_demonstrations_in_testing_sessions; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_demonstrations_in_testing_sessions (
    demonstration_id integer NOT NULL,
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_demonstrations_in_testing_sessions OWNER TO gazelle;

--
-- TOC entry 246 (class 1259 OID 752920)
-- Name: tm_dicom_scp_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_dicom_scp_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    ae_title character varying(16) NOT NULL,
    modality_type character varying(255),
    port integer,
    port_proxy integer,
    port_secure integer,
    transfer_role character varying(255) NOT NULL,
    sop_class_id integer NOT NULL,
    CONSTRAINT tm_dicom_scp_configuration_port_check CHECK (((port <= 65635) AND (port >= 0))),
    CONSTRAINT tm_dicom_scp_configuration_port_proxy_check CHECK (((port_proxy >= 0) AND (port_proxy <= 65635))),
    CONSTRAINT tm_dicom_scp_configuration_port_secure_check CHECK (((port_secure >= 0) AND (port_secure <= 65635)))
);


ALTER TABLE public.tm_dicom_scp_configuration OWNER TO gazelle;

--
-- TOC entry 247 (class 1259 OID 752931)
-- Name: tm_dicom_scu_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_dicom_scu_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    ae_title character varying(16) NOT NULL,
    modality_type character varying(255),
    port integer,
    port_proxy integer,
    port_secure integer,
    transfer_role character varying(255) NOT NULL,
    sop_class_id integer NOT NULL,
    CONSTRAINT tm_dicom_scu_configuration_port_check CHECK (((port <= 65635) AND (port >= 0))),
    CONSTRAINT tm_dicom_scu_configuration_port_proxy_check CHECK (((port_proxy >= 0) AND (port_proxy <= 65635))),
    CONSTRAINT tm_dicom_scu_configuration_port_secure_check CHECK (((port_secure >= 0) AND (port_secure <= 65635)))
);


ALTER TABLE public.tm_dicom_scu_configuration OWNER TO gazelle;

--
-- TOC entry 359 (class 1259 OID 753756)
-- Name: tm_domains_in_testing_sessions; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_domains_in_testing_sessions (
    testing_session_id integer NOT NULL,
    domain_id integer NOT NULL
);


ALTER TABLE public.tm_domains_in_testing_sessions OWNER TO gazelle;

--
-- TOC entry 248 (class 1259 OID 752942)
-- Name: tm_generic_oids_institution_for_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_generic_oids_institution_for_session (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    current_oid_value integer NOT NULL,
    oid_for_session character varying(255) NOT NULL,
    oid_root_value character varying(255) NOT NULL,
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_generic_oids_institution_for_session OWNER TO gazelle;

--
-- TOC entry 474 (class 1259 OID 756233)
-- Name: tm_generic_oids_institution_for_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_generic_oids_institution_for_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_generic_oids_institution_for_session_id_seq OWNER TO gazelle;

--
-- TOC entry 249 (class 1259 OID 752950)
-- Name: tm_generic_oids_ip_config_param_for_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_generic_oids_ip_config_param_for_session (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    current_oid_value integer NOT NULL,
    oid_for_session character varying(255),
    oid_root_value character varying(255) NOT NULL,
    profile_for_id integer NOT NULL,
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_generic_oids_ip_config_param_for_session OWNER TO gazelle;

--
-- TOC entry 475 (class 1259 OID 756235)
-- Name: tm_generic_oids_ip_config_param_for_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_generic_oids_ip_config_param_for_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_generic_oids_ip_config_param_for_session_id_seq OWNER TO gazelle;

--
-- TOC entry 250 (class 1259 OID 752958)
-- Name: tm_hl7_initiator_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_hl7_initiator_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    assigning_authority character varying(255),
    ass_auth_oid character varying(255),
    sending_receiving_application character varying(255) NOT NULL,
    sending_receiving_facility character varying(255) NOT NULL
);


ALTER TABLE public.tm_hl7_initiator_configuration OWNER TO gazelle;

--
-- TOC entry 251 (class 1259 OID 752966)
-- Name: tm_hl7_responder_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_hl7_responder_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    assigning_authority character varying(255),
    ass_auth_oid character varying(255),
    sending_receiving_application character varying(255) NOT NULL,
    sending_receiving_facility character varying(255) NOT NULL,
    port integer,
    port_out integer,
    port_proxy integer,
    port_secure integer,
    CONSTRAINT tm_hl7_responder_configuration_port_check CHECK (((port >= 0) AND (port <= 65635))),
    CONSTRAINT tm_hl7_responder_configuration_port_out_check CHECK (((port_out <= 65635) AND (port_out >= 0))),
    CONSTRAINT tm_hl7_responder_configuration_port_proxy_check CHECK (((port_proxy >= 1024) AND (port_proxy <= 65635))),
    CONSTRAINT tm_hl7_responder_configuration_port_secure_check CHECK (((port_secure <= 65635) AND (port_secure >= 0)))
);


ALTER TABLE public.tm_hl7_responder_configuration OWNER TO gazelle;

--
-- TOC entry 252 (class 1259 OID 752978)
-- Name: tm_hl7_v3_initiator_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_hl7_v3_initiator_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    assigning_authority character varying(255),
    ass_auth_oid character varying(255),
    sending_receiving_application character varying(255) NOT NULL,
    sending_receiving_facility character varying(255) NOT NULL
);


ALTER TABLE public.tm_hl7_v3_initiator_configuration OWNER TO gazelle;

--
-- TOC entry 253 (class 1259 OID 752986)
-- Name: tm_hl7_v3_responder_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_hl7_v3_responder_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    assigning_authority character varying(255),
    ass_auth_oid character varying(255),
    sending_receiving_application character varying(255) NOT NULL,
    sending_receiving_facility character varying(255) NOT NULL,
    port integer,
    port_proxy integer,
    port_secured integer,
    url character varying(255) NOT NULL,
    usage character varying(255),
    ws_transaction_usage integer,
    CONSTRAINT tm_hl7_v3_responder_configuration_port_check CHECK (((port <= 65635) AND (port >= 0))),
    CONSTRAINT tm_hl7_v3_responder_configuration_port_proxy_check CHECK (((port_proxy >= 1024) AND (port_proxy <= 65635))),
    CONSTRAINT tm_hl7_v3_responder_configuration_port_secured_check CHECK (((port_secured >= 0) AND (port_secured <= 65635)))
);


ALTER TABLE public.tm_hl7_v3_responder_configuration OWNER TO gazelle;

--
-- TOC entry 254 (class 1259 OID 752997)
-- Name: tm_home; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_home (
    id integer NOT NULL,
    language character varying(255),
    main_panel_content text,
    main_panel_header text,
    secondary_panel_content text,
    secondary_panel_header text,
    secondary_panel_position character varying(255)
);


ALTER TABLE public.tm_home OWNER TO gazelle;

--
-- TOC entry 476 (class 1259 OID 756237)
-- Name: tm_home_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_home_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_home_id_seq OWNER TO gazelle;

--
-- TOC entry 255 (class 1259 OID 753005)
-- Name: tm_host; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_host (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    alias character varying(255),
    comment character varying(255),
    hostname character varying(255) NOT NULL,
    ignore_domain_name boolean,
    ip character varying(255),
    system_in_session_id integer
);


ALTER TABLE public.tm_host OWNER TO gazelle;

--
-- TOC entry 477 (class 1259 OID 756239)
-- Name: tm_host_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_host_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_host_id_seq OWNER TO gazelle;

--
-- TOC entry 256 (class 1259 OID 753013)
-- Name: tm_institution_system; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_institution_system (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment character varying(255),
    institution_id integer,
    system_id integer
);


ALTER TABLE public.tm_institution_system OWNER TO gazelle;

--
-- TOC entry 478 (class 1259 OID 756241)
-- Name: tm_institution_system_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_institution_system_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_institution_system_id_seq OWNER TO gazelle;

--
-- TOC entry 257 (class 1259 OID 753021)
-- Name: tm_invoice; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_invoice (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    admin_invoice_notes text,
    contract_out_of_date boolean,
    contract_received boolean,
    contract_received_date date,
    fees_amount numeric(19,2),
    fees_discount numeric(19,2),
    fees_due numeric(19,2),
    fees_paid numeric(19,2),
    invoice_generation_date timestamp without time zone,
    invoice_number integer,
    invoice_paid boolean,
    invoice_payment_date timestamp without time zone,
    invoice_path character varying(255),
    invoice_sent boolean,
    invoice_sent_date date,
    last_contract_generation bigint,
    note character varying(255),
    number_extra_participant integer,
    number_participant integer,
    number_system integer,
    purchase_order character varying(255),
    reasons_for_discount character varying(255),
    special_instructions text,
    vat_amount numeric(19,2),
    vat_due boolean,
    vat_number character varying(255),
    vat_validity boolean,
    currency character varying(12),
    institution_id integer NOT NULL,
    testing_session_id integer NOT NULL,
    vat_country character varying(2),
    CONSTRAINT tm_invoice_fees_discount_check CHECK ((fees_discount >= (0)::numeric))
);


ALTER TABLE public.tm_invoice OWNER TO gazelle;

--
-- TOC entry 479 (class 1259 OID 756243)
-- Name: tm_invoice_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_invoice_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_invoice_id_seq OWNER TO gazelle;

--
-- TOC entry 258 (class 1259 OID 753030)
-- Name: tm_jira_issues_to_test; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_jira_issues_to_test (
    id integer NOT NULL,
    jira_key character varying(255),
    jira_status character varying(255),
    jira_summary character varying(255),
    test_id integer
);


ALTER TABLE public.tm_jira_issues_to_test OWNER TO gazelle;

--
-- TOC entry 259 (class 1259 OID 753038)
-- Name: tm_jira_issues_to_test_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_jira_issues_to_test_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    jira_key character varying(255),
    jira_status character varying(255),
    jira_summary character varying(255),
    test_id integer
);


ALTER TABLE public.tm_jira_issues_to_test_aud OWNER TO gazelle;

--
-- TOC entry 480 (class 1259 OID 756245)
-- Name: tm_jira_issues_to_test_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_jira_issues_to_test_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_jira_issues_to_test_id_seq OWNER TO gazelle;

--
-- TOC entry 260 (class 1259 OID 753046)
-- Name: tm_meta_test; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_meta_test (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    short_description character varying(512) NOT NULL,
    keyword character varying(64) NOT NULL
);


ALTER TABLE public.tm_meta_test OWNER TO gazelle;

--
-- TOC entry 261 (class 1259 OID 753054)
-- Name: tm_meta_test_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_meta_test_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    short_description character varying(512),
    keyword character varying(64)
);


ALTER TABLE public.tm_meta_test_aud OWNER TO gazelle;

--
-- TOC entry 481 (class 1259 OID 756247)
-- Name: tm_meta_test_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_meta_test_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_meta_test_id_seq OWNER TO gazelle;

--
-- TOC entry 360 (class 1259 OID 753759)
-- Name: tm_meta_test_test_roles; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_meta_test_test_roles (
    meta_test_id integer,
    test_roles_id integer NOT NULL
);


ALTER TABLE public.tm_meta_test_test_roles OWNER TO gazelle;

--
-- TOC entry 361 (class 1259 OID 753764)
-- Name: tm_meta_test_test_roles_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_meta_test_test_roles_aud (
    rev integer NOT NULL,
    meta_test_id integer NOT NULL,
    test_roles_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_meta_test_test_roles_aud OWNER TO gazelle;

--
-- TOC entry 262 (class 1259 OID 753062)
-- Name: tm_monitor_in_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_monitor_in_session (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    is_activated boolean,
    testing_session_id integer,
    user_id integer
);


ALTER TABLE public.tm_monitor_in_session OWNER TO gazelle;

--
-- TOC entry 482 (class 1259 OID 756249)
-- Name: tm_monitor_in_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_monitor_in_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_monitor_in_session_id_seq OWNER TO gazelle;

--
-- TOC entry 263 (class 1259 OID 753067)
-- Name: tm_monitor_test; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_monitor_test (
    monitor_id integer NOT NULL,
    test_id integer NOT NULL
);


ALTER TABLE public.tm_monitor_test OWNER TO gazelle;

--
-- TOC entry 264 (class 1259 OID 753072)
-- Name: tm_network_config_for_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_network_config_for_session (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    dns_header character varying(20000),
    domain_name character varying(255),
    host_header character varying(20000),
    dns_address character varying(255) NOT NULL,
    ip_range_high character varying(255) NOT NULL,
    ip_range_low character varying(255) NOT NULL,
    reverse_header character varying(20000),
    subnet_mask character varying(255) NOT NULL,
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_network_config_for_session OWNER TO gazelle;

--
-- TOC entry 483 (class 1259 OID 756251)
-- Name: tm_network_config_for_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_network_config_for_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_network_config_for_session_id_seq OWNER TO gazelle;

--
-- TOC entry 362 (class 1259 OID 753769)
-- Name: tm_object_attribute; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_attribute (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255) NOT NULL,
    object_id integer NOT NULL
);


ALTER TABLE public.tm_object_attribute OWNER TO gazelle;

--
-- TOC entry 363 (class 1259 OID 753777)
-- Name: tm_object_attribute_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_attribute_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    object_id integer
);


ALTER TABLE public.tm_object_attribute_aud OWNER TO gazelle;

--
-- TOC entry 484 (class 1259 OID 756253)
-- Name: tm_object_attribute_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_attribute_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_attribute_id_seq OWNER TO gazelle;

--
-- TOC entry 364 (class 1259 OID 753785)
-- Name: tm_object_attribute_option; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_attribute_option (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255) NOT NULL,
    keyword character varying(255) NOT NULL,
    attribue_id integer NOT NULL
);


ALTER TABLE public.tm_object_attribute_option OWNER TO gazelle;

--
-- TOC entry 365 (class 1259 OID 753793)
-- Name: tm_object_attribute_option_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_attribute_option_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    attribue_id integer
);


ALTER TABLE public.tm_object_attribute_option_aud OWNER TO gazelle;

--
-- TOC entry 485 (class 1259 OID 756255)
-- Name: tm_object_attribute_option_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_attribute_option_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_attribute_option_id_seq OWNER TO gazelle;

--
-- TOC entry 366 (class 1259 OID 753801)
-- Name: tm_object_creator; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_creator (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    aipo_id integer NOT NULL,
    object_id integer NOT NULL
);


ALTER TABLE public.tm_object_creator OWNER TO gazelle;

--
-- TOC entry 367 (class 1259 OID 753809)
-- Name: tm_object_creator_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_creator_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    aipo_id integer,
    object_id integer
);


ALTER TABLE public.tm_object_creator_aud OWNER TO gazelle;

--
-- TOC entry 486 (class 1259 OID 756257)
-- Name: tm_object_creator_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_creator_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_creator_id_seq OWNER TO gazelle;

--
-- TOC entry 368 (class 1259 OID 753814)
-- Name: tm_object_file; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_file (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    max integer,
    min integer,
    uploader character varying(255),
    object_id integer NOT NULL,
    type_id integer NOT NULL
);


ALTER TABLE public.tm_object_file OWNER TO gazelle;

--
-- TOC entry 369 (class 1259 OID 753822)
-- Name: tm_object_file_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_file_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    max integer,
    min integer,
    uploader character varying(255),
    object_id integer,
    type_id integer
);


ALTER TABLE public.tm_object_file_aud OWNER TO gazelle;

--
-- TOC entry 487 (class 1259 OID 756259)
-- Name: tm_object_file_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_file_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_file_id_seq OWNER TO gazelle;

--
-- TOC entry 370 (class 1259 OID 753830)
-- Name: tm_object_file_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_file_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    extensions character varying(255),
    keyword character varying(255) NOT NULL,
    validate boolean,
    writable boolean
);


ALTER TABLE public.tm_object_file_type OWNER TO gazelle;

--
-- TOC entry 371 (class 1259 OID 753838)
-- Name: tm_object_file_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_file_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    extensions character varying(255),
    keyword character varying(255),
    validate boolean,
    writable boolean
);


ALTER TABLE public.tm_object_file_type_aud OWNER TO gazelle;

--
-- TOC entry 488 (class 1259 OID 756261)
-- Name: tm_object_file_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_file_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_file_type_id_seq OWNER TO gazelle;

--
-- TOC entry 372 (class 1259 OID 753846)
-- Name: tm_object_instance; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_instance (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    completed boolean,
    description text,
    name character varying(250),
    object_id integer NOT NULL,
    test_type_id integer,
    system_in_session_id integer NOT NULL,
    validation_id integer
);


ALTER TABLE public.tm_object_instance OWNER TO gazelle;

--
-- TOC entry 373 (class 1259 OID 753854)
-- Name: tm_object_instance_annotation; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_instance_annotation (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    annotation_id integer NOT NULL,
    object_instance_id integer NOT NULL
);


ALTER TABLE public.tm_object_instance_annotation OWNER TO gazelle;

--
-- TOC entry 489 (class 1259 OID 756263)
-- Name: tm_object_instance_annotation_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_instance_annotation_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_instance_annotation_id_seq OWNER TO gazelle;

--
-- TOC entry 374 (class 1259 OID 753859)
-- Name: tm_object_instance_attribute; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_instance_attribute (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    attribute_id integer NOT NULL,
    instance_id integer NOT NULL
);


ALTER TABLE public.tm_object_instance_attribute OWNER TO gazelle;

--
-- TOC entry 490 (class 1259 OID 756265)
-- Name: tm_object_instance_attribute_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_instance_attribute_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_instance_attribute_id_seq OWNER TO gazelle;

--
-- TOC entry 375 (class 1259 OID 753867)
-- Name: tm_object_instance_file; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_instance_file (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    result_oid bytea,
    url character varying(255),
    file_id integer NOT NULL,
    instance_id integer NOT NULL,
    system_in_session_id integer
);


ALTER TABLE public.tm_object_instance_file OWNER TO gazelle;

--
-- TOC entry 491 (class 1259 OID 756267)
-- Name: tm_object_instance_file_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_instance_file_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_instance_file_id_seq OWNER TO gazelle;

--
-- TOC entry 492 (class 1259 OID 756269)
-- Name: tm_object_instance_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_instance_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_instance_id_seq OWNER TO gazelle;

--
-- TOC entry 376 (class 1259 OID 753875)
-- Name: tm_object_instance_validation; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_instance_validation (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    value character varying(255) NOT NULL
);


ALTER TABLE public.tm_object_instance_validation OWNER TO gazelle;

--
-- TOC entry 377 (class 1259 OID 753883)
-- Name: tm_object_instance_validation_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_instance_validation_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    value character varying(255)
);


ALTER TABLE public.tm_object_instance_validation_aud OWNER TO gazelle;

--
-- TOC entry 493 (class 1259 OID 756271)
-- Name: tm_object_instance_validation_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_instance_validation_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_instance_validation_id_seq OWNER TO gazelle;

--
-- TOC entry 378 (class 1259 OID 753891)
-- Name: tm_object_reader; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_reader (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    aipo_id integer NOT NULL,
    object_id integer NOT NULL
);


ALTER TABLE public.tm_object_reader OWNER TO gazelle;

--
-- TOC entry 379 (class 1259 OID 753899)
-- Name: tm_object_reader_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_reader_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    aipo_id integer,
    object_id integer
);


ALTER TABLE public.tm_object_reader_aud OWNER TO gazelle;

--
-- TOC entry 494 (class 1259 OID 756273)
-- Name: tm_object_reader_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_reader_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_reader_id_seq OWNER TO gazelle;

--
-- TOC entry 380 (class 1259 OID 753904)
-- Name: tm_object_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    default_desc character varying(500),
    description character varying(250),
    instructions text,
    keyword character varying(250) NOT NULL,
    object_type_status_id integer
);


ALTER TABLE public.tm_object_type OWNER TO gazelle;

--
-- TOC entry 381 (class 1259 OID 753912)
-- Name: tm_object_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    default_desc character varying(500),
    description character varying(250),
    instructions text,
    keyword character varying(250),
    object_type_status_id integer
);


ALTER TABLE public.tm_object_type_aud OWNER TO gazelle;

--
-- TOC entry 495 (class 1259 OID 756275)
-- Name: tm_object_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_type_id_seq OWNER TO gazelle;

--
-- TOC entry 265 (class 1259 OID 753080)
-- Name: tm_object_type_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_type_status (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_object_type_status OWNER TO gazelle;

--
-- TOC entry 266 (class 1259 OID 753088)
-- Name: tm_object_type_status_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_object_type_status_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_object_type_status_aud OWNER TO gazelle;

--
-- TOC entry 496 (class 1259 OID 756277)
-- Name: tm_object_type_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_object_type_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_object_type_status_id_seq OWNER TO gazelle;

--
-- TOC entry 267 (class 1259 OID 753093)
-- Name: tm_oid_institution; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_oid_institution (
    id integer NOT NULL,
    oid character varying(255),
    institution_id integer,
    testing_session_id integer
);


ALTER TABLE public.tm_oid_institution OWNER TO gazelle;

--
-- TOC entry 497 (class 1259 OID 756279)
-- Name: tm_oid_institution_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_oid_institution_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_oid_institution_id_seq OWNER TO gazelle;

--
-- TOC entry 382 (class 1259 OID 753920)
-- Name: tm_oid_requirement; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_oid_requirement (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    label character varying(255),
    prefix character varying(255),
    oid_root_definition_id integer
);


ALTER TABLE public.tm_oid_requirement OWNER TO gazelle;

--
-- TOC entry 383 (class 1259 OID 753928)
-- Name: tm_oid_requirement_aipo; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_oid_requirement_aipo (
    oid_requirement_id integer NOT NULL,
    aipo_id integer NOT NULL
);


ALTER TABLE public.tm_oid_requirement_aipo OWNER TO gazelle;

--
-- TOC entry 498 (class 1259 OID 756281)
-- Name: tm_oid_requirement_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_oid_requirement_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_oid_requirement_id_seq OWNER TO gazelle;

--
-- TOC entry 384 (class 1259 OID 753931)
-- Name: tm_oid_root_definition; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_oid_root_definition (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment character varying(255),
    last_value integer,
    root_oid character varying(255)
);


ALTER TABLE public.tm_oid_root_definition OWNER TO gazelle;

--
-- TOC entry 499 (class 1259 OID 756283)
-- Name: tm_oid_root_definition_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_oid_root_definition_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_oid_root_definition_id_seq OWNER TO gazelle;

--
-- TOC entry 385 (class 1259 OID 753939)
-- Name: tm_oid_system_assignment; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_oid_system_assignment (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment character varying(255),
    oid_value character varying(255),
    oid_requirement_id integer,
    system_in_session_id integer
);


ALTER TABLE public.tm_oid_system_assignment OWNER TO gazelle;

--
-- TOC entry 500 (class 1259 OID 756285)
-- Name: tm_oid_system_assignment_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_oid_system_assignment_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_oid_system_assignment_id_seq OWNER TO gazelle;

--
-- TOC entry 268 (class 1259 OID 753098)
-- Name: tm_oids_ip_config_param_for_session_for_hl7; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_oids_ip_config_param_for_session_for_hl7 (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    current_id_for_oid_hl7_v2 integer NOT NULL,
    current_id_for_oid_hl7_v3 integer NOT NULL,
    oid_for_hl7_v2 character varying(255),
    oid_for_hl7_v3 character varying(255),
    oid_for_session character varying(255),
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_oids_ip_config_param_for_session_for_hl7 OWNER TO gazelle;

--
-- TOC entry 501 (class 1259 OID 756287)
-- Name: tm_oids_ip_config_param_for_session_for_hl7_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_oids_ip_config_param_for_session_for_hl7_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_oids_ip_config_param_for_session_for_hl7_id_seq OWNER TO gazelle;

--
-- TOC entry 269 (class 1259 OID 753106)
-- Name: tm_path; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_path (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255) NOT NULL,
    keyword character varying(255) NOT NULL,
    type character varying(255)
);


ALTER TABLE public.tm_path OWNER TO gazelle;

--
-- TOC entry 270 (class 1259 OID 753114)
-- Name: tm_path_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_path_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    type character varying(255)
);


ALTER TABLE public.tm_path_aud OWNER TO gazelle;

--
-- TOC entry 502 (class 1259 OID 756289)
-- Name: tm_path_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_path_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_path_id_seq OWNER TO gazelle;

--
-- TOC entry 271 (class 1259 OID 753122)
-- Name: tm_patient; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_patient (
    id integer NOT NULL,
    alternate_first_name character varying(255),
    alternate_last_name character varying(255),
    alternate_mothers_maiden_name character varying(255),
    alternate_second_name character varying(255),
    alternate_third_name character varying(255),
    character_set character varying(255),
    city character varying(255),
    country_code character varying(255),
    creation_date timestamp without time zone,
    date_of_birth timestamp without time zone,
    first_name character varying(255),
    gender_code character varying(255),
    last_name character varying(255),
    mother_maiden_name character varying(255),
    race_code character varying(255),
    religion_code character varying(255),
    second_name character varying(255),
    state character varying(255),
    street character varying(255),
    third_name character varying(255),
    zip_code character varying(255),
    creator_id character varying(255),
    date_of_death timestamp without time zone,
    editable boolean,
    derived_from integer,
    test_keyword character varying(255)
);


ALTER TABLE public.tm_patient OWNER TO gazelle;

--
-- TOC entry 386 (class 1259 OID 753947)
-- Name: tm_patient_assigning_authority_sis; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_patient_assigning_authority_sis (
    patient_assigning_authority_id integer NOT NULL,
    system_in_session_id integer NOT NULL
);


ALTER TABLE public.tm_patient_assigning_authority_sis OWNER TO gazelle;

--
-- TOC entry 272 (class 1259 OID 753130)
-- Name: tm_patient_assigning_autority; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_patient_assigning_autority (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    global boolean,
    keyword character varying(255) NOT NULL,
    name character varying(255),
    root_oid character varying(255),
    testing_session_id integer
);


ALTER TABLE public.tm_patient_assigning_autority OWNER TO gazelle;

--
-- TOC entry 503 (class 1259 OID 756291)
-- Name: tm_patient_assigning_autority_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_patient_assigning_autority_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_patient_assigning_autority_id_seq OWNER TO gazelle;

--
-- TOC entry 504 (class 1259 OID 756293)
-- Name: tm_patient_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_patient_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_patient_id_seq OWNER TO gazelle;

--
-- TOC entry 273 (class 1259 OID 753138)
-- Name: tm_patient_identifier; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_patient_identifier (
    id integer NOT NULL,
    identifier character varying(255),
    type_code character varying(255),
    ass_auth_id integer NOT NULL
);


ALTER TABLE public.tm_patient_identifier OWNER TO gazelle;

--
-- TOC entry 505 (class 1259 OID 756295)
-- Name: tm_patient_identifier_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_patient_identifier_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_patient_identifier_id_seq OWNER TO gazelle;

--
-- TOC entry 387 (class 1259 OID 753950)
-- Name: tm_patient_patient_identifier; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_patient_patient_identifier (
    patient_id integer,
    identifier_id integer NOT NULL
);


ALTER TABLE public.tm_patient_patient_identifier OWNER TO gazelle;

--
-- TOC entry 388 (class 1259 OID 753955)
-- Name: tm_profiles_in_testing_sessions; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_profiles_in_testing_sessions (
    testing_session_id integer NOT NULL,
    integration_profile_id integer NOT NULL
);


ALTER TABLE public.tm_profiles_in_testing_sessions OWNER TO gazelle;

--
-- TOC entry 274 (class 1259 OID 753146)
-- Name: tm_proxy_configuration_for_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_proxy_configuration_for_session (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    ip_for_class character varying(255) NOT NULL,
    port_range_high integer,
    port_range_low integer,
    configurationtype_id integer,
    testing_session_id integer NOT NULL,
    CONSTRAINT tm_proxy_configuration_for_session_port_range_high_check CHECK (((port_range_high <= 65634) AND (port_range_high >= 1024))),
    CONSTRAINT tm_proxy_configuration_for_session_port_range_low_check CHECK (((port_range_low <= 65634) AND (port_range_low >= 1024)))
);


ALTER TABLE public.tm_proxy_configuration_for_session OWNER TO gazelle;

--
-- TOC entry 506 (class 1259 OID 756297)
-- Name: tm_proxy_configuration_for_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_proxy_configuration_for_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_proxy_configuration_for_session_id_seq OWNER TO gazelle;

--
-- TOC entry 275 (class 1259 OID 753156)
-- Name: tm_role_in_test; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_role_in_test (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    is_role_played_by_a_tool boolean,
    keyword character varying(255)
);


ALTER TABLE public.tm_role_in_test OWNER TO gazelle;

--
-- TOC entry 276 (class 1259 OID 753164)
-- Name: tm_role_in_test_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_role_in_test_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    is_role_played_by_a_tool boolean,
    keyword character varying(255)
);


ALTER TABLE public.tm_role_in_test_aud OWNER TO gazelle;

--
-- TOC entry 507 (class 1259 OID 756299)
-- Name: tm_role_in_test_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_role_in_test_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_role_in_test_id_seq OWNER TO gazelle;

--
-- TOC entry 389 (class 1259 OID 753958)
-- Name: tm_role_in_test_test_participants; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_role_in_test_test_participants (
    role_in_test_id integer NOT NULL,
    test_participants_id integer NOT NULL
);


ALTER TABLE public.tm_role_in_test_test_participants OWNER TO gazelle;

--
-- TOC entry 390 (class 1259 OID 753961)
-- Name: tm_role_in_test_test_participants_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_role_in_test_test_participants_aud (
    rev integer NOT NULL,
    role_in_test_id integer NOT NULL,
    test_participants_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_role_in_test_test_participants_aud OWNER TO gazelle;

--
-- TOC entry 277 (class 1259 OID 753169)
-- Name: tm_sap_result_tr_comment; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_sap_result_tr_comment (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment character varying(255),
    sap_id integer NOT NULL,
    tr_id integer NOT NULL
);


ALTER TABLE public.tm_sap_result_tr_comment OWNER TO gazelle;

--
-- TOC entry 508 (class 1259 OID 756301)
-- Name: tm_sap_result_tr_comment_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_sap_result_tr_comment_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_sap_result_tr_comment_seq OWNER TO gazelle;

--
-- TOC entry 278 (class 1259 OID 753177)
-- Name: tm_share_patient_logger; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_share_patient_logger (
    id integer NOT NULL,
    ack_code character varying(255),
    ack_content text,
    created_date timestamp without time zone,
    error boolean,
    hl7_version character varying(255),
    message_sent_content text,
    patient_id integer,
    system_in_session_keyword character varying(255),
    testing_session_description character varying(255)
);


ALTER TABLE public.tm_share_patient_logger OWNER TO gazelle;

--
-- TOC entry 509 (class 1259 OID 756303)
-- Name: tm_share_patient_logger_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_share_patient_logger_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_share_patient_logger_id_seq OWNER TO gazelle;

--
-- TOC entry 279 (class 1259 OID 753185)
-- Name: tm_sop_class; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_sop_class (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    keyword character varying(255) NOT NULL,
    name character varying(255)
);


ALTER TABLE public.tm_sop_class OWNER TO gazelle;

--
-- TOC entry 280 (class 1259 OID 753193)
-- Name: tm_sop_class_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_sop_class_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    keyword character varying(255),
    name character varying(255)
);


ALTER TABLE public.tm_sop_class_aud OWNER TO gazelle;

--
-- TOC entry 510 (class 1259 OID 756305)
-- Name: tm_sop_class_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_sop_class_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_sop_class_id_seq OWNER TO gazelle;

--
-- TOC entry 281 (class 1259 OID 753201)
-- Name: tm_status_results; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_status_results (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_status_results OWNER TO gazelle;

--
-- TOC entry 511 (class 1259 OID 756307)
-- Name: tm_status_results_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_status_results_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_status_results_id_seq OWNER TO gazelle;

--
-- TOC entry 282 (class 1259 OID 753209)
-- Name: tm_step_inst_msg_process_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_step_inst_msg_process_status (
    id integer NOT NULL,
    description character varying(1024) NOT NULL,
    key character varying(255) NOT NULL,
    label_key_for_display character varying(45) NOT NULL
);


ALTER TABLE public.tm_step_inst_msg_process_status OWNER TO gazelle;

--
-- TOC entry 512 (class 1259 OID 756309)
-- Name: tm_step_inst_msg_process_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_step_inst_msg_process_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_step_inst_msg_process_status_id_seq OWNER TO gazelle;

--
-- TOC entry 283 (class 1259 OID 753217)
-- Name: tm_step_instance_exec_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_step_instance_exec_status (
    id integer NOT NULL,
    description character varying(1024) NOT NULL,
    key character varying(255) NOT NULL,
    label_key_for_display character varying(45) NOT NULL
);


ALTER TABLE public.tm_step_instance_exec_status OWNER TO gazelle;

--
-- TOC entry 513 (class 1259 OID 756311)
-- Name: tm_step_instance_exec_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_step_instance_exec_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_step_instance_exec_status_id_seq OWNER TO gazelle;

--
-- TOC entry 391 (class 1259 OID 753966)
-- Name: tm_step_instance_message; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_step_instance_message (
    id integer NOT NULL,
    connection_id integer,
    direction integer,
    error_message character varying(255),
    last_changed timestamp without time zone,
    message_contents bytea,
    proxy_host_name character varying(255),
    proxy_msg_id integer,
    proxy_port integer,
    message_type_recieved character varying(255),
    receiver_port integer,
    sender_port integer,
    process_status_id integer,
    proxy_type_id integer,
    receiver_host_id integer,
    receiver_institution_id integer,
    receiver_system_id integer,
    receiver_tm_configuration_id integer,
    relates_to integer,
    sender_host_id integer,
    sender_institution_id integer,
    sender_system_id integer,
    sender_tm_configuration_id integer,
    tm_test_step_instance_id integer,
    tm_test_step_message_profile_id integer
);


ALTER TABLE public.tm_step_instance_message OWNER TO gazelle;

--
-- TOC entry 514 (class 1259 OID 756313)
-- Name: tm_step_instance_message_sequence; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_step_instance_message_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_step_instance_message_sequence OWNER TO gazelle;

--
-- TOC entry 392 (class 1259 OID 753974)
-- Name: tm_step_instance_msg_validation; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_step_instance_msg_validation (
    id integer NOT NULL,
    last_changed timestamp without time zone,
    validation_report bytea,
    message_validation_service_id integer,
    tm_step_instance_message_id integer,
    validation_status_id integer
);


ALTER TABLE public.tm_step_instance_msg_validation OWNER TO gazelle;

--
-- TOC entry 515 (class 1259 OID 756315)
-- Name: tm_step_instance_msg_validation_sequence; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_step_instance_msg_validation_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_step_instance_msg_validation_sequence OWNER TO gazelle;

--
-- TOC entry 284 (class 1259 OID 753225)
-- Name: tm_subtypes_per_system; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_subtypes_per_system (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    system_id integer NOT NULL,
    system_subtypes_per_system_type_id integer NOT NULL
);


ALTER TABLE public.tm_subtypes_per_system OWNER TO gazelle;

--
-- TOC entry 285 (class 1259 OID 753230)
-- Name: tm_syslog_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_syslog_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    port integer,
    port_proxy integer,
    port_secured integer,
    protocol_version character varying(255),
    transport_layer_id integer NOT NULL,
    CONSTRAINT tm_syslog_configuration_port_check CHECK (((port <= 65635) AND (port >= 0))),
    CONSTRAINT tm_syslog_configuration_port_proxy_check CHECK (((port_proxy >= 0) AND (port_proxy <= 65635))),
    CONSTRAINT tm_syslog_configuration_port_secured_check CHECK (((port_secured <= 65635) AND (port_secured >= 0)))
);


ALTER TABLE public.tm_syslog_configuration OWNER TO gazelle;

--
-- TOC entry 286 (class 1259 OID 753241)
-- Name: tm_system; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system (
    dtype character varying(31) NOT NULL,
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    hl7_conformance_statement_url character varying(255),
    comment character varying(255),
    dicom_conformance_statement_url character varying(255),
    events_history character varying(92000),
    integration_statement_date timestamp without time zone,
    integration_statement_url character varying(255),
    is_dicom_system boolean,
    is_hl7_system boolean,
    is_tool boolean,
    keyword character varying(255),
    keyword_suffix character varying(60),
    name character varying(128) NOT NULL,
    integration_statement_generated_checksum character varying(255),
    integration_statement_validated_by_admin_checksum character varying(255),
    integration_statement_validated_by_admin_comment character varying(4096),
    counter_crawler_jobs_with_unmatching_hashcode integer,
    counter_crawler_jobs_with_unreachable_url integer,
    publication_request_date timestamp without time zone,
    integration_statement_generated_date timestamp without time zone,
    integration_statement_validated_by_admin_date timestamp without time zone,
    integration_statement_validated_last_time timestamp without time zone,
    is_email_sent_because_unmatching_hashcode boolean,
    is_email_sent_because_unreachable_url boolean,
    integration_statement_status integer,
    version character varying(255) NOT NULL,
    url character varying(255),
    owner_user_id integer NOT NULL,
    system_type_id integer
);


ALTER TABLE public.tm_system OWNER TO gazelle;

--
-- TOC entry 287 (class 1259 OID 753249)
-- Name: tm_system_actor_profiles; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system_actor_profiles (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    testing_type_reviewed boolean,
    actor_integration_profile_option_id integer,
    system_id integer,
    testing_type_id integer,
    wanted_testing_type_id integer
);


ALTER TABLE public.tm_system_actor_profiles OWNER TO gazelle;

--
-- TOC entry 516 (class 1259 OID 756317)
-- Name: tm_system_actor_profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_system_actor_profiles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_system_actor_profiles_id_seq OWNER TO gazelle;

--
-- TOC entry 288 (class 1259 OID 753254)
-- Name: tm_system_aipo_result_for_a_testing_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system_aipo_result_for_a_testing_session (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment character varying(255),
    enabled boolean,
    htmlcountfailed text,
    htmlcountprogress text,
    htmlcountverified text,
    htmlcountwaiting text,
    indicatorfailed integer,
    indicatorprogress integer,
    indicatorverified integer,
    indicatorwaiting integer,
    testrolescounto integer,
    testrolescountr integer,
    status_id integer,
    system_actor_profile_id integer NOT NULL,
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_system_aipo_result_for_a_testing_session OWNER TO gazelle;

--
-- TOC entry 517 (class 1259 OID 756319)
-- Name: tm_system_aipo_result_for_a_testing_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_system_aipo_result_for_a_testing_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_system_aipo_result_for_a_testing_session_id_seq OWNER TO gazelle;

--
-- TOC entry 289 (class 1259 OID 753262)
-- Name: tm_system_event; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system_event (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment text,
    eventdate timestamp without time zone,
    type integer,
    username character varying(255)
);


ALTER TABLE public.tm_system_event OWNER TO gazelle;

--
-- TOC entry 518 (class 1259 OID 756321)
-- Name: tm_system_event_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_system_event_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_system_event_id_seq OWNER TO gazelle;

--
-- TOC entry 393 (class 1259 OID 753982)
-- Name: tm_system_events; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system_events (
    tm_system_id integer NOT NULL,
    systemevents_id integer NOT NULL
);


ALTER TABLE public.tm_system_events OWNER TO gazelle;

--
-- TOC entry 519 (class 1259 OID 756323)
-- Name: tm_system_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_system_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_system_id_seq OWNER TO gazelle;

--
-- TOC entry 290 (class 1259 OID 753270)
-- Name: tm_system_in_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system_in_session (
    dtype character varying(31) NOT NULL,
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    accepted_to_session boolean NOT NULL,
    ampere real,
    blog character varying(255),
    extra_ip_address integer,
    is_conf_stat_provided boolean,
    is_copy boolean,
    is_ihe_is_provided boolean,
    is_ihe_is_required boolean,
    noteslist bytea,
    power integer,
    registration_status integer,
    skype character varying(255),
    storage_volume real,
    table_label character varying(255),
    voltage integer,
    comment character varying(255),
    person_servicing integer,
    system_id integer,
    system_in_session_status_id integer,
    table_session_id integer,
    testing_session_id integer
);


ALTER TABLE public.tm_system_in_session OWNER TO gazelle;

--
-- TOC entry 520 (class 1259 OID 756325)
-- Name: tm_system_in_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_system_in_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_system_in_session_id_seq OWNER TO gazelle;

--
-- TOC entry 291 (class 1259 OID 753278)
-- Name: tm_system_in_session_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system_in_session_status (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_system_in_session_status OWNER TO gazelle;

--
-- TOC entry 521 (class 1259 OID 756327)
-- Name: tm_system_in_session_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_system_in_session_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_system_in_session_status_id_seq OWNER TO gazelle;

--
-- TOC entry 292 (class 1259 OID 753286)
-- Name: tm_system_in_session_user; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_system_in_session_user (
    id integer NOT NULL,
    system_in_session_id integer,
    user_id integer
);


ALTER TABLE public.tm_system_in_session_user OWNER TO gazelle;

--
-- TOC entry 522 (class 1259 OID 756329)
-- Name: tm_system_in_session_user_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_system_in_session_user_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_system_in_session_user_id_seq OWNER TO gazelle;

--
-- TOC entry 293 (class 1259 OID 753291)
-- Name: tm_test; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    author character varying(255),
    auto_complete boolean,
    child_node_update timestamp with time zone,
    keyword character varying(64) NOT NULL,
    last_validator_id character varying(255),
    name character varying(255) NOT NULL,
    orchestrable boolean,
    short_description character varying(512) NOT NULL,
    validated boolean,
    version character varying(255),
    test_peer_type_id integer,
    test_status_id integer,
    test_type_id integer NOT NULL
);


ALTER TABLE public.tm_test OWNER TO gazelle;

--
-- TOC entry 294 (class 1259 OID 753299)
-- Name: tm_test_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    author character varying(255),
    child_node_update timestamp with time zone,
    keyword character varying(64),
    name character varying(255),
    orchestrable boolean,
    short_description character varying(512),
    validated boolean,
    version character varying(255),
    test_peer_type_id integer,
    test_status_id integer,
    test_type_id integer
);


ALTER TABLE public.tm_test_aud OWNER TO gazelle;

--
-- TOC entry 297 (class 1259 OID 753324)
-- Name: tm_test_description; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_description (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description text NOT NULL,
    gazelle_language_id integer NOT NULL
);


ALTER TABLE public.tm_test_description OWNER TO gazelle;

--
-- TOC entry 298 (class 1259 OID 753332)
-- Name: tm_test_description_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_description_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description text,
    gazelle_language_id integer
);


ALTER TABLE public.tm_test_description_aud OWNER TO gazelle;

--
-- TOC entry 524 (class 1259 OID 756333)
-- Name: tm_test_description_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_description_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_description_id_seq OWNER TO gazelle;

--
-- TOC entry 525 (class 1259 OID 756335)
-- Name: tm_test_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_id_seq OWNER TO gazelle;

--
-- TOC entry 299 (class 1259 OID 753340)
-- Name: tm_test_instance; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    bpel_server_id character varying(255),
    comments text,
    description text,
    last_status_id integer,
    proxy_used boolean,
    test_version integer,
    execution_status_id integer,
    monitor_id integer,
    test_id integer,
    testing_session_id integer NOT NULL
);


ALTER TABLE public.tm_test_instance OWNER TO gazelle;

--
-- TOC entry 300 (class 1259 OID 753348)
-- Name: tm_test_instance_event; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_event (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment text,
    date_of_event timestamp without time zone,
    description text,
    filename text,
    status_id integer,
    type integer,
    username character varying(250)
);


ALTER TABLE public.tm_test_instance_event OWNER TO gazelle;

--
-- TOC entry 526 (class 1259 OID 756337)
-- Name: tm_test_instance_event_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_instance_event_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_instance_event_id_seq OWNER TO gazelle;

--
-- TOC entry 301 (class 1259 OID 753356)
-- Name: tm_test_instance_exec_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_exec_status (
    id integer NOT NULL,
    description character varying(1024) NOT NULL,
    key character varying(255) NOT NULL,
    label_key_for_display character varying(45) NOT NULL
);


ALTER TABLE public.tm_test_instance_exec_status OWNER TO gazelle;

--
-- TOC entry 527 (class 1259 OID 756339)
-- Name: tm_test_instance_exec_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_instance_exec_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_instance_exec_status_id_seq OWNER TO gazelle;

--
-- TOC entry 528 (class 1259 OID 756341)
-- Name: tm_test_instance_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_instance_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_instance_id_seq OWNER TO gazelle;

--
-- TOC entry 302 (class 1259 OID 753364)
-- Name: tm_test_instance_participants; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_participants (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    actor_integration_profile_option_id integer,
    role_in_test_id integer,
    status_id integer,
    system_in_session_user_id integer,
    test_instance_id integer
);


ALTER TABLE public.tm_test_instance_participants OWNER TO gazelle;

--
-- TOC entry 529 (class 1259 OID 756343)
-- Name: tm_test_instance_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_instance_participants_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_instance_participants_id_seq OWNER TO gazelle;

--
-- TOC entry 303 (class 1259 OID 753369)
-- Name: tm_test_instance_participants_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_participants_status (
    id integer NOT NULL,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_instance_participants_status OWNER TO gazelle;

--
-- TOC entry 530 (class 1259 OID 756345)
-- Name: tm_test_instance_participants_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_instance_participants_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_instance_participants_status_id_seq OWNER TO gazelle;

--
-- TOC entry 304 (class 1259 OID 753377)
-- Name: tm_test_instance_path_to_log_file; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_path_to_log_file (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    filename character varying(255),
    path character varying(255) NOT NULL,
    type character varying(255) NOT NULL,
    withoutfilename boolean
);


ALTER TABLE public.tm_test_instance_path_to_log_file OWNER TO gazelle;

--
-- TOC entry 531 (class 1259 OID 756347)
-- Name: tm_test_instance_path_to_log_file_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_instance_path_to_log_file_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_instance_path_to_log_file_id_seq OWNER TO gazelle;

--
-- TOC entry 394 (class 1259 OID 753985)
-- Name: tm_test_instance_test_instance_path_to_log_file; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_test_instance_path_to_log_file (
    test_instance_id integer NOT NULL,
    test_instance_path_id integer NOT NULL
);


ALTER TABLE public.tm_test_instance_test_instance_path_to_log_file OWNER TO gazelle;

--
-- TOC entry 395 (class 1259 OID 753988)
-- Name: tm_test_instance_test_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_test_status (
    test_instance_id integer NOT NULL,
    status_id integer NOT NULL
);


ALTER TABLE public.tm_test_instance_test_status OWNER TO gazelle;

--
-- TOC entry 396 (class 1259 OID 753991)
-- Name: tm_test_instance_test_steps_instance; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_test_steps_instance (
    test_instance_id integer,
    test_steps_instance_id integer NOT NULL
);


ALTER TABLE public.tm_test_instance_test_steps_instance OWNER TO gazelle;

--
-- TOC entry 397 (class 1259 OID 753996)
-- Name: tm_test_instance_tm_test_steps_data; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_instance_tm_test_steps_data (
    tm_test_instance_id integer NOT NULL,
    teststepsdatalist_id integer NOT NULL
);


ALTER TABLE public.tm_test_instance_tm_test_steps_data OWNER TO gazelle;

--
-- TOC entry 305 (class 1259 OID 753385)
-- Name: tm_test_option; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_option (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    available boolean,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_option OWNER TO gazelle;

--
-- TOC entry 306 (class 1259 OID 753393)
-- Name: tm_test_option_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_option_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    available boolean,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_option_aud OWNER TO gazelle;

--
-- TOC entry 532 (class 1259 OID 756349)
-- Name: tm_test_option_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_option_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_option_id_seq OWNER TO gazelle;

--
-- TOC entry 307 (class 1259 OID 753401)
-- Name: tm_test_participants; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_participants (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    is_tested boolean NOT NULL,
    actor_integration_profile_option_id integer NOT NULL
);


ALTER TABLE public.tm_test_participants OWNER TO gazelle;

--
-- TOC entry 308 (class 1259 OID 753406)
-- Name: tm_test_participants_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_participants_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    is_tested boolean,
    actor_integration_profile_option_id integer
);


ALTER TABLE public.tm_test_participants_aud OWNER TO gazelle;

--
-- TOC entry 533 (class 1259 OID 756351)
-- Name: tm_test_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_participants_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_participants_id_seq OWNER TO gazelle;

--
-- TOC entry 309 (class 1259 OID 753411)
-- Name: tm_test_peer_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_peer_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_peer_type OWNER TO gazelle;

--
-- TOC entry 310 (class 1259 OID 753419)
-- Name: tm_test_peer_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_peer_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_peer_type_aud OWNER TO gazelle;

--
-- TOC entry 534 (class 1259 OID 756353)
-- Name: tm_test_peer_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_peer_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_peer_type_id_seq OWNER TO gazelle;

--
-- TOC entry 295 (class 1259 OID 753307)
-- Name: tm_test_roles; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_roles (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    card_max integer,
    card_min integer,
    number_of_tests_to_realize integer,
    url character varying(255),
    url_doc character varying(255),
    role_in_test_id integer,
    test_id integer NOT NULL,
    test_option_id integer NOT NULL,
    CONSTRAINT tm_test_roles_number_of_tests_to_realize_check CHECK ((number_of_tests_to_realize >= 1))
);


ALTER TABLE public.tm_test_roles OWNER TO gazelle;

--
-- TOC entry 296 (class 1259 OID 753316)
-- Name: tm_test_roles_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_roles_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    card_max integer,
    card_min integer,
    number_of_tests_to_realize integer,
    url character varying(255),
    url_doc character varying(255),
    role_in_test_id integer,
    test_id integer,
    test_option_id integer
);


ALTER TABLE public.tm_test_roles_aud OWNER TO gazelle;

--
-- TOC entry 523 (class 1259 OID 756331)
-- Name: tm_test_roles_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_roles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_roles_id_seq OWNER TO gazelle;

--
-- TOC entry 311 (class 1259 OID 753427)
-- Name: tm_test_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_status (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_status OWNER TO gazelle;

--
-- TOC entry 312 (class 1259 OID 753435)
-- Name: tm_test_status_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_status_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_status_aud OWNER TO gazelle;

--
-- TOC entry 535 (class 1259 OID 756355)
-- Name: tm_test_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_status_id_seq OWNER TO gazelle;

--
-- TOC entry 398 (class 1259 OID 753999)
-- Name: tm_test_step_message_profile; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_step_message_profile (
    id integer NOT NULL,
    auto_validate smallint,
    direction integer,
    example_msg_content character varying(2000000),
    example_msg_file_name character varying(255),
    validation_context_content character varying(2000000),
    validation_context_file_name character varying(255),
    tf_hl7_message_profile_id integer,
    tm_test_steps_id integer
);


ALTER TABLE public.tm_test_step_message_profile OWNER TO gazelle;

--
-- TOC entry 536 (class 1259 OID 756357)
-- Name: tm_test_step_message_profile_sequence; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_step_message_profile_sequence
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_step_message_profile_sequence OWNER TO gazelle;

--
-- TOC entry 313 (class 1259 OID 753443)
-- Name: tm_test_steps; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    auto_complete boolean,
    auto_triggered boolean,
    description character varying(1024) NOT NULL,
    expected_message_count integer,
    hl7_version character varying(255),
    message_type character varying(255),
    responder_message_type character varying(255),
    secured boolean,
    step_index integer NOT NULL,
    test_roles_initiator_id integer NOT NULL,
    test_roles_responder_id integer,
    test_steps_option_id integer,
    transaction_id integer,
    ws_transaction_usage_id integer
);


ALTER TABLE public.tm_test_steps OWNER TO gazelle;

--
-- TOC entry 314 (class 1259 OID 753451)
-- Name: tm_test_steps_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(1024),
    message_type character varying(255),
    secured boolean,
    step_index integer,
    test_roles_initiator_id integer,
    test_roles_responder_id integer,
    test_steps_option_id integer,
    transaction_id integer,
    ws_transaction_usage_id integer
);


ALTER TABLE public.tm_test_steps_aud OWNER TO gazelle;

--
-- TOC entry 316 (class 1259 OID 753467)
-- Name: tm_test_steps_data; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_data (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment text,
    value text,
    withoutfilename boolean,
    data_type_id integer
);


ALTER TABLE public.tm_test_steps_data OWNER TO gazelle;

--
-- TOC entry 538 (class 1259 OID 756361)
-- Name: tm_test_steps_data_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_steps_data_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_steps_data_id_seq OWNER TO gazelle;

--
-- TOC entry 539 (class 1259 OID 756363)
-- Name: tm_test_steps_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_steps_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_steps_id_seq OWNER TO gazelle;

--
-- TOC entry 399 (class 1259 OID 754007)
-- Name: tm_test_steps_input_ci; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_input_ci (
    test_steps_id integer NOT NULL,
    contextual_information_id integer NOT NULL
);


ALTER TABLE public.tm_test_steps_input_ci OWNER TO gazelle;

--
-- TOC entry 400 (class 1259 OID 754010)
-- Name: tm_test_steps_input_ci_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_input_ci_aud (
    rev integer NOT NULL,
    test_steps_id integer NOT NULL,
    contextual_information_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_test_steps_input_ci_aud OWNER TO gazelle;

--
-- TOC entry 317 (class 1259 OID 753475)
-- Name: tm_test_steps_instance; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_instance (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments text,
    status_id integer,
    test_steps_version integer,
    execution_status_id integer,
    system_in_session_initiator_id integer NOT NULL,
    system_in_session_reponder_id integer,
    test_steps_id integer NOT NULL,
    test_steps_instance_status_id integer
);


ALTER TABLE public.tm_test_steps_instance OWNER TO gazelle;

--
-- TOC entry 540 (class 1259 OID 756365)
-- Name: tm_test_steps_instance_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_steps_instance_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_steps_instance_id_seq OWNER TO gazelle;

--
-- TOC entry 401 (class 1259 OID 754015)
-- Name: tm_test_steps_instance_input_ci_instance; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_instance_input_ci_instance (
    contextual_information_instance_id integer NOT NULL,
    test_steps_instance_id integer NOT NULL
);


ALTER TABLE public.tm_test_steps_instance_input_ci_instance OWNER TO gazelle;

--
-- TOC entry 402 (class 1259 OID 754018)
-- Name: tm_test_steps_instance_output_ci_instance; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_instance_output_ci_instance (
    test_steps_instance_id integer,
    contextual_information_instance_id integer NOT NULL
);


ALTER TABLE public.tm_test_steps_instance_output_ci_instance OWNER TO gazelle;

--
-- TOC entry 315 (class 1259 OID 753459)
-- Name: tm_test_steps_instance_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_instance_status (
    id integer NOT NULL,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_steps_instance_status OWNER TO gazelle;

--
-- TOC entry 537 (class 1259 OID 756359)
-- Name: tm_test_steps_instance_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_steps_instance_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_steps_instance_status_id_seq OWNER TO gazelle;

--
-- TOC entry 318 (class 1259 OID 753483)
-- Name: tm_test_steps_option; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_option (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_steps_option OWNER TO gazelle;

--
-- TOC entry 319 (class 1259 OID 753491)
-- Name: tm_test_steps_option_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_option_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_steps_option_aud OWNER TO gazelle;

--
-- TOC entry 541 (class 1259 OID 756367)
-- Name: tm_test_steps_option_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_steps_option_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_steps_option_id_seq OWNER TO gazelle;

--
-- TOC entry 403 (class 1259 OID 754023)
-- Name: tm_test_steps_output_ci; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_output_ci (
    test_steps_id integer,
    contextual_information_id integer NOT NULL
);


ALTER TABLE public.tm_test_steps_output_ci OWNER TO gazelle;

--
-- TOC entry 404 (class 1259 OID 754028)
-- Name: tm_test_steps_output_ci_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_output_ci_aud (
    rev integer NOT NULL,
    test_steps_id integer NOT NULL,
    contextual_information_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_test_steps_output_ci_aud OWNER TO gazelle;

--
-- TOC entry 405 (class 1259 OID 754033)
-- Name: tm_test_steps_test_steps_data; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_steps_test_steps_data (
    test_steps_id integer NOT NULL,
    test_steps_data_id integer NOT NULL
);


ALTER TABLE public.tm_test_steps_test_steps_data OWNER TO gazelle;

--
-- TOC entry 406 (class 1259 OID 754036)
-- Name: tm_test_test_description; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_test_description (
    test_id integer,
    test_description_id integer NOT NULL
);


ALTER TABLE public.tm_test_test_description OWNER TO gazelle;

--
-- TOC entry 407 (class 1259 OID 754041)
-- Name: tm_test_test_description_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_test_description_aud (
    rev integer NOT NULL,
    test_id integer NOT NULL,
    test_description_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_test_test_description_aud OWNER TO gazelle;

--
-- TOC entry 408 (class 1259 OID 754046)
-- Name: tm_test_test_steps; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_test_steps (
    test_id integer,
    test_steps_id integer NOT NULL
);


ALTER TABLE public.tm_test_test_steps OWNER TO gazelle;

--
-- TOC entry 409 (class 1259 OID 754051)
-- Name: tm_test_test_steps_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_test_steps_aud (
    rev integer NOT NULL,
    test_id integer NOT NULL,
    test_steps_id integer NOT NULL,
    revtype smallint
);


ALTER TABLE public.tm_test_test_steps_aud OWNER TO gazelle;

--
-- TOC entry 320 (class 1259 OID 753499)
-- Name: tm_test_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_type OWNER TO gazelle;

--
-- TOC entry 321 (class 1259 OID 753507)
-- Name: tm_test_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255),
    label_to_display character varying(255)
);


ALTER TABLE public.tm_test_type_aud OWNER TO gazelle;

--
-- TOC entry 542 (class 1259 OID 756369)
-- Name: tm_test_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_test_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_test_type_id_seq OWNER TO gazelle;

--
-- TOC entry 410 (class 1259 OID 754056)
-- Name: tm_test_types_sessions; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_types_sessions (
    testing_session_id integer NOT NULL,
    test_type_id integer NOT NULL
);


ALTER TABLE public.tm_test_types_sessions OWNER TO gazelle;

--
-- TOC entry 411 (class 1259 OID 754059)
-- Name: tm_test_user_comment; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_test_user_comment (
    test_id integer NOT NULL,
    user_comment_id integer NOT NULL
);


ALTER TABLE public.tm_test_user_comment OWNER TO gazelle;

--
-- TOC entry 322 (class 1259 OID 753515)
-- Name: tm_testing_session; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_testing_session (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    active boolean,
    allowparticipantregistration boolean,
    beginning_date timestamp without time zone,
    certificates_rul character varying(255),
    configuration_overview character varying(20000),
    contact_email character varying(255) NOT NULL,
    contact_firstname character varying(255) NOT NULL,
    contact_lastname character varying(255) NOT NULL,
    required_contract boolean,
    default_testing_session boolean,
    description character varying(255),
    disable_auto_results boolean,
    disable_patient_generation_and_sharing boolean,
    display_certificates_menu boolean,
    domain_fee numeric(19,2),
    enable_precat_tests boolean,
    ending_date timestamp without time zone,
    fee_additional_system numeric(19,2),
    fee_first_system numeric(19,2),
    fee_participant numeric(19,2),
    hidden boolean,
    internettesting boolean,
    invoice_payment_deadline_date timestamp without time zone,
    is_critical_status_enabled boolean,
    is_proxy_use_enabled boolean,
    iso3_vat_countries character varying(255),
    logo_link_url character varying(255),
    logo_url character varying(255),
    mailing_list_url character varying(255),
    ti_accessed_by_qr integer,
    ti_claimed_by_qr integer,
    ti_verified_on_smartphone integer,
    nb_participants_included_in_system_fees integer DEFAULT 2,
    next_invoice_number integer,
    order_in_gui integer,
    contract_template_path character varying(255),
    invoice_template_path character varying(255),
    registration_deadline_date timestamp without time zone NOT NULL,
    results_compute timestamp without time zone,
    session_closed boolean,
    target_color character varying(255),
    type character varying(255) NOT NULL,
    vat_percent numeric(19,2),
    wiki_url character varying(255),
    year integer,
    zone character varying(255) NOT NULL,
    address_id integer,
    currency_id character varying(12),
    networkconfiguration_id integer
);


ALTER TABLE public.tm_testing_session OWNER TO gazelle;

--
-- TOC entry 412 (class 1259 OID 754062)
-- Name: tm_testing_session_admin; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_testing_session_admin (
    testing_session_id integer NOT NULL,
    user_id integer NOT NULL
);


ALTER TABLE public.tm_testing_session_admin OWNER TO gazelle;

--
-- TOC entry 543 (class 1259 OID 756371)
-- Name: tm_testing_session_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_testing_session_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_testing_session_id_seq OWNER TO gazelle;

--
-- TOC entry 413 (class 1259 OID 754065)
-- Name: tm_testing_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_testing_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    image_url character varying(255),
    keyword character varying(255) NOT NULL,
    name character varying(128) NOT NULL
);


ALTER TABLE public.tm_testing_type OWNER TO gazelle;

--
-- TOC entry 544 (class 1259 OID 756373)
-- Name: tm_testing_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_testing_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_testing_type_id_seq OWNER TO gazelle;

--
-- TOC entry 323 (class 1259 OID 753524)
-- Name: tm_transport_layer_for_config; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_transport_layer_for_config (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    keyword character varying(255) NOT NULL,
    name character varying(255)
);


ALTER TABLE public.tm_transport_layer_for_config OWNER TO gazelle;

--
-- TOC entry 324 (class 1259 OID 753532)
-- Name: tm_transport_layer_for_config_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_transport_layer_for_config_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    keyword character varying(255),
    name character varying(255)
);


ALTER TABLE public.tm_transport_layer_for_config_aud OWNER TO gazelle;

--
-- TOC entry 545 (class 1259 OID 756375)
-- Name: tm_transport_layer_for_config_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_transport_layer_for_config_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_transport_layer_for_config_seq OWNER TO gazelle;

--
-- TOC entry 325 (class 1259 OID 753540)
-- Name: tm_user_comment; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_user_comment (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment_content text NOT NULL,
    creation_date timestamp without time zone,
    user_id character varying(255) NOT NULL
);


ALTER TABLE public.tm_user_comment OWNER TO gazelle;

--
-- TOC entry 546 (class 1259 OID 756377)
-- Name: tm_user_comment_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_user_comment_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_user_comment_id_seq OWNER TO gazelle;

--
-- TOC entry 414 (class 1259 OID 754073)
-- Name: tm_user_photo; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_user_photo (
    id integer NOT NULL,
    photo_bytes bytea
);


ALTER TABLE public.tm_user_photo OWNER TO gazelle;

--
-- TOC entry 547 (class 1259 OID 756379)
-- Name: tm_user_photo_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_user_photo_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_user_photo_id_seq OWNER TO gazelle;

--
-- TOC entry 326 (class 1259 OID 753548)
-- Name: tm_user_preferences; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_user_preferences (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    is_email_displayed boolean,
    is_tooltips_displayed boolean,
    number_of_results_per_page_id integer,
    connectathon_table character varying(255),
    show_sequence_diagram boolean,
    skype character varying(255),
    spoken_languages character varying(255),
    user_id integer NOT NULL,
    selected_testing_session_id integer,
    userphoto_id integer
);


ALTER TABLE public.tm_user_preferences OWNER TO gazelle;

--
-- TOC entry 548 (class 1259 OID 756381)
-- Name: tm_user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_user_preferences_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_user_preferences_id_seq OWNER TO gazelle;

--
-- TOC entry 327 (class 1259 OID 753556)
-- Name: tm_web_service_configuration; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_web_service_configuration (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comments character varying(255),
    configuration_id integer NOT NULL,
    assigning_authority character varying(255),
    ass_auth_oid character varying(255),
    port integer,
    port_proxy integer,
    port_secured integer,
    url character varying(255) NOT NULL,
    usage character varying(255),
    web_service_detail character varying(255),
    webservice_type integer,
    ws_transaction_usage integer,
    CONSTRAINT tm_web_service_configuration_port_check CHECK (((port >= 0) AND (port <= 65635))),
    CONSTRAINT tm_web_service_configuration_port_proxy_check CHECK (((port_proxy >= 1024) AND (port_proxy <= 65635))),
    CONSTRAINT tm_web_service_configuration_port_secured_check CHECK (((port_secured <= 65635) AND (port_secured >= 0)))
);


ALTER TABLE public.tm_web_service_configuration OWNER TO gazelle;

--
-- TOC entry 328 (class 1259 OID 753567)
-- Name: tm_web_service_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_web_service_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    needs_oid boolean,
    profile_id integer
);


ALTER TABLE public.tm_web_service_type OWNER TO gazelle;

--
-- TOC entry 329 (class 1259 OID 753575)
-- Name: tm_web_service_type_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE tm_web_service_type_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    needs_oid boolean,
    profile_id integer
);


ALTER TABLE public.tm_web_service_type_aud OWNER TO gazelle;

--
-- TOC entry 549 (class 1259 OID 756383)
-- Name: tm_web_service_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE tm_web_service_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tm_web_service_type_id_seq OWNER TO gazelle;

--
-- TOC entry 330 (class 1259 OID 753580)
-- Name: usr_address; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_address (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    address character varying(512),
    address_line_2 character varying(512) DEFAULT ''::character varying NOT NULL,
    address_type character varying(255),
    city character varying(255),
    fax character varying(64),
    phone character varying(64),
    state character varying(255),
    zip_code character varying(20),
    country character varying(2)
);


ALTER TABLE public.usr_address OWNER TO gazelle;

--
-- TOC entry 550 (class 1259 OID 756385)
-- Name: usr_address_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_address_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_address_id_seq OWNER TO gazelle;

--
-- TOC entry 331 (class 1259 OID 753589)
-- Name: usr_currency; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_currency (
    keyword character varying(12) NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    comment character varying(255),
    name character varying(255)
);


ALTER TABLE public.usr_currency OWNER TO gazelle;

--
-- TOC entry 332 (class 1259 OID 753597)
-- Name: usr_gazelle_language; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_gazelle_language (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255) NOT NULL,
    keyword character varying(255) NOT NULL
);


ALTER TABLE public.usr_gazelle_language OWNER TO gazelle;

--
-- TOC entry 333 (class 1259 OID 753605)
-- Name: usr_gazelle_language_aud; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_gazelle_language_aud (
    id integer NOT NULL,
    rev integer NOT NULL,
    revtype smallint,
    description character varying(255),
    keyword character varying(255)
);


ALTER TABLE public.usr_gazelle_language_aud OWNER TO gazelle;

--
-- TOC entry 551 (class 1259 OID 756387)
-- Name: usr_gazelle_language_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_gazelle_language_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_gazelle_language_id_seq OWNER TO gazelle;

--
-- TOC entry 334 (class 1259 OID 753614)
-- Name: usr_institution; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_institution (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    activated boolean,
    integration_statements_repository_url character varying(512),
    keyword character varying(16) NOT NULL,
    name character varying(255) NOT NULL,
    note character varying(1024),
    url character varying(512) NOT NULL,
    institution_type_id integer NOT NULL,
    mailing_address_id integer
);


ALTER TABLE public.usr_institution OWNER TO gazelle;

--
-- TOC entry 415 (class 1259 OID 754081)
-- Name: usr_institution_address; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_institution_address (
    institution_id integer NOT NULL,
    address_id integer NOT NULL
);


ALTER TABLE public.usr_institution_address OWNER TO gazelle;

--
-- TOC entry 552 (class 1259 OID 756389)
-- Name: usr_institution_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_institution_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_institution_id_seq OWNER TO gazelle;

--
-- TOC entry 335 (class 1259 OID 753622)
-- Name: usr_institution_type; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_institution_type (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(255),
    type character varying(32) NOT NULL
);


ALTER TABLE public.usr_institution_type OWNER TO gazelle;

--
-- TOC entry 553 (class 1259 OID 756391)
-- Name: usr_institution_type_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_institution_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_institution_type_id_seq OWNER TO gazelle;

--
-- TOC entry 336 (class 1259 OID 753630)
-- Name: usr_iso_3166_country_code; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_iso_3166_country_code (
    iso character varying(2) NOT NULL,
    ec boolean,
    flag_url character varying(255),
    iso3 character varying(3),
    name character varying(80) NOT NULL,
    numcode integer,
    printable_name character varying(80) NOT NULL
);


ALTER TABLE public.usr_iso_3166_country_code OWNER TO gazelle;

--
-- TOC entry 416 (class 1259 OID 754084)
-- Name: usr_message_parameters; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_message_parameters (
    id integer NOT NULL,
    messageparameter character varying(255)
);


ALTER TABLE public.usr_message_parameters OWNER TO gazelle;

--
-- TOC entry 554 (class 1259 OID 756393)
-- Name: usr_message_parameters_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_message_parameters_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_message_parameters_id_seq OWNER TO gazelle;

--
-- TOC entry 417 (class 1259 OID 754089)
-- Name: usr_messages; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_messages (
    id integer NOT NULL,
    author character varying(255),
    date timestamp without time zone,
    image character varying(255),
    link character varying(255),
    type character varying(255)
);


ALTER TABLE public.usr_messages OWNER TO gazelle;

--
-- TOC entry 555 (class 1259 OID 756395)
-- Name: usr_messages_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_messages_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_messages_id_seq OWNER TO gazelle;

--
-- TOC entry 418 (class 1259 OID 754097)
-- Name: usr_messages_usr_message_parameters; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_messages_usr_message_parameters (
    usr_messages_id integer NOT NULL,
    messageparameters_id integer NOT NULL
);


ALTER TABLE public.usr_messages_usr_message_parameters OWNER TO gazelle;

--
-- TOC entry 419 (class 1259 OID 754100)
-- Name: usr_messages_usr_users; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_messages_usr_users (
    usr_messages_id integer NOT NULL,
    users_id integer NOT NULL
);


ALTER TABLE public.usr_messages_usr_users OWNER TO gazelle;

--
-- TOC entry 337 (class 1259 OID 753635)
-- Name: usr_person; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_person (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    cell_phone character varying(64),
    email character varying(255),
    firstname character varying(255) NOT NULL,
    lastname character varying(255) NOT NULL,
    mailing_list boolean,
    personal_fax character varying(64),
    personal_phone character varying(64),
    photo character varying(512),
    title character varying(255),
    address_id integer,
    institution_id integer NOT NULL
);


ALTER TABLE public.usr_person OWNER TO gazelle;

--
-- TOC entry 338 (class 1259 OID 753643)
-- Name: usr_person_function; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_person_function (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(1024),
    is_billing boolean,
    keyword character varying(255) NOT NULL,
    name character varying(255) NOT NULL
);


ALTER TABLE public.usr_person_function OWNER TO gazelle;

--
-- TOC entry 556 (class 1259 OID 756397)
-- Name: usr_person_function_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_person_function_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_person_function_id_seq OWNER TO gazelle;

--
-- TOC entry 557 (class 1259 OID 756399)
-- Name: usr_person_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_person_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_person_id_seq OWNER TO gazelle;

--
-- TOC entry 420 (class 1259 OID 754103)
-- Name: usr_persons_functions; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_persons_functions (
    person_id integer NOT NULL,
    person_function_id integer NOT NULL
);


ALTER TABLE public.usr_persons_functions OWNER TO gazelle;

--
-- TOC entry 421 (class 1259 OID 754106)
-- Name: usr_role; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_role (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    description character varying(1024),
    name character varying(64) NOT NULL
);


ALTER TABLE public.usr_role OWNER TO gazelle;

--
-- TOC entry 558 (class 1259 OID 756401)
-- Name: usr_role_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_role_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_role_id_seq OWNER TO gazelle;

--
-- TOC entry 422 (class 1259 OID 754114)
-- Name: usr_user_role; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_user_role (
    role_id integer NOT NULL,
    user_id integer NOT NULL
);


ALTER TABLE public.usr_user_role OWNER TO gazelle;

--
-- TOC entry 423 (class 1259 OID 754117)
-- Name: usr_users; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE usr_users (
    id integer NOT NULL,
    last_changed timestamp with time zone,
    last_modifier_id character varying(255),
    activated boolean,
    activation_code character varying(255),
    blocked boolean,
    change_password_code character varying(255),
    creation_date timestamp without time zone,
    email character varying(255) NOT NULL,
    counter_failed_login_attempts integer,
    firstname character varying(128),
    last_login timestamp without time zone,
    lastname character varying(128),
    counter_logins integer,
    password character varying(128) NOT NULL,
    username character varying(16) NOT NULL,
    institution_id integer NOT NULL
);


ALTER TABLE public.usr_users OWNER TO gazelle;

--
-- TOC entry 559 (class 1259 OID 756403)
-- Name: usr_users_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE usr_users_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usr_users_id_seq OWNER TO gazelle;

--
-- TOC entry 339 (class 1259 OID 753651)
-- Name: validation_service; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE validation_service (
    id integer NOT NULL,
    base_url character varying(255),
    description character varying(1024) NOT NULL,
    key character varying(45) NOT NULL,
    label_key_for_display character varying(255),
    url_path character varying(255),
    xslt_url character varying(1024)
);


ALTER TABLE public.validation_service OWNER TO gazelle;

--
-- TOC entry 560 (class 1259 OID 756405)
-- Name: validation_service_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE validation_service_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.validation_service_id_seq OWNER TO gazelle;

--
-- TOC entry 340 (class 1259 OID 753659)
-- Name: validation_status; Type: TABLE; Schema: public; Owner: gazelle; Tablespace:
--

CREATE TABLE validation_status (
    id integer NOT NULL,
    description character varying(1024) NOT NULL,
    key character varying(45) NOT NULL,
    label_key_for_display character varying(255)
);


ALTER TABLE public.validation_status OWNER TO gazelle;

--
-- TOC entry 561 (class 1259 OID 756407)
-- Name: validation_status_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--

CREATE SEQUENCE validation_status_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.validation_status_id_seq OWNER TO gazelle;

--
-- TOC entry 4547 (class 0 OID 752440)
-- Dependencies: 179
-- Data for Name: cmn_application_preference; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4938 (class 0 OID 0)
-- Dependencies: 424
-- Name: cmn_application_preference_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('cmn_application_preference_id_seq', 1, true);


--
-- TOC entry 4548 (class 0 OID 752448)
-- Dependencies: 180
-- Data for Name: cmn_path_linking_a_document; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4939 (class 0 OID 0)
-- Dependencies: 425
-- Name: cmn_path_linking_a_document_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('cmn_path_linking_a_document_id_seq', 1, false);


--
-- TOC entry 4940 (class 0 OID 0)
-- Dependencies: 426
-- Name: hibernate_sequence; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('hibernate_sequence', 1, false);


--
-- TOC entry 4540 (class 0 OID 752412)
-- Dependencies: 172
-- Data for Name: message_validation_service; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4941 (class 0 OID 0)
-- Dependencies: 427
-- Name: message_validation_service_sequence; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('message_validation_service_sequence', 1, false);


--
-- TOC entry 4541 (class 0 OID 752417)
-- Dependencies: 173
-- Data for Name: pr_crawler_changed_integration_statements; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4549 (class 0 OID 752456)
-- Dependencies: 181
-- Data for Name: pr_crawler_reporting; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4942 (class 0 OID 0)
-- Dependencies: 428
-- Name: pr_crawler_reporting_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('pr_crawler_reporting_id_seq', 1, false);


--
-- TOC entry 4542 (class 0 OID 752420)
-- Dependencies: 174
-- Data for Name: pr_crawler_unmatching_hascode_for_integration_statements; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4543 (class 0 OID 752423)
-- Dependencies: 175
-- Data for Name: pr_crawler_unreachable_integration_statements; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4550 (class 0 OID 752461)
-- Dependencies: 182
-- Data for Name: pr_integration_statement_download; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4943 (class 0 OID 0)
-- Dependencies: 429
-- Name: pr_integration_statement_download_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('pr_integration_statement_download_id_seq', 1, false);


--
-- TOC entry 4551 (class 0 OID 752469)
-- Dependencies: 183
-- Data for Name: pr_intro; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4944 (class 0 OID 0)
-- Dependencies: 430
-- Name: pr_intro_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('pr_intro_id_seq', 1, false);


--
-- TOC entry 4552 (class 0 OID 752477)
-- Dependencies: 184
-- Data for Name: pr_mail; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4945 (class 0 OID 0)
-- Dependencies: 431
-- Name: pr_mail_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('pr_mail_id_seq', 1, false);


--
-- TOC entry 4544 (class 0 OID 752426)
-- Dependencies: 176
-- Data for Name: pr_search_criteria_per_report; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4553 (class 0 OID 752482)
-- Dependencies: 185
-- Data for Name: pr_search_log_criterion; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4946 (class 0 OID 0)
-- Dependencies: 432
-- Name: pr_search_log_criterion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('pr_search_log_criterion_id_seq', 1, false);


--
-- TOC entry 4554 (class 0 OID 752490)
-- Dependencies: 186
-- Data for Name: pr_search_log_report; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4947 (class 0 OID 0)
-- Dependencies: 433
-- Name: pr_search_log_report_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('pr_search_log_report_id_seq', 1, false);


--
-- TOC entry 4545 (class 0 OID 752429)
-- Dependencies: 177
-- Data for Name: pr_search_log_systems_found; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4948 (class 0 OID 0)
-- Dependencies: 434
-- Name: pr_subtypes_per_system_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('pr_subtypes_per_system_id_seq', 1, false);


--
-- TOC entry 4546 (class 0 OID 752432)
-- Dependencies: 178
-- Data for Name: proxy_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4949 (class 0 OID 0)
-- Dependencies: 435
-- Name: proxy_type_sequence; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('proxy_type_sequence', 1, false);


--
-- TOC entry 4539 (class 0 OID 752407)
-- Dependencies: 171
-- Data for Name: revinfo; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4709 (class 0 OID 753667)
-- Dependencies: 341
-- Data for Name: sys_dicom_documents_for_systems; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4710 (class 0 OID 753670)
-- Dependencies: 342
-- Data for Name: sys_hl7_documents_for_systems; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4555 (class 0 OID 752498)
-- Dependencies: 187
-- Data for Name: sys_system_subtype; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4950 (class 0 OID 0)
-- Dependencies: 436
-- Name: sys_system_subtype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('sys_system_subtype_id_seq', 1, false);


--
-- TOC entry 4556 (class 0 OID 752506)
-- Dependencies: 188
-- Data for Name: sys_system_subtypes_per_system_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4951 (class 0 OID 0)
-- Dependencies: 437
-- Name: sys_system_subtypes_per_system_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('sys_system_subtypes_per_system_type_id_seq', 1, false);


--
-- TOC entry 4557 (class 0 OID 752511)
-- Dependencies: 189
-- Data for Name: sys_system_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4952 (class 0 OID 0)
-- Dependencies: 438
-- Name: sys_system_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('sys_system_type_id_seq', 1, false);


--
-- TOC entry 4558 (class 0 OID 752519)
-- Dependencies: 190
-- Data for Name: sys_table_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4953 (class 0 OID 0)
-- Dependencies: 439
-- Name: sys_table_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('sys_table_session_id_seq', 1, false);


--
-- TOC entry 4559 (class 0 OID 752527)
-- Dependencies: 191
-- Data for Name: tf_actor; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4560 (class 0 OID 752535)
-- Dependencies: 192
-- Data for Name: tf_actor_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4561 (class 0 OID 752543)
-- Dependencies: 193
-- Data for Name: tf_actor_default_ports; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4954 (class 0 OID 0)
-- Dependencies: 440
-- Name: tf_actor_default_ports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_actor_default_ports_id_seq', 1, false);


--
-- TOC entry 4955 (class 0 OID 0)
-- Dependencies: 441
-- Name: tf_actor_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_actor_id_seq', 1, false);


--
-- TOC entry 4562 (class 0 OID 752553)
-- Dependencies: 194
-- Data for Name: tf_actor_integration_profile; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4563 (class 0 OID 752558)
-- Dependencies: 195
-- Data for Name: tf_actor_integration_profile_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4956 (class 0 OID 0)
-- Dependencies: 442
-- Name: tf_actor_integration_profile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_actor_integration_profile_id_seq', 1, false);


--
-- TOC entry 4564 (class 0 OID 752563)
-- Dependencies: 196
-- Data for Name: tf_actor_integration_profile_option; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4565 (class 0 OID 752568)
-- Dependencies: 197
-- Data for Name: tf_actor_integration_profile_option_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4957 (class 0 OID 0)
-- Dependencies: 443
-- Name: tf_actor_integration_profile_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_actor_integration_profile_option_id_seq', 1, false);


--
-- TOC entry 4566 (class 0 OID 752573)
-- Dependencies: 198
-- Data for Name: tf_affinity_domain; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4567 (class 0 OID 752581)
-- Dependencies: 199
-- Data for Name: tf_affinity_domain_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4958 (class 0 OID 0)
-- Dependencies: 444
-- Name: tf_affinity_domain_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_affinity_domain_id_seq', 1, false);


--
-- TOC entry 4568 (class 0 OID 752589)
-- Dependencies: 200
-- Data for Name: tf_audit_message; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4959 (class 0 OID 0)
-- Dependencies: 445
-- Name: tf_audit_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_audit_message_id_seq', 1, false);


--
-- TOC entry 4711 (class 0 OID 753673)
-- Dependencies: 343
-- Data for Name: tf_document; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4712 (class 0 OID 753682)
-- Dependencies: 344
-- Data for Name: tf_document_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4960 (class 0 OID 0)
-- Dependencies: 446
-- Name: tf_document_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_document_id_seq', 1, false);


--
-- TOC entry 4713 (class 0 OID 753690)
-- Dependencies: 345
-- Data for Name: tf_document_sections; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4714 (class 0 OID 753698)
-- Dependencies: 346
-- Data for Name: tf_document_sections_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4961 (class 0 OID 0)
-- Dependencies: 447
-- Name: tf_document_sections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_document_sections_id_seq', 1, false);


--
-- TOC entry 4569 (class 0 OID 752597)
-- Dependencies: 201
-- Data for Name: tf_domain; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4570 (class 0 OID 752605)
-- Dependencies: 202
-- Data for Name: tf_domain_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4962 (class 0 OID 0)
-- Dependencies: 448
-- Name: tf_domain_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_domain_id_seq', 1, false);


--
-- TOC entry 4571 (class 0 OID 752613)
-- Dependencies: 203
-- Data for Name: tf_domain_profile; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4715 (class 0 OID 753703)
-- Dependencies: 347
-- Data for Name: tf_domain_profile_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4572 (class 0 OID 752618)
-- Dependencies: 204
-- Data for Name: tf_hl7_message_profile; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4716 (class 0 OID 753708)
-- Dependencies: 348
-- Data for Name: tf_hl7_message_profile_affinity_domain; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4717 (class 0 OID 753711)
-- Dependencies: 349
-- Data for Name: tf_hl7_message_profile_affinity_domain_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4573 (class 0 OID 752626)
-- Dependencies: 205
-- Data for Name: tf_hl7_message_profile_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4963 (class 0 OID 0)
-- Dependencies: 449
-- Name: tf_hl7_message_profile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_hl7_message_profile_id_seq', 1, false);


--
-- TOC entry 4574 (class 0 OID 752634)
-- Dependencies: 206
-- Data for Name: tf_integration_profile; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4575 (class 0 OID 752642)
-- Dependencies: 207
-- Data for Name: tf_integration_profile_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4964 (class 0 OID 0)
-- Dependencies: 450
-- Name: tf_integration_profile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_integration_profile_id_seq', 1, false);


--
-- TOC entry 4576 (class 0 OID 752650)
-- Dependencies: 208
-- Data for Name: tf_integration_profile_option; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4577 (class 0 OID 752658)
-- Dependencies: 209
-- Data for Name: tf_integration_profile_option_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4965 (class 0 OID 0)
-- Dependencies: 451
-- Name: tf_integration_profile_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_integration_profile_option_id_seq', 1, false);


--
-- TOC entry 4578 (class 0 OID 752666)
-- Dependencies: 210
-- Data for Name: tf_integration_profile_status_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4579 (class 0 OID 752674)
-- Dependencies: 211
-- Data for Name: tf_integration_profile_status_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4966 (class 0 OID 0)
-- Dependencies: 452
-- Name: tf_integration_profile_status_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_integration_profile_status_type_id_seq', 1, false);


--
-- TOC entry 4580 (class 0 OID 752682)
-- Dependencies: 212
-- Data for Name: tf_integration_profile_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4581 (class 0 OID 752690)
-- Dependencies: 213
-- Data for Name: tf_integration_profile_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4967 (class 0 OID 0)
-- Dependencies: 453
-- Name: tf_integration_profile_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_integration_profile_type_id_seq', 1, false);


--
-- TOC entry 4718 (class 0 OID 753716)
-- Dependencies: 350
-- Data for Name: tf_integration_profile_type_link; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4719 (class 0 OID 753719)
-- Dependencies: 351
-- Data for Name: tf_integration_profile_type_link_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4582 (class 0 OID 752698)
-- Dependencies: 214
-- Data for Name: tf_profile_link; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4583 (class 0 OID 752703)
-- Dependencies: 215
-- Data for Name: tf_profile_link_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4968 (class 0 OID 0)
-- Dependencies: 454
-- Name: tf_profile_link_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_profile_link_id_seq', 1, false);


--
-- TOC entry 4584 (class 0 OID 752708)
-- Dependencies: 216
-- Data for Name: tf_rule; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4585 (class 0 OID 752716)
-- Dependencies: 217
-- Data for Name: tf_rule_criterion; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4969 (class 0 OID 0)
-- Dependencies: 455
-- Name: tf_rule_criterion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_rule_criterion_id_seq', 1, false);


--
-- TOC entry 4970 (class 0 OID 0)
-- Dependencies: 456
-- Name: tf_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_rule_id_seq', 1, false);


--
-- TOC entry 4720 (class 0 OID 753724)
-- Dependencies: 352
-- Data for Name: tf_rule_list_criterion; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4586 (class 0 OID 752721)
-- Dependencies: 218
-- Data for Name: tf_standard; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4587 (class 0 OID 752729)
-- Dependencies: 219
-- Data for Name: tf_standard_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4971 (class 0 OID 0)
-- Dependencies: 457
-- Name: tf_standard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_standard_id_seq', 1, false);


--
-- TOC entry 4588 (class 0 OID 752737)
-- Dependencies: 220
-- Data for Name: tf_transaction; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4589 (class 0 OID 752745)
-- Dependencies: 221
-- Data for Name: tf_transaction_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4972 (class 0 OID 0)
-- Dependencies: 458
-- Name: tf_transaction_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_transaction_id_seq', 1, false);


--
-- TOC entry 4590 (class 0 OID 752753)
-- Dependencies: 222
-- Data for Name: tf_transaction_link; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4591 (class 0 OID 752758)
-- Dependencies: 223
-- Data for Name: tf_transaction_link_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4973 (class 0 OID 0)
-- Dependencies: 459
-- Name: tf_transaction_link_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_transaction_link_id_seq', 1, false);


--
-- TOC entry 4592 (class 0 OID 752763)
-- Dependencies: 224
-- Data for Name: tf_transaction_option_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4593 (class 0 OID 752771)
-- Dependencies: 225
-- Data for Name: tf_transaction_option_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4974 (class 0 OID 0)
-- Dependencies: 460
-- Name: tf_transaction_option_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_transaction_option_type_id_seq', 1, false);


--
-- TOC entry 4721 (class 0 OID 753729)
-- Dependencies: 353
-- Data for Name: tf_transaction_standard; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4722 (class 0 OID 753732)
-- Dependencies: 354
-- Data for Name: tf_transaction_standard_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4594 (class 0 OID 752779)
-- Dependencies: 226
-- Data for Name: tf_transaction_status_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4595 (class 0 OID 752787)
-- Dependencies: 227
-- Data for Name: tf_transaction_status_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4975 (class 0 OID 0)
-- Dependencies: 461
-- Name: tf_transaction_status_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_transaction_status_type_id_seq', 1, false);


--
-- TOC entry 4596 (class 0 OID 752792)
-- Dependencies: 228
-- Data for Name: tf_ws_transaction_usage; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4597 (class 0 OID 752800)
-- Dependencies: 229
-- Data for Name: tf_ws_transaction_usage_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4976 (class 0 OID 0)
-- Dependencies: 462
-- Name: tf_ws_transaction_usage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tf_ws_transaction_usage_id_seq', 1, false);


--
-- TOC entry 4598 (class 0 OID 752805)
-- Dependencies: 230
-- Data for Name: tm_abstract_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4723 (class 0 OID 753737)
-- Dependencies: 355
-- Data for Name: tm_annotation; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4977 (class 0 OID 0)
-- Dependencies: 463
-- Name: tm_annotation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_annotation_id_seq', 1, false);


--
-- TOC entry 4724 (class 0 OID 753745)
-- Dependencies: 356
-- Data for Name: tm_conf_mapping_w_aipo_w_conftypes; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4725 (class 0 OID 753748)
-- Dependencies: 357
-- Data for Name: tm_conf_mapping_w_aipo_w_conftypes_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4599 (class 0 OID 752813)
-- Dependencies: 231
-- Data for Name: tm_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4978 (class 0 OID 0)
-- Dependencies: 464
-- Name: tm_configuration_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_configuration_id_seq', 1, false);


--
-- TOC entry 4600 (class 0 OID 752821)
-- Dependencies: 232
-- Data for Name: tm_configuration_mapped_with_aipo; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4601 (class 0 OID 752826)
-- Dependencies: 233
-- Data for Name: tm_configuration_mapped_with_aipo_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4979 (class 0 OID 0)
-- Dependencies: 465
-- Name: tm_configuration_mapped_with_aipo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_configuration_mapped_with_aipo_id_seq', 1, false);


--
-- TOC entry 4602 (class 0 OID 752831)
-- Dependencies: 234
-- Data for Name: tm_configuration_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4603 (class 0 OID 752839)
-- Dependencies: 235
-- Data for Name: tm_configuration_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4980 (class 0 OID 0)
-- Dependencies: 466
-- Name: tm_configuration_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_configuration_type_id_seq', 1, false);


--
-- TOC entry 4604 (class 0 OID 752847)
-- Dependencies: 236
-- Data for Name: tm_conftype_w_ports_wstype_and_sop_class; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4605 (class 0 OID 752854)
-- Dependencies: 237
-- Data for Name: tm_conftype_w_ports_wstype_and_sop_class_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4981 (class 0 OID 0)
-- Dependencies: 467
-- Name: tm_conftype_w_ports_wstype_and_sop_class_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_conftype_w_ports_wstype_and_sop_class_id_seq', 1, false);


--
-- TOC entry 4606 (class 0 OID 752859)
-- Dependencies: 238
-- Data for Name: tm_connectathon_participant; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4982 (class 0 OID 0)
-- Dependencies: 468
-- Name: tm_connectathon_participant_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_connectathon_participant_id_seq', 1, false);


--
-- TOC entry 4607 (class 0 OID 752867)
-- Dependencies: 239
-- Data for Name: tm_connectathon_participant_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4983 (class 0 OID 0)
-- Dependencies: 469
-- Name: tm_connectathon_participant_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_connectathon_participant_status_id_seq', 1, false);


--
-- TOC entry 4608 (class 0 OID 752875)
-- Dependencies: 240
-- Data for Name: tm_contextual_information; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4609 (class 0 OID 752883)
-- Dependencies: 241
-- Data for Name: tm_contextual_information_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4984 (class 0 OID 0)
-- Dependencies: 470
-- Name: tm_contextual_information_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_contextual_information_id_seq', 1, false);


--
-- TOC entry 4610 (class 0 OID 752891)
-- Dependencies: 242
-- Data for Name: tm_contextual_information_instance; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4985 (class 0 OID 0)
-- Dependencies: 471
-- Name: tm_contextual_information_instance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_contextual_information_instance_id_seq', 1, false);


--
-- TOC entry 4611 (class 0 OID 752899)
-- Dependencies: 243
-- Data for Name: tm_data_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4986 (class 0 OID 0)
-- Dependencies: 472
-- Name: tm_data_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_data_type_id_seq', 1, false);


--
-- TOC entry 4612 (class 0 OID 752907)
-- Dependencies: 244
-- Data for Name: tm_demonstration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4987 (class 0 OID 0)
-- Dependencies: 473
-- Name: tm_demonstration_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_demonstration_id_seq', 1, false);


--
-- TOC entry 4613 (class 0 OID 752915)
-- Dependencies: 245
-- Data for Name: tm_demonstration_system_in_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4726 (class 0 OID 753753)
-- Dependencies: 358
-- Data for Name: tm_demonstrations_in_testing_sessions; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4614 (class 0 OID 752920)
-- Dependencies: 246
-- Data for Name: tm_dicom_scp_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4615 (class 0 OID 752931)
-- Dependencies: 247
-- Data for Name: tm_dicom_scu_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4727 (class 0 OID 753756)
-- Dependencies: 359
-- Data for Name: tm_domains_in_testing_sessions; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4616 (class 0 OID 752942)
-- Dependencies: 248
-- Data for Name: tm_generic_oids_institution_for_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4988 (class 0 OID 0)
-- Dependencies: 474
-- Name: tm_generic_oids_institution_for_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_generic_oids_institution_for_session_id_seq', 1, false);


--
-- TOC entry 4617 (class 0 OID 752950)
-- Dependencies: 249
-- Data for Name: tm_generic_oids_ip_config_param_for_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4989 (class 0 OID 0)
-- Dependencies: 475
-- Name: tm_generic_oids_ip_config_param_for_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_generic_oids_ip_config_param_for_session_id_seq', 1, false);


--
-- TOC entry 4618 (class 0 OID 752958)
-- Dependencies: 250
-- Data for Name: tm_hl7_initiator_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4619 (class 0 OID 752966)
-- Dependencies: 251
-- Data for Name: tm_hl7_responder_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4620 (class 0 OID 752978)
-- Dependencies: 252
-- Data for Name: tm_hl7_v3_initiator_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4621 (class 0 OID 752986)
-- Dependencies: 253
-- Data for Name: tm_hl7_v3_responder_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4622 (class 0 OID 752997)
-- Dependencies: 254
-- Data for Name: tm_home; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4990 (class 0 OID 0)
-- Dependencies: 476
-- Name: tm_home_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_home_id_seq', 1, false);


--
-- TOC entry 4623 (class 0 OID 753005)
-- Dependencies: 255
-- Data for Name: tm_host; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4991 (class 0 OID 0)
-- Dependencies: 477
-- Name: tm_host_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_host_id_seq', 1, false);


--
-- TOC entry 4624 (class 0 OID 753013)
-- Dependencies: 256
-- Data for Name: tm_institution_system; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4992 (class 0 OID 0)
-- Dependencies: 478
-- Name: tm_institution_system_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_institution_system_id_seq', 1, false);


--
-- TOC entry 4625 (class 0 OID 753021)
-- Dependencies: 257
-- Data for Name: tm_invoice; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4993 (class 0 OID 0)
-- Dependencies: 479
-- Name: tm_invoice_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_invoice_id_seq', 1, false);


--
-- TOC entry 4626 (class 0 OID 753030)
-- Dependencies: 258
-- Data for Name: tm_jira_issues_to_test; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4627 (class 0 OID 753038)
-- Dependencies: 259
-- Data for Name: tm_jira_issues_to_test_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4994 (class 0 OID 0)
-- Dependencies: 480
-- Name: tm_jira_issues_to_test_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_jira_issues_to_test_id_seq', 1, false);


--
-- TOC entry 4628 (class 0 OID 753046)
-- Dependencies: 260
-- Data for Name: tm_meta_test; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4629 (class 0 OID 753054)
-- Dependencies: 261
-- Data for Name: tm_meta_test_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4995 (class 0 OID 0)
-- Dependencies: 481
-- Name: tm_meta_test_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_meta_test_id_seq', 1, false);


--
-- TOC entry 4728 (class 0 OID 753759)
-- Dependencies: 360
-- Data for Name: tm_meta_test_test_roles; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4729 (class 0 OID 753764)
-- Dependencies: 361
-- Data for Name: tm_meta_test_test_roles_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4630 (class 0 OID 753062)
-- Dependencies: 262
-- Data for Name: tm_monitor_in_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4996 (class 0 OID 0)
-- Dependencies: 482
-- Name: tm_monitor_in_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_monitor_in_session_id_seq', 1, false);


--
-- TOC entry 4631 (class 0 OID 753067)
-- Dependencies: 263
-- Data for Name: tm_monitor_test; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4632 (class 0 OID 753072)
-- Dependencies: 264
-- Data for Name: tm_network_config_for_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4997 (class 0 OID 0)
-- Dependencies: 483
-- Name: tm_network_config_for_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_network_config_for_session_id_seq', 1, false);


--
-- TOC entry 4730 (class 0 OID 753769)
-- Dependencies: 362
-- Data for Name: tm_object_attribute; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4731 (class 0 OID 753777)
-- Dependencies: 363
-- Data for Name: tm_object_attribute_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4998 (class 0 OID 0)
-- Dependencies: 484
-- Name: tm_object_attribute_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_attribute_id_seq', 1, false);


--
-- TOC entry 4732 (class 0 OID 753785)
-- Dependencies: 364
-- Data for Name: tm_object_attribute_option; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4733 (class 0 OID 753793)
-- Dependencies: 365
-- Data for Name: tm_object_attribute_option_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4999 (class 0 OID 0)
-- Dependencies: 485
-- Name: tm_object_attribute_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_attribute_option_id_seq', 1, false);


--
-- TOC entry 4734 (class 0 OID 753801)
-- Dependencies: 366
-- Data for Name: tm_object_creator; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4735 (class 0 OID 753809)
-- Dependencies: 367
-- Data for Name: tm_object_creator_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5000 (class 0 OID 0)
-- Dependencies: 486
-- Name: tm_object_creator_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_creator_id_seq', 1, false);


--
-- TOC entry 4736 (class 0 OID 753814)
-- Dependencies: 368
-- Data for Name: tm_object_file; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4737 (class 0 OID 753822)
-- Dependencies: 369
-- Data for Name: tm_object_file_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5001 (class 0 OID 0)
-- Dependencies: 487
-- Name: tm_object_file_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_file_id_seq', 1, false);


--
-- TOC entry 4738 (class 0 OID 753830)
-- Dependencies: 370
-- Data for Name: tm_object_file_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4739 (class 0 OID 753838)
-- Dependencies: 371
-- Data for Name: tm_object_file_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5002 (class 0 OID 0)
-- Dependencies: 488
-- Name: tm_object_file_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_file_type_id_seq', 1, false);


--
-- TOC entry 4740 (class 0 OID 753846)
-- Dependencies: 372
-- Data for Name: tm_object_instance; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4741 (class 0 OID 753854)
-- Dependencies: 373
-- Data for Name: tm_object_instance_annotation; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5003 (class 0 OID 0)
-- Dependencies: 489
-- Name: tm_object_instance_annotation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_instance_annotation_id_seq', 1, false);


--
-- TOC entry 4742 (class 0 OID 753859)
-- Dependencies: 374
-- Data for Name: tm_object_instance_attribute; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5004 (class 0 OID 0)
-- Dependencies: 490
-- Name: tm_object_instance_attribute_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_instance_attribute_id_seq', 1, false);


--
-- TOC entry 4743 (class 0 OID 753867)
-- Dependencies: 375
-- Data for Name: tm_object_instance_file; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5005 (class 0 OID 0)
-- Dependencies: 491
-- Name: tm_object_instance_file_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_instance_file_id_seq', 1, false);


--
-- TOC entry 5006 (class 0 OID 0)
-- Dependencies: 492
-- Name: tm_object_instance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_instance_id_seq', 1, false);


--
-- TOC entry 4744 (class 0 OID 753875)
-- Dependencies: 376
-- Data for Name: tm_object_instance_validation; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4745 (class 0 OID 753883)
-- Dependencies: 377
-- Data for Name: tm_object_instance_validation_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5007 (class 0 OID 0)
-- Dependencies: 493
-- Name: tm_object_instance_validation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_instance_validation_id_seq', 1, false);


--
-- TOC entry 4746 (class 0 OID 753891)
-- Dependencies: 378
-- Data for Name: tm_object_reader; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4747 (class 0 OID 753899)
-- Dependencies: 379
-- Data for Name: tm_object_reader_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5008 (class 0 OID 0)
-- Dependencies: 494
-- Name: tm_object_reader_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_reader_id_seq', 1, false);


--
-- TOC entry 4748 (class 0 OID 753904)
-- Dependencies: 380
-- Data for Name: tm_object_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4749 (class 0 OID 753912)
-- Dependencies: 381
-- Data for Name: tm_object_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5009 (class 0 OID 0)
-- Dependencies: 495
-- Name: tm_object_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_type_id_seq', 1, false);


--
-- TOC entry 4633 (class 0 OID 753080)
-- Dependencies: 265
-- Data for Name: tm_object_type_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4634 (class 0 OID 753088)
-- Dependencies: 266
-- Data for Name: tm_object_type_status_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5010 (class 0 OID 0)
-- Dependencies: 496
-- Name: tm_object_type_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_object_type_status_id_seq', 1, false);


--
-- TOC entry 4635 (class 0 OID 753093)
-- Dependencies: 267
-- Data for Name: tm_oid_institution; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5011 (class 0 OID 0)
-- Dependencies: 497
-- Name: tm_oid_institution_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_oid_institution_id_seq', 1, false);


--
-- TOC entry 4750 (class 0 OID 753920)
-- Dependencies: 382
-- Data for Name: tm_oid_requirement; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4751 (class 0 OID 753928)
-- Dependencies: 383
-- Data for Name: tm_oid_requirement_aipo; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5012 (class 0 OID 0)
-- Dependencies: 498
-- Name: tm_oid_requirement_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_oid_requirement_id_seq', 1, false);


--
-- TOC entry 4752 (class 0 OID 753931)
-- Dependencies: 384
-- Data for Name: tm_oid_root_definition; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5013 (class 0 OID 0)
-- Dependencies: 499
-- Name: tm_oid_root_definition_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_oid_root_definition_id_seq', 1, false);


--
-- TOC entry 4753 (class 0 OID 753939)
-- Dependencies: 385
-- Data for Name: tm_oid_system_assignment; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5014 (class 0 OID 0)
-- Dependencies: 500
-- Name: tm_oid_system_assignment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_oid_system_assignment_id_seq', 1, false);


--
-- TOC entry 4636 (class 0 OID 753098)
-- Dependencies: 268
-- Data for Name: tm_oids_ip_config_param_for_session_for_hl7; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5015 (class 0 OID 0)
-- Dependencies: 501
-- Name: tm_oids_ip_config_param_for_session_for_hl7_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_oids_ip_config_param_for_session_for_hl7_id_seq', 1, false);


--
-- TOC entry 4637 (class 0 OID 753106)
-- Dependencies: 269
-- Data for Name: tm_path; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4638 (class 0 OID 753114)
-- Dependencies: 270
-- Data for Name: tm_path_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5016 (class 0 OID 0)
-- Dependencies: 502
-- Name: tm_path_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_path_id_seq', 1, false);


--
-- TOC entry 4639 (class 0 OID 753122)
-- Dependencies: 271
-- Data for Name: tm_patient; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4754 (class 0 OID 753947)
-- Dependencies: 386
-- Data for Name: tm_patient_assigning_authority_sis; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4640 (class 0 OID 753130)
-- Dependencies: 272
-- Data for Name: tm_patient_assigning_autority; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5017 (class 0 OID 0)
-- Dependencies: 503
-- Name: tm_patient_assigning_autority_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_patient_assigning_autority_id_seq', 1, false);


--
-- TOC entry 5018 (class 0 OID 0)
-- Dependencies: 504
-- Name: tm_patient_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_patient_id_seq', 1, false);


--
-- TOC entry 4641 (class 0 OID 753138)
-- Dependencies: 273
-- Data for Name: tm_patient_identifier; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5019 (class 0 OID 0)
-- Dependencies: 505
-- Name: tm_patient_identifier_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_patient_identifier_id_seq', 1, false);


--
-- TOC entry 4755 (class 0 OID 753950)
-- Dependencies: 387
-- Data for Name: tm_patient_patient_identifier; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4756 (class 0 OID 753955)
-- Dependencies: 388
-- Data for Name: tm_profiles_in_testing_sessions; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4642 (class 0 OID 753146)
-- Dependencies: 274
-- Data for Name: tm_proxy_configuration_for_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5020 (class 0 OID 0)
-- Dependencies: 506
-- Name: tm_proxy_configuration_for_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_proxy_configuration_for_session_id_seq', 1, false);


--
-- TOC entry 4643 (class 0 OID 753156)
-- Dependencies: 275
-- Data for Name: tm_role_in_test; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4644 (class 0 OID 753164)
-- Dependencies: 276
-- Data for Name: tm_role_in_test_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5021 (class 0 OID 0)
-- Dependencies: 507
-- Name: tm_role_in_test_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_role_in_test_id_seq', 1, false);


--
-- TOC entry 4757 (class 0 OID 753958)
-- Dependencies: 389
-- Data for Name: tm_role_in_test_test_participants; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4758 (class 0 OID 753961)
-- Dependencies: 390
-- Data for Name: tm_role_in_test_test_participants_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4645 (class 0 OID 753169)
-- Dependencies: 277
-- Data for Name: tm_sap_result_tr_comment; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5022 (class 0 OID 0)
-- Dependencies: 508
-- Name: tm_sap_result_tr_comment_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_sap_result_tr_comment_seq', 1, false);


--
-- TOC entry 4646 (class 0 OID 753177)
-- Dependencies: 278
-- Data for Name: tm_share_patient_logger; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5023 (class 0 OID 0)
-- Dependencies: 509
-- Name: tm_share_patient_logger_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_share_patient_logger_id_seq', 1, false);


--
-- TOC entry 4647 (class 0 OID 753185)
-- Dependencies: 279
-- Data for Name: tm_sop_class; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4648 (class 0 OID 753193)
-- Dependencies: 280
-- Data for Name: tm_sop_class_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5024 (class 0 OID 0)
-- Dependencies: 510
-- Name: tm_sop_class_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_sop_class_id_seq', 1, false);


--
-- TOC entry 4649 (class 0 OID 753201)
-- Dependencies: 281
-- Data for Name: tm_status_results; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5025 (class 0 OID 0)
-- Dependencies: 511
-- Name: tm_status_results_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_status_results_id_seq', 1, false);


--
-- TOC entry 4650 (class 0 OID 753209)
-- Dependencies: 282
-- Data for Name: tm_step_inst_msg_process_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5026 (class 0 OID 0)
-- Dependencies: 512
-- Name: tm_step_inst_msg_process_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_step_inst_msg_process_status_id_seq', 1, false);


--
-- TOC entry 4651 (class 0 OID 753217)
-- Dependencies: 283
-- Data for Name: tm_step_instance_exec_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5027 (class 0 OID 0)
-- Dependencies: 513
-- Name: tm_step_instance_exec_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_step_instance_exec_status_id_seq', 1, false);


--
-- TOC entry 4759 (class 0 OID 753966)
-- Dependencies: 391
-- Data for Name: tm_step_instance_message; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5028 (class 0 OID 0)
-- Dependencies: 514
-- Name: tm_step_instance_message_sequence; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_step_instance_message_sequence', 1, false);


--
-- TOC entry 4760 (class 0 OID 753974)
-- Dependencies: 392
-- Data for Name: tm_step_instance_msg_validation; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5029 (class 0 OID 0)
-- Dependencies: 515
-- Name: tm_step_instance_msg_validation_sequence; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_step_instance_msg_validation_sequence', 1, false);


--
-- TOC entry 4652 (class 0 OID 753225)
-- Dependencies: 284
-- Data for Name: tm_subtypes_per_system; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4653 (class 0 OID 753230)
-- Dependencies: 285
-- Data for Name: tm_syslog_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4654 (class 0 OID 753241)
-- Dependencies: 286
-- Data for Name: tm_system; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4655 (class 0 OID 753249)
-- Dependencies: 287
-- Data for Name: tm_system_actor_profiles; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5030 (class 0 OID 0)
-- Dependencies: 516
-- Name: tm_system_actor_profiles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_system_actor_profiles_id_seq', 1, false);


--
-- TOC entry 4656 (class 0 OID 753254)
-- Dependencies: 288
-- Data for Name: tm_system_aipo_result_for_a_testing_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5031 (class 0 OID 0)
-- Dependencies: 517
-- Name: tm_system_aipo_result_for_a_testing_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_system_aipo_result_for_a_testing_session_id_seq', 1, false);


--
-- TOC entry 4657 (class 0 OID 753262)
-- Dependencies: 289
-- Data for Name: tm_system_event; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5032 (class 0 OID 0)
-- Dependencies: 518
-- Name: tm_system_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_system_event_id_seq', 1, false);


--
-- TOC entry 4761 (class 0 OID 753982)
-- Dependencies: 393
-- Data for Name: tm_system_events; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5033 (class 0 OID 0)
-- Dependencies: 519
-- Name: tm_system_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_system_id_seq', 1, false);


--
-- TOC entry 4658 (class 0 OID 753270)
-- Dependencies: 290
-- Data for Name: tm_system_in_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5034 (class 0 OID 0)
-- Dependencies: 520
-- Name: tm_system_in_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_system_in_session_id_seq', 1, false);


--
-- TOC entry 4659 (class 0 OID 753278)
-- Dependencies: 291
-- Data for Name: tm_system_in_session_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5035 (class 0 OID 0)
-- Dependencies: 521
-- Name: tm_system_in_session_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_system_in_session_status_id_seq', 1, false);


--
-- TOC entry 4660 (class 0 OID 753286)
-- Dependencies: 292
-- Data for Name: tm_system_in_session_user; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5036 (class 0 OID 0)
-- Dependencies: 522
-- Name: tm_system_in_session_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_system_in_session_user_id_seq', 1, false);


--
-- TOC entry 4661 (class 0 OID 753291)
-- Dependencies: 293
-- Data for Name: tm_test; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4662 (class 0 OID 753299)
-- Dependencies: 294
-- Data for Name: tm_test_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4665 (class 0 OID 753324)
-- Dependencies: 297
-- Data for Name: tm_test_description; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4666 (class 0 OID 753332)
-- Dependencies: 298
-- Data for Name: tm_test_description_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5037 (class 0 OID 0)
-- Dependencies: 524
-- Name: tm_test_description_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_description_id_seq', 1, false);


--
-- TOC entry 5038 (class 0 OID 0)
-- Dependencies: 525
-- Name: tm_test_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_id_seq', 1, false);


--
-- TOC entry 4667 (class 0 OID 753340)
-- Dependencies: 299
-- Data for Name: tm_test_instance; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4668 (class 0 OID 753348)
-- Dependencies: 300
-- Data for Name: tm_test_instance_event; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5039 (class 0 OID 0)
-- Dependencies: 526
-- Name: tm_test_instance_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_instance_event_id_seq', 1, false);


--
-- TOC entry 4669 (class 0 OID 753356)
-- Dependencies: 301
-- Data for Name: tm_test_instance_exec_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5040 (class 0 OID 0)
-- Dependencies: 527
-- Name: tm_test_instance_exec_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_instance_exec_status_id_seq', 1, false);


--
-- TOC entry 5041 (class 0 OID 0)
-- Dependencies: 528
-- Name: tm_test_instance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_instance_id_seq', 1, false);


--
-- TOC entry 4670 (class 0 OID 753364)
-- Dependencies: 302
-- Data for Name: tm_test_instance_participants; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5042 (class 0 OID 0)
-- Dependencies: 529
-- Name: tm_test_instance_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_instance_participants_id_seq', 1, false);


--
-- TOC entry 4671 (class 0 OID 753369)
-- Dependencies: 303
-- Data for Name: tm_test_instance_participants_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5043 (class 0 OID 0)
-- Dependencies: 530
-- Name: tm_test_instance_participants_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_instance_participants_status_id_seq', 1, false);


--
-- TOC entry 4672 (class 0 OID 753377)
-- Dependencies: 304
-- Data for Name: tm_test_instance_path_to_log_file; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5044 (class 0 OID 0)
-- Dependencies: 531
-- Name: tm_test_instance_path_to_log_file_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_instance_path_to_log_file_id_seq', 1, false);


--
-- TOC entry 4762 (class 0 OID 753985)
-- Dependencies: 394
-- Data for Name: tm_test_instance_test_instance_path_to_log_file; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4763 (class 0 OID 753988)
-- Dependencies: 395
-- Data for Name: tm_test_instance_test_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4764 (class 0 OID 753991)
-- Dependencies: 396
-- Data for Name: tm_test_instance_test_steps_instance; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4765 (class 0 OID 753996)
-- Dependencies: 397
-- Data for Name: tm_test_instance_tm_test_steps_data; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4673 (class 0 OID 753385)
-- Dependencies: 305
-- Data for Name: tm_test_option; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4674 (class 0 OID 753393)
-- Dependencies: 306
-- Data for Name: tm_test_option_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5045 (class 0 OID 0)
-- Dependencies: 532
-- Name: tm_test_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_option_id_seq', 1, false);


--
-- TOC entry 4675 (class 0 OID 753401)
-- Dependencies: 307
-- Data for Name: tm_test_participants; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4676 (class 0 OID 753406)
-- Dependencies: 308
-- Data for Name: tm_test_participants_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5046 (class 0 OID 0)
-- Dependencies: 533
-- Name: tm_test_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_participants_id_seq', 1, false);


--
-- TOC entry 4677 (class 0 OID 753411)
-- Dependencies: 309
-- Data for Name: tm_test_peer_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4678 (class 0 OID 753419)
-- Dependencies: 310
-- Data for Name: tm_test_peer_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5047 (class 0 OID 0)
-- Dependencies: 534
-- Name: tm_test_peer_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_peer_type_id_seq', 1, false);


--
-- TOC entry 4663 (class 0 OID 753307)
-- Dependencies: 295
-- Data for Name: tm_test_roles; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4664 (class 0 OID 753316)
-- Dependencies: 296
-- Data for Name: tm_test_roles_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5048 (class 0 OID 0)
-- Dependencies: 523
-- Name: tm_test_roles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_roles_id_seq', 1, false);


--
-- TOC entry 4679 (class 0 OID 753427)
-- Dependencies: 311
-- Data for Name: tm_test_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4680 (class 0 OID 753435)
-- Dependencies: 312
-- Data for Name: tm_test_status_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5049 (class 0 OID 0)
-- Dependencies: 535
-- Name: tm_test_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_status_id_seq', 1, false);


--
-- TOC entry 4766 (class 0 OID 753999)
-- Dependencies: 398
-- Data for Name: tm_test_step_message_profile; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5050 (class 0 OID 0)
-- Dependencies: 536
-- Name: tm_test_step_message_profile_sequence; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_step_message_profile_sequence', 1, false);


--
-- TOC entry 4681 (class 0 OID 753443)
-- Dependencies: 313
-- Data for Name: tm_test_steps; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4682 (class 0 OID 753451)
-- Dependencies: 314
-- Data for Name: tm_test_steps_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4684 (class 0 OID 753467)
-- Dependencies: 316
-- Data for Name: tm_test_steps_data; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5051 (class 0 OID 0)
-- Dependencies: 538
-- Name: tm_test_steps_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_steps_data_id_seq', 1, false);


--
-- TOC entry 5052 (class 0 OID 0)
-- Dependencies: 539
-- Name: tm_test_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_steps_id_seq', 1, false);


--
-- TOC entry 4767 (class 0 OID 754007)
-- Dependencies: 399
-- Data for Name: tm_test_steps_input_ci; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4768 (class 0 OID 754010)
-- Dependencies: 400
-- Data for Name: tm_test_steps_input_ci_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4685 (class 0 OID 753475)
-- Dependencies: 317
-- Data for Name: tm_test_steps_instance; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5053 (class 0 OID 0)
-- Dependencies: 540
-- Name: tm_test_steps_instance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_steps_instance_id_seq', 1, false);


--
-- TOC entry 4769 (class 0 OID 754015)
-- Dependencies: 401
-- Data for Name: tm_test_steps_instance_input_ci_instance; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4770 (class 0 OID 754018)
-- Dependencies: 402
-- Data for Name: tm_test_steps_instance_output_ci_instance; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4683 (class 0 OID 753459)
-- Dependencies: 315
-- Data for Name: tm_test_steps_instance_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5054 (class 0 OID 0)
-- Dependencies: 537
-- Name: tm_test_steps_instance_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_steps_instance_status_id_seq', 1, false);


--
-- TOC entry 4686 (class 0 OID 753483)
-- Dependencies: 318
-- Data for Name: tm_test_steps_option; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4687 (class 0 OID 753491)
-- Dependencies: 319
-- Data for Name: tm_test_steps_option_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5055 (class 0 OID 0)
-- Dependencies: 541
-- Name: tm_test_steps_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_steps_option_id_seq', 1, false);


--
-- TOC entry 4771 (class 0 OID 754023)
-- Dependencies: 403
-- Data for Name: tm_test_steps_output_ci; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4772 (class 0 OID 754028)
-- Dependencies: 404
-- Data for Name: tm_test_steps_output_ci_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4773 (class 0 OID 754033)
-- Dependencies: 405
-- Data for Name: tm_test_steps_test_steps_data; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4774 (class 0 OID 754036)
-- Dependencies: 406
-- Data for Name: tm_test_test_description; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4775 (class 0 OID 754041)
-- Dependencies: 407
-- Data for Name: tm_test_test_description_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4776 (class 0 OID 754046)
-- Dependencies: 408
-- Data for Name: tm_test_test_steps; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4777 (class 0 OID 754051)
-- Dependencies: 409
-- Data for Name: tm_test_test_steps_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4688 (class 0 OID 753499)
-- Dependencies: 320
-- Data for Name: tm_test_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4689 (class 0 OID 753507)
-- Dependencies: 321
-- Data for Name: tm_test_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5056 (class 0 OID 0)
-- Dependencies: 542
-- Name: tm_test_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_test_type_id_seq', 1, false);


--
-- TOC entry 4778 (class 0 OID 754056)
-- Dependencies: 410
-- Data for Name: tm_test_types_sessions; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4779 (class 0 OID 754059)
-- Dependencies: 411
-- Data for Name: tm_test_user_comment; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4690 (class 0 OID 753515)
-- Dependencies: 322
-- Data for Name: tm_testing_session; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4780 (class 0 OID 754062)
-- Dependencies: 412
-- Data for Name: tm_testing_session_admin; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5057 (class 0 OID 0)
-- Dependencies: 543
-- Name: tm_testing_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_testing_session_id_seq', 1, false);


--
-- TOC entry 4781 (class 0 OID 754065)
-- Dependencies: 413
-- Data for Name: tm_testing_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5058 (class 0 OID 0)
-- Dependencies: 544
-- Name: tm_testing_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_testing_type_id_seq', 1, false);


--
-- TOC entry 4691 (class 0 OID 753524)
-- Dependencies: 323
-- Data for Name: tm_transport_layer_for_config; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4692 (class 0 OID 753532)
-- Dependencies: 324
-- Data for Name: tm_transport_layer_for_config_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5059 (class 0 OID 0)
-- Dependencies: 545
-- Name: tm_transport_layer_for_config_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_transport_layer_for_config_seq', 1, false);


--
-- TOC entry 4693 (class 0 OID 753540)
-- Dependencies: 325
-- Data for Name: tm_user_comment; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5060 (class 0 OID 0)
-- Dependencies: 546
-- Name: tm_user_comment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_user_comment_id_seq', 1, false);


--
-- TOC entry 4782 (class 0 OID 754073)
-- Dependencies: 414
-- Data for Name: tm_user_photo; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5061 (class 0 OID 0)
-- Dependencies: 547
-- Name: tm_user_photo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_user_photo_id_seq', 1, false);


--
-- TOC entry 4694 (class 0 OID 753548)
-- Dependencies: 326
-- Data for Name: tm_user_preferences; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5062 (class 0 OID 0)
-- Dependencies: 548
-- Name: tm_user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_user_preferences_id_seq', 1, false);


--
-- TOC entry 4695 (class 0 OID 753556)
-- Dependencies: 327
-- Data for Name: tm_web_service_configuration; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4696 (class 0 OID 753567)
-- Dependencies: 328
-- Data for Name: tm_web_service_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4697 (class 0 OID 753575)
-- Dependencies: 329
-- Data for Name: tm_web_service_type_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5063 (class 0 OID 0)
-- Dependencies: 549
-- Name: tm_web_service_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('tm_web_service_type_id_seq', 1, false);


--
-- TOC entry 4698 (class 0 OID 753580)
-- Dependencies: 330
-- Data for Name: usr_address; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5064 (class 0 OID 0)
-- Dependencies: 550
-- Name: usr_address_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_address_id_seq', 1, false);


--
-- TOC entry 4699 (class 0 OID 753589)
-- Dependencies: 331
-- Data for Name: usr_currency; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4700 (class 0 OID 753597)
-- Dependencies: 332
-- Data for Name: usr_gazelle_language; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4701 (class 0 OID 753605)
-- Dependencies: 333
-- Data for Name: usr_gazelle_language_aud; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5065 (class 0 OID 0)
-- Dependencies: 551
-- Name: usr_gazelle_language_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_gazelle_language_id_seq', 1, false);


--
-- TOC entry 4702 (class 0 OID 753614)
-- Dependencies: 334
-- Data for Name: usr_institution; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4783 (class 0 OID 754081)
-- Dependencies: 415
-- Data for Name: usr_institution_address; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5066 (class 0 OID 0)
-- Dependencies: 552
-- Name: usr_institution_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_institution_id_seq', 1, false);


--
-- TOC entry 4703 (class 0 OID 753622)
-- Dependencies: 335
-- Data for Name: usr_institution_type; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5067 (class 0 OID 0)
-- Dependencies: 553
-- Name: usr_institution_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_institution_type_id_seq', 1, false);


--
-- TOC entry 4704 (class 0 OID 753630)
-- Dependencies: 336
-- Data for Name: usr_iso_3166_country_code; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4784 (class 0 OID 754084)
-- Dependencies: 416
-- Data for Name: usr_message_parameters; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5068 (class 0 OID 0)
-- Dependencies: 554
-- Name: usr_message_parameters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_message_parameters_id_seq', 1, false);


--
-- TOC entry 4785 (class 0 OID 754089)
-- Dependencies: 417
-- Data for Name: usr_messages; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5069 (class 0 OID 0)
-- Dependencies: 555
-- Name: usr_messages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_messages_id_seq', 1, false);


--
-- TOC entry 4786 (class 0 OID 754097)
-- Dependencies: 418
-- Data for Name: usr_messages_usr_message_parameters; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4787 (class 0 OID 754100)
-- Dependencies: 419
-- Data for Name: usr_messages_usr_users; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4705 (class 0 OID 753635)
-- Dependencies: 337
-- Data for Name: usr_person; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4706 (class 0 OID 753643)
-- Dependencies: 338
-- Data for Name: usr_person_function; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5070 (class 0 OID 0)
-- Dependencies: 556
-- Name: usr_person_function_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_person_function_id_seq', 1, false);


--
-- TOC entry 5071 (class 0 OID 0)
-- Dependencies: 557
-- Name: usr_person_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_person_id_seq', 1, false);


--
-- TOC entry 4788 (class 0 OID 754103)
-- Dependencies: 420
-- Data for Name: usr_persons_functions; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4789 (class 0 OID 754106)
-- Dependencies: 421
-- Data for Name: usr_role; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5072 (class 0 OID 0)
-- Dependencies: 558
-- Name: usr_role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_role_id_seq', 1, false);


--
-- TOC entry 4790 (class 0 OID 754114)
-- Dependencies: 422
-- Data for Name: usr_user_role; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 4791 (class 0 OID 754117)
-- Dependencies: 423
-- Data for Name: usr_users; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5073 (class 0 OID 0)
-- Dependencies: 559
-- Name: usr_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('usr_users_id_seq', 1, false);


--
-- TOC entry 4707 (class 0 OID 753651)
-- Dependencies: 339
-- Data for Name: validation_service; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5074 (class 0 OID 0)
-- Dependencies: 560
-- Name: validation_service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('validation_service_id_seq', 1, false);


--
-- TOC entry 4708 (class 0 OID 753659)
-- Dependencies: 340
-- Data for Name: validation_status; Type: TABLE DATA; Schema: public; Owner: gazelle
--



--
-- TOC entry 5075 (class 0 OID 0)
-- Dependencies: 561
-- Name: validation_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: gazelle
--

SELECT pg_catalog.setval('validation_status_id_seq', 1, false);


--
-- TOC entry 3359 (class 2606 OID 752447)
-- Name: cmn_application_preference_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY cmn_application_preference
    ADD CONSTRAINT cmn_application_preference_pkey PRIMARY KEY (id);


--
-- TOC entry 3363 (class 2606 OID 752455)
-- Name: cmn_path_linking_a_document_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY cmn_path_linking_a_document
    ADD CONSTRAINT cmn_path_linking_a_document_pkey PRIMARY KEY (id);


--
-- TOC entry 3345 (class 2606 OID 752416)
-- Name: message_validation_service_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY message_validation_service
    ADD CONSTRAINT message_validation_service_pkey PRIMARY KEY (id);


--
-- TOC entry 3365 (class 2606 OID 752460)
-- Name: pr_crawler_reporting_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_crawler_reporting
    ADD CONSTRAINT pr_crawler_reporting_pkey PRIMARY KEY (id);


--
-- TOC entry 3367 (class 2606 OID 752468)
-- Name: pr_integration_statement_download_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_integration_statement_download
    ADD CONSTRAINT pr_integration_statement_download_pkey PRIMARY KEY (id);


--
-- TOC entry 3369 (class 2606 OID 752476)
-- Name: pr_intro_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_intro
    ADD CONSTRAINT pr_intro_pkey PRIMARY KEY (id);


--
-- TOC entry 3373 (class 2606 OID 752481)
-- Name: pr_mail_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_mail
    ADD CONSTRAINT pr_mail_pkey PRIMARY KEY (id);


--
-- TOC entry 3375 (class 2606 OID 752489)
-- Name: pr_search_log_criterion_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_search_log_criterion
    ADD CONSTRAINT pr_search_log_criterion_pkey PRIMARY KEY (id);


--
-- TOC entry 3377 (class 2606 OID 752497)
-- Name: pr_search_log_report_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_search_log_report
    ADD CONSTRAINT pr_search_log_report_pkey PRIMARY KEY (id);


--
-- TOC entry 3357 (class 2606 OID 752439)
-- Name: proxy_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY proxy_type
    ADD CONSTRAINT proxy_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3343 (class 2606 OID 752411)
-- Name: revinfo_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY revinfo
    ADD CONSTRAINT revinfo_pkey PRIMARY KEY (rev);


--
-- TOC entry 3379 (class 2606 OID 752505)
-- Name: sys_system_subtype_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_system_subtype
    ADD CONSTRAINT sys_system_subtype_pkey PRIMARY KEY (id);


--
-- TOC entry 3383 (class 2606 OID 752510)
-- Name: sys_system_subtypes_per_system_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_system_subtypes_per_system_type
    ADD CONSTRAINT sys_system_subtypes_per_system_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3387 (class 2606 OID 752518)
-- Name: sys_system_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_system_type
    ADD CONSTRAINT sys_system_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3391 (class 2606 OID 752526)
-- Name: sys_table_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_table_session
    ADD CONSTRAINT sys_table_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3399 (class 2606 OID 752542)
-- Name: tf_actor_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_aud
    ADD CONSTRAINT tf_actor_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3401 (class 2606 OID 752552)
-- Name: tf_actor_default_ports_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_default_ports
    ADD CONSTRAINT tf_actor_default_ports_pkey PRIMARY KEY (id);


--
-- TOC entry 3409 (class 2606 OID 752562)
-- Name: tf_actor_integration_profile_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_integration_profile_aud
    ADD CONSTRAINT tf_actor_integration_profile_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3415 (class 2606 OID 752572)
-- Name: tf_actor_integration_profile_option_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_integration_profile_option_aud
    ADD CONSTRAINT tf_actor_integration_profile_option_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3411 (class 2606 OID 752567)
-- Name: tf_actor_integration_profile_option_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_integration_profile_option
    ADD CONSTRAINT tf_actor_integration_profile_option_pkey PRIMARY KEY (id);


--
-- TOC entry 3405 (class 2606 OID 752557)
-- Name: tf_actor_integration_profile_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_integration_profile
    ADD CONSTRAINT tf_actor_integration_profile_pkey PRIMARY KEY (id);


--
-- TOC entry 3395 (class 2606 OID 752534)
-- Name: tf_actor_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor
    ADD CONSTRAINT tf_actor_pkey PRIMARY KEY (id);


--
-- TOC entry 3421 (class 2606 OID 752588)
-- Name: tf_affinity_domain_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_affinity_domain_aud
    ADD CONSTRAINT tf_affinity_domain_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3417 (class 2606 OID 752580)
-- Name: tf_affinity_domain_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_affinity_domain
    ADD CONSTRAINT tf_affinity_domain_pkey PRIMARY KEY (id);


--
-- TOC entry 3423 (class 2606 OID 752596)
-- Name: tf_audit_message_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_audit_message
    ADD CONSTRAINT tf_audit_message_pkey PRIMARY KEY (id);


--
-- TOC entry 3889 (class 2606 OID 753689)
-- Name: tf_document_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_document_aud
    ADD CONSTRAINT tf_document_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3885 (class 2606 OID 753681)
-- Name: tf_document_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_document
    ADD CONSTRAINT tf_document_pkey PRIMARY KEY (id);


--
-- TOC entry 3895 (class 2606 OID 753702)
-- Name: tf_document_sections_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_document_sections_aud
    ADD CONSTRAINT tf_document_sections_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3891 (class 2606 OID 753697)
-- Name: tf_document_sections_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_document_sections
    ADD CONSTRAINT tf_document_sections_pkey PRIMARY KEY (id);


--
-- TOC entry 3429 (class 2606 OID 752612)
-- Name: tf_domain_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_domain_aud
    ADD CONSTRAINT tf_domain_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3425 (class 2606 OID 752604)
-- Name: tf_domain_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_domain
    ADD CONSTRAINT tf_domain_pkey PRIMARY KEY (id);


--
-- TOC entry 3897 (class 2606 OID 753707)
-- Name: tf_domain_profile_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_domain_profile_aud
    ADD CONSTRAINT tf_domain_profile_aud_pkey PRIMARY KEY (rev, domain_id, integration_profile_id);


--
-- TOC entry 3431 (class 2606 OID 752617)
-- Name: tf_domain_profile_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_domain_profile
    ADD CONSTRAINT tf_domain_profile_pkey PRIMARY KEY (domain_id, integration_profile_id);


--
-- TOC entry 3901 (class 2606 OID 753715)
-- Name: tf_hl7_message_profile_affinity_domain_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_hl7_message_profile_affinity_domain_aud
    ADD CONSTRAINT tf_hl7_message_profile_affinity_domain_aud_pkey PRIMARY KEY (rev, hl7_message_profile_id, affinity_domain_id);


--
-- TOC entry 3439 (class 2606 OID 752633)
-- Name: tf_hl7_message_profile_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_hl7_message_profile_aud
    ADD CONSTRAINT tf_hl7_message_profile_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3435 (class 2606 OID 752625)
-- Name: tf_hl7_message_profile_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_hl7_message_profile
    ADD CONSTRAINT tf_hl7_message_profile_pkey PRIMARY KEY (id);


--
-- TOC entry 3447 (class 2606 OID 752649)
-- Name: tf_integration_profile_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_aud
    ADD CONSTRAINT tf_integration_profile_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3453 (class 2606 OID 752665)
-- Name: tf_integration_profile_option_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_option_aud
    ADD CONSTRAINT tf_integration_profile_option_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3449 (class 2606 OID 752657)
-- Name: tf_integration_profile_option_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_option
    ADD CONSTRAINT tf_integration_profile_option_pkey PRIMARY KEY (id);


--
-- TOC entry 3441 (class 2606 OID 752641)
-- Name: tf_integration_profile_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile
    ADD CONSTRAINT tf_integration_profile_pkey PRIMARY KEY (id);


--
-- TOC entry 3461 (class 2606 OID 752681)
-- Name: tf_integration_profile_status_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_status_type_aud
    ADD CONSTRAINT tf_integration_profile_status_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3455 (class 2606 OID 752673)
-- Name: tf_integration_profile_status_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_status_type
    ADD CONSTRAINT tf_integration_profile_status_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3467 (class 2606 OID 752697)
-- Name: tf_integration_profile_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_type_aud
    ADD CONSTRAINT tf_integration_profile_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3905 (class 2606 OID 753723)
-- Name: tf_integration_profile_type_link_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_type_link_aud
    ADD CONSTRAINT tf_integration_profile_type_link_aud_pkey PRIMARY KEY (rev, integration_profile_id, integration_profile_type_id);


--
-- TOC entry 3463 (class 2606 OID 752689)
-- Name: tf_integration_profile_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_type
    ADD CONSTRAINT tf_integration_profile_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3473 (class 2606 OID 752707)
-- Name: tf_profile_link_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_profile_link_aud
    ADD CONSTRAINT tf_profile_link_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3469 (class 2606 OID 752702)
-- Name: tf_profile_link_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_profile_link
    ADD CONSTRAINT tf_profile_link_pkey PRIMARY KEY (id);


--
-- TOC entry 3477 (class 2606 OID 752720)
-- Name: tf_rule_criterion_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_rule_criterion
    ADD CONSTRAINT tf_rule_criterion_pkey PRIMARY KEY (id);


--
-- TOC entry 3907 (class 2606 OID 753728)
-- Name: tf_rule_list_criterion_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_rule_list_criterion
    ADD CONSTRAINT tf_rule_list_criterion_pkey PRIMARY KEY (tf_rule_list_criterion_id);


--
-- TOC entry 3475 (class 2606 OID 752715)
-- Name: tf_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_rule
    ADD CONSTRAINT tf_rule_pkey PRIMARY KEY (id);


--
-- TOC entry 3483 (class 2606 OID 752736)
-- Name: tf_standard_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_standard_aud
    ADD CONSTRAINT tf_standard_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3479 (class 2606 OID 752728)
-- Name: tf_standard_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_standard
    ADD CONSTRAINT tf_standard_pkey PRIMARY KEY (id);


--
-- TOC entry 3489 (class 2606 OID 752752)
-- Name: tf_transaction_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_aud
    ADD CONSTRAINT tf_transaction_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3495 (class 2606 OID 752762)
-- Name: tf_transaction_link_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_link_aud
    ADD CONSTRAINT tf_transaction_link_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3491 (class 2606 OID 752757)
-- Name: tf_transaction_link_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_link
    ADD CONSTRAINT tf_transaction_link_pkey PRIMARY KEY (id);


--
-- TOC entry 3503 (class 2606 OID 752778)
-- Name: tf_transaction_option_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_option_type_aud
    ADD CONSTRAINT tf_transaction_option_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3497 (class 2606 OID 752770)
-- Name: tf_transaction_option_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_option_type
    ADD CONSTRAINT tf_transaction_option_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3485 (class 2606 OID 752744)
-- Name: tf_transaction_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction
    ADD CONSTRAINT tf_transaction_pkey PRIMARY KEY (id);


--
-- TOC entry 3913 (class 2606 OID 753736)
-- Name: tf_transaction_standard_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_standard_aud
    ADD CONSTRAINT tf_transaction_standard_aud_pkey PRIMARY KEY (rev, transaction_id, standard_id);


--
-- TOC entry 3511 (class 2606 OID 752791)
-- Name: tf_transaction_status_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_status_type_aud
    ADD CONSTRAINT tf_transaction_status_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3505 (class 2606 OID 752786)
-- Name: tf_transaction_status_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_status_type
    ADD CONSTRAINT tf_transaction_status_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3517 (class 2606 OID 752804)
-- Name: tf_ws_transaction_usage_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_ws_transaction_usage_aud
    ADD CONSTRAINT tf_ws_transaction_usage_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3513 (class 2606 OID 752799)
-- Name: tf_ws_transaction_usage_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_ws_transaction_usage
    ADD CONSTRAINT tf_ws_transaction_usage_pkey PRIMARY KEY (id);


--
-- TOC entry 3519 (class 2606 OID 752812)
-- Name: tm_abstract_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_abstract_configuration
    ADD CONSTRAINT tm_abstract_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3915 (class 2606 OID 753744)
-- Name: tm_annotation_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_annotation
    ADD CONSTRAINT tm_annotation_pkey PRIMARY KEY (id);


--
-- TOC entry 3921 (class 2606 OID 753752)
-- Name: tm_conf_mapping_w_aipo_w_conftypes_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_conf_mapping_w_aipo_w_conftypes_aud
    ADD CONSTRAINT tm_conf_mapping_w_aipo_w_conftypes_aud_pkey PRIMARY KEY (rev, tm_conf_mapped_id, tm_conftypes_id);


--
-- TOC entry 3527 (class 2606 OID 752830)
-- Name: tm_configuration_mapped_with_aipo_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_configuration_mapped_with_aipo_aud
    ADD CONSTRAINT tm_configuration_mapped_with_aipo_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3523 (class 2606 OID 752825)
-- Name: tm_configuration_mapped_with_aipo_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_configuration_mapped_with_aipo
    ADD CONSTRAINT tm_configuration_mapped_with_aipo_pkey PRIMARY KEY (id);


--
-- TOC entry 3521 (class 2606 OID 752820)
-- Name: tm_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_configuration
    ADD CONSTRAINT tm_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3533 (class 2606 OID 752846)
-- Name: tm_configuration_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_configuration_type_aud
    ADD CONSTRAINT tm_configuration_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3529 (class 2606 OID 752838)
-- Name: tm_configuration_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_configuration_type
    ADD CONSTRAINT tm_configuration_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3537 (class 2606 OID 752858)
-- Name: tm_conftype_w_ports_wstype_and_sop_class_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class_aud
    ADD CONSTRAINT tm_conftype_w_ports_wstype_and_sop_class_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3535 (class 2606 OID 752853)
-- Name: tm_conftype_w_ports_wstype_and_sop_class_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class
    ADD CONSTRAINT tm_conftype_w_ports_wstype_and_sop_class_pkey PRIMARY KEY (id);


--
-- TOC entry 3539 (class 2606 OID 752866)
-- Name: tm_connectathon_participant_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_connectathon_participant
    ADD CONSTRAINT tm_connectathon_participant_pkey PRIMARY KEY (id);


--
-- TOC entry 3543 (class 2606 OID 752874)
-- Name: tm_connectathon_participant_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_connectathon_participant_status
    ADD CONSTRAINT tm_connectathon_participant_status_pkey PRIMARY KEY (id);


--
-- TOC entry 3549 (class 2606 OID 752890)
-- Name: tm_contextual_information_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_contextual_information_aud
    ADD CONSTRAINT tm_contextual_information_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3551 (class 2606 OID 752898)
-- Name: tm_contextual_information_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_contextual_information_instance
    ADD CONSTRAINT tm_contextual_information_instance_pkey PRIMARY KEY (id);


--
-- TOC entry 3545 (class 2606 OID 752882)
-- Name: tm_contextual_information_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_contextual_information
    ADD CONSTRAINT tm_contextual_information_pkey PRIMARY KEY (id);


--
-- TOC entry 3553 (class 2606 OID 752906)
-- Name: tm_data_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_data_type
    ADD CONSTRAINT tm_data_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3557 (class 2606 OID 752914)
-- Name: tm_demonstration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_demonstration
    ADD CONSTRAINT tm_demonstration_pkey PRIMARY KEY (id);


--
-- TOC entry 3561 (class 2606 OID 752919)
-- Name: tm_demonstration_system_in_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_demonstration_system_in_session
    ADD CONSTRAINT tm_demonstration_system_in_session_pkey PRIMARY KEY (demonstration_id, system_in_session_id);


--
-- TOC entry 3565 (class 2606 OID 752930)
-- Name: tm_dicom_scp_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_dicom_scp_configuration
    ADD CONSTRAINT tm_dicom_scp_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3569 (class 2606 OID 752941)
-- Name: tm_dicom_scu_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_dicom_scu_configuration
    ADD CONSTRAINT tm_dicom_scu_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3573 (class 2606 OID 752949)
-- Name: tm_generic_oids_institution_for_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_generic_oids_institution_for_session
    ADD CONSTRAINT tm_generic_oids_institution_for_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3577 (class 2606 OID 752957)
-- Name: tm_generic_oids_ip_config_param_for_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_generic_oids_ip_config_param_for_session
    ADD CONSTRAINT tm_generic_oids_ip_config_param_for_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3583 (class 2606 OID 752965)
-- Name: tm_hl7_initiator_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_initiator_configuration
    ADD CONSTRAINT tm_hl7_initiator_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3587 (class 2606 OID 752977)
-- Name: tm_hl7_responder_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_responder_configuration
    ADD CONSTRAINT tm_hl7_responder_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3591 (class 2606 OID 752985)
-- Name: tm_hl7_v3_initiator_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_v3_initiator_configuration
    ADD CONSTRAINT tm_hl7_v3_initiator_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3595 (class 2606 OID 752996)
-- Name: tm_hl7_v3_responder_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_v3_responder_configuration
    ADD CONSTRAINT tm_hl7_v3_responder_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3599 (class 2606 OID 753004)
-- Name: tm_home_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_home
    ADD CONSTRAINT tm_home_pkey PRIMARY KEY (id);


--
-- TOC entry 3603 (class 2606 OID 753012)
-- Name: tm_host_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_host
    ADD CONSTRAINT tm_host_pkey PRIMARY KEY (id);


--
-- TOC entry 3605 (class 2606 OID 753020)
-- Name: tm_institution_system_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_institution_system
    ADD CONSTRAINT tm_institution_system_pkey PRIMARY KEY (id);


--
-- TOC entry 3609 (class 2606 OID 753029)
-- Name: tm_invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_invoice
    ADD CONSTRAINT tm_invoice_pkey PRIMARY KEY (id);


--
-- TOC entry 3619 (class 2606 OID 753045)
-- Name: tm_jira_issues_to_test_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_jira_issues_to_test_aud
    ADD CONSTRAINT tm_jira_issues_to_test_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3615 (class 2606 OID 753037)
-- Name: tm_jira_issues_to_test_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_jira_issues_to_test
    ADD CONSTRAINT tm_jira_issues_to_test_pkey PRIMARY KEY (id);


--
-- TOC entry 3625 (class 2606 OID 753061)
-- Name: tm_meta_test_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_meta_test_aud
    ADD CONSTRAINT tm_meta_test_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3621 (class 2606 OID 753053)
-- Name: tm_meta_test_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_meta_test
    ADD CONSTRAINT tm_meta_test_pkey PRIMARY KEY (id);


--
-- TOC entry 3929 (class 2606 OID 753768)
-- Name: tm_meta_test_test_roles_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_meta_test_test_roles_aud
    ADD CONSTRAINT tm_meta_test_test_roles_aud_pkey PRIMARY KEY (rev, meta_test_id, test_roles_id);


--
-- TOC entry 3925 (class 2606 OID 753763)
-- Name: tm_meta_test_test_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_meta_test_test_roles
    ADD CONSTRAINT tm_meta_test_test_roles_pkey PRIMARY KEY (test_roles_id);


--
-- TOC entry 3627 (class 2606 OID 753066)
-- Name: tm_monitor_in_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_monitor_in_session
    ADD CONSTRAINT tm_monitor_in_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3631 (class 2606 OID 753071)
-- Name: tm_monitor_test_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_monitor_test
    ADD CONSTRAINT tm_monitor_test_pkey PRIMARY KEY (monitor_id, test_id);


--
-- TOC entry 3635 (class 2606 OID 753079)
-- Name: tm_network_config_for_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_network_config_for_session
    ADD CONSTRAINT tm_network_config_for_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3935 (class 2606 OID 753784)
-- Name: tm_object_attribute_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_attribute_aud
    ADD CONSTRAINT tm_object_attribute_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3943 (class 2606 OID 753800)
-- Name: tm_object_attribute_option_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_attribute_option_aud
    ADD CONSTRAINT tm_object_attribute_option_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3937 (class 2606 OID 753792)
-- Name: tm_object_attribute_option_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_attribute_option
    ADD CONSTRAINT tm_object_attribute_option_pkey PRIMARY KEY (id);


--
-- TOC entry 3931 (class 2606 OID 753776)
-- Name: tm_object_attribute_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_attribute
    ADD CONSTRAINT tm_object_attribute_pkey PRIMARY KEY (id);


--
-- TOC entry 3949 (class 2606 OID 753813)
-- Name: tm_object_creator_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_creator_aud
    ADD CONSTRAINT tm_object_creator_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3945 (class 2606 OID 753808)
-- Name: tm_object_creator_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_creator
    ADD CONSTRAINT tm_object_creator_pkey PRIMARY KEY (id);


--
-- TOC entry 3955 (class 2606 OID 753829)
-- Name: tm_object_file_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_file_aud
    ADD CONSTRAINT tm_object_file_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3951 (class 2606 OID 753821)
-- Name: tm_object_file_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_file
    ADD CONSTRAINT tm_object_file_pkey PRIMARY KEY (id);


--
-- TOC entry 3961 (class 2606 OID 753845)
-- Name: tm_object_file_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_file_type_aud
    ADD CONSTRAINT tm_object_file_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3957 (class 2606 OID 753837)
-- Name: tm_object_file_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_file_type
    ADD CONSTRAINT tm_object_file_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3965 (class 2606 OID 753858)
-- Name: tm_object_instance_annotation_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_instance_annotation
    ADD CONSTRAINT tm_object_instance_annotation_pkey PRIMARY KEY (id);


--
-- TOC entry 3967 (class 2606 OID 753866)
-- Name: tm_object_instance_attribute_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_instance_attribute
    ADD CONSTRAINT tm_object_instance_attribute_pkey PRIMARY KEY (id);


--
-- TOC entry 3969 (class 2606 OID 753874)
-- Name: tm_object_instance_file_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_instance_file
    ADD CONSTRAINT tm_object_instance_file_pkey PRIMARY KEY (id);


--
-- TOC entry 3963 (class 2606 OID 753853)
-- Name: tm_object_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_instance
    ADD CONSTRAINT tm_object_instance_pkey PRIMARY KEY (id);


--
-- TOC entry 3975 (class 2606 OID 753890)
-- Name: tm_object_instance_validation_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_instance_validation_aud
    ADD CONSTRAINT tm_object_instance_validation_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3971 (class 2606 OID 753882)
-- Name: tm_object_instance_validation_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_instance_validation
    ADD CONSTRAINT tm_object_instance_validation_pkey PRIMARY KEY (id);


--
-- TOC entry 3981 (class 2606 OID 753903)
-- Name: tm_object_reader_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_reader_aud
    ADD CONSTRAINT tm_object_reader_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3977 (class 2606 OID 753898)
-- Name: tm_object_reader_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_reader
    ADD CONSTRAINT tm_object_reader_pkey PRIMARY KEY (id);


--
-- TOC entry 3987 (class 2606 OID 753919)
-- Name: tm_object_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_type_aud
    ADD CONSTRAINT tm_object_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3983 (class 2606 OID 753911)
-- Name: tm_object_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_type
    ADD CONSTRAINT tm_object_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3643 (class 2606 OID 753092)
-- Name: tm_object_type_status_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_type_status_aud
    ADD CONSTRAINT tm_object_type_status_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3639 (class 2606 OID 753087)
-- Name: tm_object_type_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_type_status
    ADD CONSTRAINT tm_object_type_status_pkey PRIMARY KEY (id);


--
-- TOC entry 3645 (class 2606 OID 753097)
-- Name: tm_oid_institution_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oid_institution
    ADD CONSTRAINT tm_oid_institution_pkey PRIMARY KEY (id);


--
-- TOC entry 3989 (class 2606 OID 753927)
-- Name: tm_oid_requirement_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oid_requirement
    ADD CONSTRAINT tm_oid_requirement_pkey PRIMARY KEY (id);


--
-- TOC entry 3993 (class 2606 OID 753938)
-- Name: tm_oid_root_definition_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oid_root_definition
    ADD CONSTRAINT tm_oid_root_definition_pkey PRIMARY KEY (id);


--
-- TOC entry 3995 (class 2606 OID 753946)
-- Name: tm_oid_system_assignment_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oid_system_assignment
    ADD CONSTRAINT tm_oid_system_assignment_pkey PRIMARY KEY (id);


--
-- TOC entry 3647 (class 2606 OID 753105)
-- Name: tm_oids_ip_config_param_for_session_for_hl7_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oids_ip_config_param_for_session_for_hl7
    ADD CONSTRAINT tm_oids_ip_config_param_for_session_for_hl7_pkey PRIMARY KEY (id);


--
-- TOC entry 3655 (class 2606 OID 753121)
-- Name: tm_path_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_path_aud
    ADD CONSTRAINT tm_path_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3651 (class 2606 OID 753113)
-- Name: tm_path_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_path
    ADD CONSTRAINT tm_path_pkey PRIMARY KEY (id);


--
-- TOC entry 3659 (class 2606 OID 753137)
-- Name: tm_patient_assigning_autority_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient_assigning_autority
    ADD CONSTRAINT tm_patient_assigning_autority_pkey PRIMARY KEY (id);


--
-- TOC entry 3663 (class 2606 OID 753145)
-- Name: tm_patient_identifier_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient_identifier
    ADD CONSTRAINT tm_patient_identifier_pkey PRIMARY KEY (id);


--
-- TOC entry 4003 (class 2606 OID 753954)
-- Name: tm_patient_patient_identifier_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient_patient_identifier
    ADD CONSTRAINT tm_patient_patient_identifier_pkey PRIMARY KEY (identifier_id);


--
-- TOC entry 3657 (class 2606 OID 753129)
-- Name: tm_patient_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient
    ADD CONSTRAINT tm_patient_pkey PRIMARY KEY (id);


--
-- TOC entry 3667 (class 2606 OID 753155)
-- Name: tm_proxy_configuration_for_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_proxy_configuration_for_session
    ADD CONSTRAINT tm_proxy_configuration_for_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3675 (class 2606 OID 753168)
-- Name: tm_role_in_test_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_role_in_test_aud
    ADD CONSTRAINT tm_role_in_test_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3671 (class 2606 OID 753163)
-- Name: tm_role_in_test_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_role_in_test
    ADD CONSTRAINT tm_role_in_test_pkey PRIMARY KEY (id);


--
-- TOC entry 4009 (class 2606 OID 753965)
-- Name: tm_role_in_test_test_participants_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_role_in_test_test_participants_aud
    ADD CONSTRAINT tm_role_in_test_test_participants_aud_pkey PRIMARY KEY (rev, role_in_test_id, test_participants_id);


--
-- TOC entry 3677 (class 2606 OID 753176)
-- Name: tm_sap_result_tr_comment_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_sap_result_tr_comment
    ADD CONSTRAINT tm_sap_result_tr_comment_pkey PRIMARY KEY (id);


--
-- TOC entry 3681 (class 2606 OID 753184)
-- Name: tm_share_patient_logger_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_share_patient_logger
    ADD CONSTRAINT tm_share_patient_logger_pkey PRIMARY KEY (id);


--
-- TOC entry 3687 (class 2606 OID 753200)
-- Name: tm_sop_class_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_sop_class_aud
    ADD CONSTRAINT tm_sop_class_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3683 (class 2606 OID 753192)
-- Name: tm_sop_class_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_sop_class
    ADD CONSTRAINT tm_sop_class_pkey PRIMARY KEY (id);


--
-- TOC entry 3689 (class 2606 OID 753208)
-- Name: tm_status_results_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_status_results
    ADD CONSTRAINT tm_status_results_pkey PRIMARY KEY (id);


--
-- TOC entry 3693 (class 2606 OID 753216)
-- Name: tm_step_inst_msg_process_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_step_inst_msg_process_status
    ADD CONSTRAINT tm_step_inst_msg_process_status_pkey PRIMARY KEY (id);


--
-- TOC entry 3697 (class 2606 OID 753224)
-- Name: tm_step_instance_exec_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_step_instance_exec_status
    ADD CONSTRAINT tm_step_instance_exec_status_pkey PRIMARY KEY (id);


--
-- TOC entry 4011 (class 2606 OID 753973)
-- Name: tm_step_instance_message_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT tm_step_instance_message_pkey PRIMARY KEY (id);


--
-- TOC entry 4015 (class 2606 OID 753981)
-- Name: tm_step_instance_msg_validation_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_step_instance_msg_validation
    ADD CONSTRAINT tm_step_instance_msg_validation_pkey PRIMARY KEY (id);


--
-- TOC entry 3701 (class 2606 OID 753229)
-- Name: tm_subtypes_per_system_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_subtypes_per_system
    ADD CONSTRAINT tm_subtypes_per_system_pkey PRIMARY KEY (id);


--
-- TOC entry 3705 (class 2606 OID 753240)
-- Name: tm_syslog_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_syslog_configuration
    ADD CONSTRAINT tm_syslog_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3715 (class 2606 OID 753253)
-- Name: tm_system_actor_profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_actor_profiles
    ADD CONSTRAINT tm_system_actor_profiles_pkey PRIMARY KEY (id);


--
-- TOC entry 3719 (class 2606 OID 753261)
-- Name: tm_system_aipo_result_for_a_testing_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_aipo_result_for_a_testing_session
    ADD CONSTRAINT tm_system_aipo_result_for_a_testing_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3723 (class 2606 OID 753269)
-- Name: tm_system_event_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_event
    ADD CONSTRAINT tm_system_event_pkey PRIMARY KEY (id);


--
-- TOC entry 3725 (class 2606 OID 753277)
-- Name: tm_system_in_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_in_session
    ADD CONSTRAINT tm_system_in_session_pkey PRIMARY KEY (id);


--
-- TOC entry 3729 (class 2606 OID 753285)
-- Name: tm_system_in_session_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_in_session_status
    ADD CONSTRAINT tm_system_in_session_status_pkey PRIMARY KEY (id);


--
-- TOC entry 3733 (class 2606 OID 753290)
-- Name: tm_system_in_session_user_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_in_session_user
    ADD CONSTRAINT tm_system_in_session_user_pkey PRIMARY KEY (id);


--
-- TOC entry 3709 (class 2606 OID 753248)
-- Name: tm_system_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system
    ADD CONSTRAINT tm_system_pkey PRIMARY KEY (id);


--
-- TOC entry 3741 (class 2606 OID 753306)
-- Name: tm_test_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_aud
    ADD CONSTRAINT tm_test_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3751 (class 2606 OID 753339)
-- Name: tm_test_description_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_description_aud
    ADD CONSTRAINT tm_test_description_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3749 (class 2606 OID 753331)
-- Name: tm_test_description_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_description
    ADD CONSTRAINT tm_test_description_pkey PRIMARY KEY (id);


--
-- TOC entry 3755 (class 2606 OID 753355)
-- Name: tm_test_instance_event_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_event
    ADD CONSTRAINT tm_test_instance_event_pkey PRIMARY KEY (id);


--
-- TOC entry 3757 (class 2606 OID 753363)
-- Name: tm_test_instance_exec_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_exec_status
    ADD CONSTRAINT tm_test_instance_exec_status_pkey PRIMARY KEY (id);


--
-- TOC entry 3761 (class 2606 OID 753368)
-- Name: tm_test_instance_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_participants
    ADD CONSTRAINT tm_test_instance_participants_pkey PRIMARY KEY (id);


--
-- TOC entry 3763 (class 2606 OID 753376)
-- Name: tm_test_instance_participants_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_participants_status
    ADD CONSTRAINT tm_test_instance_participants_status_pkey PRIMARY KEY (id);


--
-- TOC entry 3765 (class 2606 OID 753384)
-- Name: tm_test_instance_path_to_log_file_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_path_to_log_file
    ADD CONSTRAINT tm_test_instance_path_to_log_file_pkey PRIMARY KEY (id);


--
-- TOC entry 3753 (class 2606 OID 753347)
-- Name: tm_test_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance
    ADD CONSTRAINT tm_test_instance_pkey PRIMARY KEY (id);


--
-- TOC entry 4021 (class 2606 OID 753995)
-- Name: tm_test_instance_test_steps_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_test_steps_instance
    ADD CONSTRAINT tm_test_instance_test_steps_instance_pkey PRIMARY KEY (test_steps_instance_id);


--
-- TOC entry 3773 (class 2606 OID 753400)
-- Name: tm_test_option_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_option_aud
    ADD CONSTRAINT tm_test_option_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3769 (class 2606 OID 753392)
-- Name: tm_test_option_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_option
    ADD CONSTRAINT tm_test_option_pkey PRIMARY KEY (id);


--
-- TOC entry 3779 (class 2606 OID 753410)
-- Name: tm_test_participants_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_participants_aud
    ADD CONSTRAINT tm_test_participants_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3775 (class 2606 OID 753405)
-- Name: tm_test_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_participants
    ADD CONSTRAINT tm_test_participants_pkey PRIMARY KEY (id);


--
-- TOC entry 3785 (class 2606 OID 753426)
-- Name: tm_test_peer_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_peer_type_aud
    ADD CONSTRAINT tm_test_peer_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3781 (class 2606 OID 753418)
-- Name: tm_test_peer_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_peer_type
    ADD CONSTRAINT tm_test_peer_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3737 (class 2606 OID 753298)
-- Name: tm_test_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test
    ADD CONSTRAINT tm_test_pkey PRIMARY KEY (id);


--
-- TOC entry 3747 (class 2606 OID 753323)
-- Name: tm_test_roles_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_roles_aud
    ADD CONSTRAINT tm_test_roles_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3743 (class 2606 OID 753315)
-- Name: tm_test_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_roles
    ADD CONSTRAINT tm_test_roles_pkey PRIMARY KEY (id);


--
-- TOC entry 3791 (class 2606 OID 753442)
-- Name: tm_test_status_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_status_aud
    ADD CONSTRAINT tm_test_status_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3787 (class 2606 OID 753434)
-- Name: tm_test_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_status
    ADD CONSTRAINT tm_test_status_pkey PRIMARY KEY (id);


--
-- TOC entry 4025 (class 2606 OID 754006)
-- Name: tm_test_step_message_profile_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_step_message_profile
    ADD CONSTRAINT tm_test_step_message_profile_pkey PRIMARY KEY (id);


--
-- TOC entry 3795 (class 2606 OID 753458)
-- Name: tm_test_steps_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_aud
    ADD CONSTRAINT tm_test_steps_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3801 (class 2606 OID 753474)
-- Name: tm_test_steps_data_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_data
    ADD CONSTRAINT tm_test_steps_data_pkey PRIMARY KEY (id);


--
-- TOC entry 4029 (class 2606 OID 754014)
-- Name: tm_test_steps_input_ci_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_input_ci_aud
    ADD CONSTRAINT tm_test_steps_input_ci_aud_pkey PRIMARY KEY (rev, test_steps_id, contextual_information_id);


--
-- TOC entry 4033 (class 2606 OID 754022)
-- Name: tm_test_steps_instance_output_ci_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_instance_output_ci_instance
    ADD CONSTRAINT tm_test_steps_instance_output_ci_instance_pkey PRIMARY KEY (contextual_information_instance_id);


--
-- TOC entry 3803 (class 2606 OID 753482)
-- Name: tm_test_steps_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_instance
    ADD CONSTRAINT tm_test_steps_instance_pkey PRIMARY KEY (id);


--
-- TOC entry 3797 (class 2606 OID 753466)
-- Name: tm_test_steps_instance_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_instance_status
    ADD CONSTRAINT tm_test_steps_instance_status_pkey PRIMARY KEY (id);


--
-- TOC entry 3809 (class 2606 OID 753498)
-- Name: tm_test_steps_option_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_option_aud
    ADD CONSTRAINT tm_test_steps_option_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3805 (class 2606 OID 753490)
-- Name: tm_test_steps_option_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_option
    ADD CONSTRAINT tm_test_steps_option_pkey PRIMARY KEY (id);


--
-- TOC entry 4041 (class 2606 OID 754032)
-- Name: tm_test_steps_output_ci_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_output_ci_aud
    ADD CONSTRAINT tm_test_steps_output_ci_aud_pkey PRIMARY KEY (rev, test_steps_id, contextual_information_id);


--
-- TOC entry 4037 (class 2606 OID 754027)
-- Name: tm_test_steps_output_ci_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_output_ci
    ADD CONSTRAINT tm_test_steps_output_ci_pkey PRIMARY KEY (contextual_information_id);


--
-- TOC entry 3793 (class 2606 OID 753450)
-- Name: tm_test_steps_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps
    ADD CONSTRAINT tm_test_steps_pkey PRIMARY KEY (id);


--
-- TOC entry 4051 (class 2606 OID 754045)
-- Name: tm_test_test_description_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_test_description_aud
    ADD CONSTRAINT tm_test_test_description_aud_pkey PRIMARY KEY (rev, test_id, test_description_id);


--
-- TOC entry 4047 (class 2606 OID 754040)
-- Name: tm_test_test_description_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_test_description
    ADD CONSTRAINT tm_test_test_description_pkey PRIMARY KEY (test_description_id);


--
-- TOC entry 4057 (class 2606 OID 754055)
-- Name: tm_test_test_steps_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_test_steps_aud
    ADD CONSTRAINT tm_test_test_steps_aud_pkey PRIMARY KEY (rev, test_id, test_steps_id);


--
-- TOC entry 4053 (class 2606 OID 754050)
-- Name: tm_test_test_steps_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_test_steps
    ADD CONSTRAINT tm_test_test_steps_pkey PRIMARY KEY (test_steps_id);


--
-- TOC entry 3815 (class 2606 OID 753514)
-- Name: tm_test_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_type_aud
    ADD CONSTRAINT tm_test_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3811 (class 2606 OID 753506)
-- Name: tm_test_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_type
    ADD CONSTRAINT tm_test_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3817 (class 2606 OID 753523)
-- Name: tm_testing_session_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_testing_session
    ADD CONSTRAINT tm_testing_session_pkey PRIMARY KEY (id);


--
-- TOC entry 4063 (class 2606 OID 754072)
-- Name: tm_testing_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_testing_type
    ADD CONSTRAINT tm_testing_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3823 (class 2606 OID 753539)
-- Name: tm_transport_layer_for_config_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_transport_layer_for_config_aud
    ADD CONSTRAINT tm_transport_layer_for_config_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3819 (class 2606 OID 753531)
-- Name: tm_transport_layer_for_config_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_transport_layer_for_config
    ADD CONSTRAINT tm_transport_layer_for_config_pkey PRIMARY KEY (id);


--
-- TOC entry 3825 (class 2606 OID 753547)
-- Name: tm_user_comment_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_user_comment
    ADD CONSTRAINT tm_user_comment_pkey PRIMARY KEY (id);


--
-- TOC entry 4069 (class 2606 OID 754080)
-- Name: tm_user_photo_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_user_photo
    ADD CONSTRAINT tm_user_photo_pkey PRIMARY KEY (id);


--
-- TOC entry 3827 (class 2606 OID 753555)
-- Name: tm_user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_user_preferences
    ADD CONSTRAINT tm_user_preferences_pkey PRIMARY KEY (id);


--
-- TOC entry 3831 (class 2606 OID 753566)
-- Name: tm_web_service_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_web_service_configuration
    ADD CONSTRAINT tm_web_service_configuration_pkey PRIMARY KEY (id);


--
-- TOC entry 3839 (class 2606 OID 753579)
-- Name: tm_web_service_type_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_web_service_type_aud
    ADD CONSTRAINT tm_web_service_type_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3835 (class 2606 OID 753574)
-- Name: tm_web_service_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_web_service_type
    ADD CONSTRAINT tm_web_service_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3593 (class 2606 OID 754218)
-- Name: uk_10buhf0s8g3nd52awmy9reqo8; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_v3_initiator_configuration
    ADD CONSTRAINT uk_10buhf0s8g3nd52awmy9reqo8 UNIQUE (id);


--
-- TOC entry 3799 (class 2606 OID 754296)
-- Name: uk_11d6hfjr8ibpl0qu4l16r5ghs; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_instance_status
    ADD CONSTRAINT uk_11d6hfjr8ibpl0qu4l16r5ghs UNIQUE (keyword);


--
-- TOC entry 3633 (class 2606 OID 754356)
-- Name: uk_1hn1p5frtj81roa7jtx1b1bvx; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_monitor_test
    ADD CONSTRAINT uk_1hn1p5frtj81roa7jtx1b1bvx UNIQUE (monitor_id, test_id);


--
-- TOC entry 3997 (class 2606 OID 754380)
-- Name: uk_1vo5arg5con3rp0hyrytj2k2d; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oid_system_assignment
    ADD CONSTRAINT uk_1vo5arg5con3rp0hyrytj2k2d UNIQUE (oid_value);


--
-- TOC entry 3881 (class 2606 OID 754328)
-- Name: uk_28t1c79mdb8clmu3ilsb7bkuu; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_dicom_documents_for_systems
    ADD CONSTRAINT uk_28t1c79mdb8clmu3ilsb7bkuu UNIQUE (system_id, path_linking_a_document_id);


--
-- TOC entry 3555 (class 2606 OID 754200)
-- Name: uk_2cnamhxywvpywxgb2ieo825ow; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_data_type
    ADD CONSTRAINT uk_2cnamhxywvpywxgb2ieo825ow UNIQUE (keyword);


--
-- TOC entry 4081 (class 2606 OID 754426)
-- Name: uk_2mhium33qhmvjj0bup1ai22it; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_role
    ADD CONSTRAINT uk_2mhium33qhmvjj0bup1ai22it UNIQUE (name);


--
-- TOC entry 4065 (class 2606 OID 754416)
-- Name: uk_2o6l4gmlw6hlqf264vaqtahwd; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_testing_type
    ADD CONSTRAINT uk_2o6l4gmlw6hlqf264vaqtahwd UNIQUE (keyword);


--
-- TOC entry 3721 (class 2606 OID 754272)
-- Name: uk_2uns6kpga7ppk1fqley584ig2; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_aipo_result_for_a_testing_session
    ADD CONSTRAINT uk_2uns6kpga7ppk1fqley584ig2 UNIQUE (system_actor_profile_id, testing_session_id);


--
-- TOC entry 3347 (class 2606 OID 754126)
-- Name: uk_2voggjxoj0tlcovu29st15arr; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_crawler_changed_integration_statements
    ADD CONSTRAINT uk_2voggjxoj0tlcovu29st15arr UNIQUE (system_id, crawler_report_id);


--
-- TOC entry 4043 (class 2606 OID 754406)
-- Name: uk_2vyce7ta80j2pwqf2vi7vcxte; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_test_steps_data
    ADD CONSTRAINT uk_2vyce7ta80j2pwqf2vi7vcxte UNIQUE (test_steps_id, test_steps_data_id);


--
-- TOC entry 3959 (class 2606 OID 754368)
-- Name: uk_3ib4ell78yk3j6j2wah4cob3f; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_file_type
    ADD CONSTRAINT uk_3ib4ell78yk3j6j2wah4cob3f UNIQUE (keyword);


--
-- TOC entry 3807 (class 2606 OID 754298)
-- Name: uk_3ty9i0xqmr3rqb3nxfa4mbn0l; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_option
    ADD CONSTRAINT uk_3ty9i0xqmr3rqb3nxfa4mbn0l UNIQUE (keyword);


--
-- TOC entry 4085 (class 2606 OID 754428)
-- Name: uk_40tx3h9q3qxciis823tkciy31; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_user_role
    ADD CONSTRAINT uk_40tx3h9q3qxciis823tkciy31 UNIQUE (user_id, role_id);


--
-- TOC entry 3427 (class 2606 OID 754158)
-- Name: uk_436tct1jl8811q2xgd8bjth9q; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_domain
    ADD CONSTRAINT uk_436tct1jl8811q2xgd8bjth9q UNIQUE (keyword);


--
-- TOC entry 3703 (class 2606 OID 754262)
-- Name: uk_4jmwjcgdypwx6o98fbh57ygok; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_subtypes_per_system
    ADD CONSTRAINT uk_4jmwjcgdypwx6o98fbh57ygok UNIQUE (system_id, system_subtypes_per_system_type_id);


--
-- TOC entry 3991 (class 2606 OID 754376)
-- Name: uk_4kq9fsdkrtitht5u00mq5g93x; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oid_requirement_aipo
    ADD CONSTRAINT uk_4kq9fsdkrtitht5u00mq5g93x UNIQUE (aipo_id);


--
-- TOC entry 3443 (class 2606 OID 754164)
-- Name: uk_4ojy2hqgxhoytlcrjkp9h9lr3; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile
    ADD CONSTRAINT uk_4ojy2hqgxhoytlcrjkp9h9lr3 UNIQUE (name);


--
-- TOC entry 3861 (class 2606 OID 754320)
-- Name: uk_4x2rymgrys6gpojsuqcxq2prd; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_institution_type
    ADD CONSTRAINT uk_4x2rymgrys6gpojsuqcxq2prd UNIQUE (type);


--
-- TOC entry 3541 (class 2606 OID 754196)
-- Name: uk_4x3q251c75oj0p9vf0jwfr3x; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_connectathon_participant
    ADD CONSTRAINT uk_4x3q251c75oj0p9vf0jwfr3x UNIQUE (email, testing_session_id);


--
-- TOC entry 3789 (class 2606 OID 754294)
-- Name: uk_50ng6rcuqw7gsnlfwuagdeqk4; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_status
    ADD CONSTRAINT uk_50ng6rcuqw7gsnlfwuagdeqk4 UNIQUE (keyword);


--
-- TOC entry 3355 (class 2606 OID 754134)
-- Name: uk_52rsrc6xwgmj26w2rm947w5b9; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_search_log_systems_found
    ADD CONSTRAINT uk_52rsrc6xwgmj26w2rm947w5b9 UNIQUE (system_id, search_report_id);


--
-- TOC entry 3361 (class 2606 OID 754136)
-- Name: uk_535ry4wkukk8xivd9vqvu06hp; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY cmn_application_preference
    ADD CONSTRAINT uk_535ry4wkukk8xivd9vqvu06hp UNIQUE (preference_name);


--
-- TOC entry 4031 (class 2606 OID 754398)
-- Name: uk_59rxha39jxmugs9x3jyaj2djn; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_instance_input_ci_instance
    ADD CONSTRAINT uk_59rxha39jxmugs9x3jyaj2djn UNIQUE (test_steps_instance_id, contextual_information_instance_id);


--
-- TOC entry 4027 (class 2606 OID 754396)
-- Name: uk_5rdivjd19b0n5nqwy3bkb7u9c; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_input_ci
    ADD CONSTRAINT uk_5rdivjd19b0n5nqwy3bkb7u9c UNIQUE (test_steps_id, contextual_information_id);


--
-- TOC entry 3623 (class 2606 OID 754232)
-- Name: uk_5ugit0h6hjiskoajpn6i0arvg; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_meta_test
    ADD CONSTRAINT uk_5ugit0h6hjiskoajpn6i0arvg UNIQUE (keyword);


--
-- TOC entry 3731 (class 2606 OID 754276)
-- Name: uk_5vy8n9xfqxajbmgvmm584227p; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_in_session_status
    ADD CONSTRAINT uk_5vy8n9xfqxajbmgvmm584227p UNIQUE (keyword);


--
-- TOC entry 3579 (class 2606 OID 754212)
-- Name: uk_63nd7mueot21l0ar33r2fhjp5; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_generic_oids_ip_config_param_for_session
    ADD CONSTRAINT uk_63nd7mueot21l0ar33r2fhjp5 UNIQUE (oid_root_value, testing_session_id);


--
-- TOC entry 3829 (class 2606 OID 754304)
-- Name: uk_6e83kvu2r93s4hafcs6gcwmah; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_user_preferences
    ADD CONSTRAINT uk_6e83kvu2r93s4hafcs6gcwmah UNIQUE (user_id);


--
-- TOC entry 3487 (class 2606 OID 754178)
-- Name: uk_6nt35dm69gbrrj0aegkkqalr2; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction
    ADD CONSTRAINT uk_6nt35dm69gbrrj0aegkkqalr2 UNIQUE (keyword);


--
-- TOC entry 3985 (class 2606 OID 754374)
-- Name: uk_6oykhsfjjc39awfljdf6fxrd9; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_type
    ADD CONSTRAINT uk_6oykhsfjjc39awfljdf6fxrd9 UNIQUE (keyword);


--
-- TOC entry 3353 (class 2606 OID 754132)
-- Name: uk_6pk7s91q24wh36ggpq3lmufp7; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_search_criteria_per_report
    ADD CONSTRAINT uk_6pk7s91q24wh36ggpq3lmufp7 UNIQUE (search_log_criterion_id, search_log_report_id);


--
-- TOC entry 3813 (class 2606 OID 754300)
-- Name: uk_6q0ah7pcfjbqk2hr0a3aoa2t6; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_type
    ADD CONSTRAINT uk_6q0ah7pcfjbqk2hr0a3aoa2t6 UNIQUE (keyword);


--
-- TOC entry 3507 (class 2606 OID 754188)
-- Name: uk_712597f0v980ai4l7v0cg1rrh; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_status_type
    ADD CONSTRAINT uk_712597f0v980ai4l7v0cg1rrh UNIQUE (keyword);


--
-- TOC entry 3403 (class 2606 OID 754150)
-- Name: uk_75d73bul1n175ugk6o8v2xgsn; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_default_ports
    ADD CONSTRAINT uk_75d73bul1n175ugk6o8v2xgsn UNIQUE (actor_id, config_name, type_of_config);


--
-- TOC entry 3707 (class 2606 OID 754264)
-- Name: uk_7940buif4fubyah9eb9g2ua7h; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_syslog_configuration
    ADD CONSTRAINT uk_7940buif4fubyah9eb9g2ua7h UNIQUE (id);


--
-- TOC entry 3783 (class 2606 OID 754292)
-- Name: uk_7bj58xq0vovkqdxe37lgqfcqm; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_peer_type
    ADD CONSTRAINT uk_7bj58xq0vovkqdxe37lgqfcqm UNIQUE (keyword);


--
-- TOC entry 4045 (class 2606 OID 754404)
-- Name: uk_7bla4jq9vrgr2ke17oq45ku5d; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_test_steps_data
    ADD CONSTRAINT uk_7bla4jq9vrgr2ke17oq45ku5d UNIQUE (test_steps_data_id);


--
-- TOC entry 3371 (class 2606 OID 754138)
-- Name: uk_7g5gypis7rsyevuml55t9hxvi; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_intro
    ADD CONSTRAINT uk_7g5gypis7rsyevuml55t9hxvi UNIQUE (language);


--
-- TOC entry 3617 (class 2606 OID 754230)
-- Name: uk_7ix8bprdgihbs5esk9osv6phc; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_jira_issues_to_test
    ADD CONSTRAINT uk_7ix8bprdgihbs5esk9osv6phc UNIQUE (jira_key, test_id);


--
-- TOC entry 3777 (class 2606 OID 754290)
-- Name: uk_7k7xjvok2fkhv090gf6k8n6ua; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_participants
    ADD CONSTRAINT uk_7k7xjvok2fkhv090gf6k8n6ua UNIQUE (actor_integration_profile_option_id, is_tested);


--
-- TOC entry 3531 (class 2606 OID 754194)
-- Name: uk_80ce4xdl64cyo038ls8pfsdka; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_configuration_type
    ADD CONSTRAINT uk_80ce4xdl64cyo038ls8pfsdka UNIQUE (class_name);


--
-- TOC entry 3909 (class 2606 OID 754342)
-- Name: uk_81shykw7emr3q41anx9ksqdb6; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_rule_list_criterion
    ADD CONSTRAINT uk_81shykw7emr3q41anx9ksqdb6 UNIQUE (aipocriterions_id);


--
-- TOC entry 3917 (class 2606 OID 754346)
-- Name: uk_81wqciwyf0gnhx01h4jl9ix9m; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_conf_mapping_w_aipo_w_conftypes
    ADD CONSTRAINT uk_81wqciwyf0gnhx01h4jl9ix9m UNIQUE (tm_conftypes_id);


--
-- TOC entry 3481 (class 2606 OID 754176)
-- Name: uk_862df7ewvip5ajs8fpnnx9hm6; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_standard
    ADD CONSTRAINT uk_862df7ewvip5ajs8fpnnx9hm6 UNIQUE (keyword);


--
-- TOC entry 3389 (class 2606 OID 754144)
-- Name: uk_86l8p9bukdmfhqqt9nln4o18q; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_system_type
    ADD CONSTRAINT uk_86l8p9bukdmfhqqt9nln4o18q UNIQUE (keyword);


--
-- TOC entry 3933 (class 2606 OID 754358)
-- Name: uk_87pok6xoc5p1pmd9w3pmcun19; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_attribute
    ADD CONSTRAINT uk_87pok6xoc5p1pmd9w3pmcun19 UNIQUE (keyword);


--
-- TOC entry 3413 (class 2606 OID 754154)
-- Name: uk_8b4tb6bcp3eh7mtsucokgh7fx; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_integration_profile_option
    ADD CONSTRAINT uk_8b4tb6bcp3eh7mtsucokgh7fx UNIQUE (actor_integration_profile_id, integration_profile_option_id);


--
-- TOC entry 3821 (class 2606 OID 754302)
-- Name: uk_8njjtyf6jc3xjhji9diq0ab8t; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_transport_layer_for_config
    ADD CONSTRAINT uk_8njjtyf6jc3xjhji9diq0ab8t UNIQUE (keyword);


--
-- TOC entry 3509 (class 2606 OID 754186)
-- Name: uk_8ojkw0me2bv4tsm5vyrmwb6gu; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_status_type
    ADD CONSTRAINT uk_8ojkw0me2bv4tsm5vyrmwb6gu UNIQUE (name);


--
-- TOC entry 3653 (class 2606 OID 754242)
-- Name: uk_8ufv5mgjsoifbtbq28b64r87s; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_path
    ADD CONSTRAINT uk_8ufv5mgjsoifbtbq28b64r87s UNIQUE (keyword);


--
-- TOC entry 3493 (class 2606 OID 754180)
-- Name: uk_97iyim1a054rgjkpa32j9ksxb; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_link
    ADD CONSTRAINT uk_97iyim1a054rgjkpa32j9ksxb UNIQUE (from_actor_id, to_actor_id, transaction_id);


--
-- TOC entry 3419 (class 2606 OID 754156)
-- Name: uk_9lriehprhbeo91cxqn7rqwjsy; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_affinity_domain
    ADD CONSTRAINT uk_9lriehprhbeo91cxqn7rqwjsy UNIQUE (keyword);


--
-- TOC entry 3911 (class 2606 OID 754344)
-- Name: uk_9xw54omnofi1bn7px13kr6jyk; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_standard
    ADD CONSTRAINT uk_9xw54omnofi1bn7px13kr6jyk UNIQUE (standard_id, transaction_id);


--
-- TOC entry 3575 (class 2606 OID 754208)
-- Name: uk_9yvucm5rkx6qynt97lv8th990; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_generic_oids_institution_for_session
    ADD CONSTRAINT uk_9yvucm5rkx6qynt97lv8th990 UNIQUE (testing_session_id);


--
-- TOC entry 3847 (class 2606 OID 754312)
-- Name: uk_aca60tc5yxx6qnicu68m40cxa; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_gazelle_language
    ADD CONSTRAINT uk_aca60tc5yxx6qnicu68m40cxa UNIQUE (description);


--
-- TOC entry 3559 (class 2606 OID 754202)
-- Name: uk_ajsabrf510pmh8fxks3rqwa8l; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_demonstration
    ADD CONSTRAINT uk_ajsabrf510pmh8fxks3rqwa8l UNIQUE (name);


--
-- TOC entry 3855 (class 2606 OID 754316)
-- Name: uk_an3krxejvje497n5bqhw3pyew; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_institution
    ADD CONSTRAINT uk_an3krxejvje497n5bqhw3pyew UNIQUE (name);


--
-- TOC entry 3567 (class 2606 OID 754204)
-- Name: uk_anse5k9jxcnd3r5if3utd0ia0; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_dicom_scp_configuration
    ADD CONSTRAINT uk_anse5k9jxcnd3r5if3utd0ia0 UNIQUE (id);


--
-- TOC entry 3581 (class 2606 OID 754210)
-- Name: uk_arx4mnq8dccmdtn9m4187dr3j; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_generic_oids_ip_config_param_for_session
    ADD CONSTRAINT uk_arx4mnq8dccmdtn9m4187dr3j UNIQUE (profile_for_id, testing_session_id);


--
-- TOC entry 3973 (class 2606 OID 754370)
-- Name: uk_b59w2rthu7pymkce0yvpbfjqj; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_instance_validation
    ADD CONSTRAINT uk_b59w2rthu7pymkce0yvpbfjqj UNIQUE (description);


--
-- TOC entry 3883 (class 2606 OID 754330)
-- Name: uk_b62n69tgo7jmvs85yon701g5p; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_hl7_documents_for_systems
    ADD CONSTRAINT uk_b62n69tgo7jmvs85yon701g5p UNIQUE (system_id, path_linking_a_document_id);


--
-- TOC entry 3407 (class 2606 OID 754152)
-- Name: uk_b6ejd87o8v27xinqw27nn1hss; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor_integration_profile
    ADD CONSTRAINT uk_b6ejd87o8v27xinqw27nn1hss UNIQUE (actor_id, integration_profile_id);


--
-- TOC entry 3833 (class 2606 OID 754306)
-- Name: uk_ba2hfrlmlwirsk0uoyj2sjqfx; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_web_service_configuration
    ADD CONSTRAINT uk_ba2hfrlmlwirsk0uoyj2sjqfx UNIQUE (id);


--
-- TOC entry 3699 (class 2606 OID 754260)
-- Name: uk_c5puybaipxbybbe67le7axrvg; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_step_instance_exec_status
    ADD CONSTRAINT uk_c5puybaipxbybbe67le7axrvg UNIQUE (key);


--
-- TOC entry 4071 (class 2606 OID 754420)
-- Name: uk_cwvldv0unpwmi4m472u9ai8ga; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_institution_address
    ADD CONSTRAINT uk_cwvldv0unpwmi4m472u9ai8ga UNIQUE (institution_id, address_id);


--
-- TOC entry 3849 (class 2606 OID 754314)
-- Name: uk_cxj0vux0flmxfcwvqwuk893w8; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_gazelle_language
    ADD CONSTRAINT uk_cxj0vux0flmxfcwvqwuk893w8 UNIQUE (keyword);


--
-- TOC entry 3903 (class 2606 OID 754340)
-- Name: uk_d8f4vv4juh946m3kbs3o0w7p2; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_type_link
    ADD CONSTRAINT uk_d8f4vv4juh946m3kbs3o0w7p2 UNIQUE (integration_profile_id, integration_profile_type_id);


--
-- TOC entry 4077 (class 2606 OID 754422)
-- Name: uk_dgnn9iuua4q2tytrlkkhitjf1; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_messages_usr_message_parameters
    ADD CONSTRAINT uk_dgnn9iuua4q2tytrlkkhitjf1 UNIQUE (messageparameters_id);


--
-- TOC entry 4019 (class 2606 OID 754392)
-- Name: uk_dt4ios5pp48n7weh8rxx4n9rf; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_test_status
    ADD CONSTRAINT uk_dt4ios5pp48n7weh8rxx4n9rf UNIQUE (status_id);


--
-- TOC entry 3939 (class 2606 OID 754362)
-- Name: uk_dw1h5bo36p0x0ocac55wp347h; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_attribute_option
    ADD CONSTRAINT uk_dw1h5bo36p0x0ocac55wp347h UNIQUE (keyword);


--
-- TOC entry 3837 (class 2606 OID 754308)
-- Name: uk_dwst1ggdqkkmtdox3rumvf2jr; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_web_service_type
    ADD CONSTRAINT uk_dwst1ggdqkkmtdox3rumvf2jr UNIQUE (profile_id);


--
-- TOC entry 3877 (class 2606 OID 754326)
-- Name: uk_e2mry5ar3m094h9uucxjlyd17; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY validation_status
    ADD CONSTRAINT uk_e2mry5ar3m094h9uucxjlyd17 UNIQUE (key);


--
-- TOC entry 4001 (class 2606 OID 754382)
-- Name: uk_efga6s9lntwcvteg83slb1ayd; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient_assigning_authority_sis
    ADD CONSTRAINT uk_efga6s9lntwcvteg83slb1ayd UNIQUE (patient_assigning_authority_id, system_in_session_id);


--
-- TOC entry 3649 (class 2606 OID 754240)
-- Name: uk_elms3go7hjd6st7hd3shhp14b; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oids_ip_config_param_for_session_for_hl7
    ADD CONSTRAINT uk_elms3go7hjd6st7hd3shhp14b UNIQUE (testing_session_id);


--
-- TOC entry 4079 (class 2606 OID 754424)
-- Name: uk_en9ho8ougnovio1aktpuc7jj4; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_persons_functions
    ADD CONSTRAINT uk_en9ho8ougnovio1aktpuc7jj4 UNIQUE (person_function_id, person_id);


--
-- TOC entry 3999 (class 2606 OID 754378)
-- Name: uk_eqafflltc0vi5wuspeeb58bmn; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_oid_system_assignment
    ADD CONSTRAINT uk_eqafflltc0vi5wuspeeb58bmn UNIQUE (system_in_session_id, oid_requirement_id);


--
-- TOC entry 3607 (class 2606 OID 754224)
-- Name: uk_f8opps24svl0h6lf93vngtuhy; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_institution_system
    ADD CONSTRAINT uk_f8opps24svl0h6lf93vngtuhy UNIQUE (system_id, institution_id);


--
-- TOC entry 4023 (class 2606 OID 754394)
-- Name: uk_fcvt06p9ogywqpi7wv390hdd4; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_tm_test_steps_data
    ADD CONSTRAINT uk_fcvt06p9ogywqpi7wv390hdd4 UNIQUE (teststepsdatalist_id);


--
-- TOC entry 3873 (class 2606 OID 754324)
-- Name: uk_fkv6lchsjlx740y0f34kgt4ng; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY validation_service
    ADD CONSTRAINT uk_fkv6lchsjlx740y0f34kgt4ng UNIQUE (key);


--
-- TOC entry 3953 (class 2606 OID 754366)
-- Name: uk_fpb1spo4lb16jwvv2om0lv4e8; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_file
    ADD CONSTRAINT uk_fpb1spo4lb16jwvv2om0lv4e8 UNIQUE (description, object_id, type_id, uploader);


--
-- TOC entry 3397 (class 2606 OID 754148)
-- Name: uk_fpb6vpa9bnw6cjsb1pucuuivw; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_actor
    ADD CONSTRAINT uk_fpb6vpa9bnw6cjsb1pucuuivw UNIQUE (keyword);


--
-- TOC entry 3499 (class 2606 OID 754182)
-- Name: uk_fv74hod7rl73bhyerub82q67c; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_option_type
    ADD CONSTRAINT uk_fv74hod7rl73bhyerub82q67c UNIQUE (name);


--
-- TOC entry 4087 (class 2606 OID 754430)
-- Name: uk_g0jloiasku8a7gat4lu7866r6; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_users
    ADD CONSTRAINT uk_g0jloiasku8a7gat4lu7866r6 UNIQUE (email);


--
-- TOC entry 3641 (class 2606 OID 754238)
-- Name: uk_g1w5apucxfq82xcvs0pj4l0df; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_type_status
    ADD CONSTRAINT uk_g1w5apucxfq82xcvs0pj4l0df UNIQUE (keyword);


--
-- TOC entry 3393 (class 2606 OID 754146)
-- Name: uk_gitay4shg3ajgue6udvvw4xqf; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_table_session
    ADD CONSTRAINT uk_gitay4shg3ajgue6udvvw4xqf UNIQUE (table_keyword);


--
-- TOC entry 3759 (class 2606 OID 754284)
-- Name: uk_gjrtpg6gttlmrcotbpebkcf4v; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_exec_status
    ADD CONSTRAINT uk_gjrtpg6gttlmrcotbpebkcf4v UNIQUE (key);


--
-- TOC entry 4059 (class 2606 OID 754412)
-- Name: uk_gq3etdcefp2fj86m8gag3x7xd; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_user_comment
    ADD CONSTRAINT uk_gq3etdcefp2fj86m8gag3x7xd UNIQUE (user_comment_id);


--
-- TOC entry 3893 (class 2606 OID 754334)
-- Name: uk_gqqt5kk1xa5npiaptbwwdu9bt; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_document_sections
    ADD CONSTRAINT uk_gqqt5kk1xa5npiaptbwwdu9bt UNIQUE (section, document_id);


--
-- TOC entry 3457 (class 2606 OID 754170)
-- Name: uk_gs2vk7vmy1ggt3p34n1f5da6; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_status_type
    ADD CONSTRAINT uk_gs2vk7vmy1ggt3p34n1f5da6 UNIQUE (keyword);


--
-- TOC entry 4061 (class 2606 OID 754414)
-- Name: uk_gxleq7xkksv2l4l162wu37u2h; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_testing_session_admin
    ADD CONSTRAINT uk_gxleq7xkksv2l4l162wu37u2h UNIQUE (testing_session_id, user_id);


--
-- TOC entry 3695 (class 2606 OID 754258)
-- Name: uk_gyprxsvlm5if4h2nssk5svomp; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_step_inst_msg_process_status
    ADD CONSTRAINT uk_gyprxsvlm5if4h2nssk5svomp UNIQUE (key);


--
-- TOC entry 4013 (class 2606 OID 754388)
-- Name: uk_h1ssaepfongpr260b2fea8tkm; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT uk_h1ssaepfongpr260b2fea8tkm UNIQUE (proxy_msg_id, proxy_type_id, proxy_host_name);


--
-- TOC entry 4055 (class 2606 OID 754410)
-- Name: uk_hf9i4p02djpa5xscdy3rmneuc; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_test_steps
    ADD CONSTRAINT uk_hf9i4p02djpa5xscdy3rmneuc UNIQUE (test_id, test_steps_id);


--
-- TOC entry 3711 (class 2606 OID 754268)
-- Name: uk_hs3ywttp7yc6q6mwg8wjm03qw; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system
    ADD CONSTRAINT uk_hs3ywttp7yc6q6mwg8wjm03qw UNIQUE (keyword);


--
-- TOC entry 3571 (class 2606 OID 754206)
-- Name: uk_i8es6i39yycwgntwmxa8f042w; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_dicom_scu_configuration
    ADD CONSTRAINT uk_i8es6i39yycwgntwmxa8f042w UNIQUE (id);


--
-- TOC entry 3629 (class 2606 OID 754234)
-- Name: uk_icit9xkh4kbs16pco83ekfs6x; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_monitor_in_session
    ADD CONSTRAINT uk_icit9xkh4kbs16pco83ekfs6x UNIQUE (user_id, testing_session_id);


--
-- TOC entry 3685 (class 2606 OID 754254)
-- Name: uk_ifoqgpxeg97br8yaj8g79nu35; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_sop_class
    ADD CONSTRAINT uk_ifoqgpxeg97br8yaj8g79nu35 UNIQUE (keyword);


--
-- TOC entry 3691 (class 2606 OID 754256)
-- Name: uk_ior9tfnc6f6yaxoqrue238b2; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_status_results
    ADD CONSTRAINT uk_ior9tfnc6f6yaxoqrue238b2 UNIQUE (keyword);


--
-- TOC entry 3563 (class 2606 OID 754350)
-- Name: uk_irmi59xhdk6eun3kol3sogx6t; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_demonstration_system_in_session
    ADD CONSTRAINT uk_irmi59xhdk6eun3kol3sogx6t UNIQUE (demonstration_id, system_in_session_id);


--
-- TOC entry 3869 (class 2606 OID 754322)
-- Name: uk_j0g40k0is2g0gw7kiilqnh1nr; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_person_function
    ADD CONSTRAINT uk_j0g40k0is2g0gw7kiilqnh1nr UNIQUE (keyword);


--
-- TOC entry 3771 (class 2606 OID 754288)
-- Name: uk_j5qq9td6cf9ufae7r0qx726jw; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_option
    ADD CONSTRAINT uk_j5qq9td6cf9ufae7r0qx726jw UNIQUE (keyword);


--
-- TOC entry 3597 (class 2606 OID 754220)
-- Name: uk_jgxhbd5te98139auc4i2ka4vs; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_v3_responder_configuration
    ADD CONSTRAINT uk_jgxhbd5te98139auc4i2ka4vs UNIQUE (id);


--
-- TOC entry 3857 (class 2606 OID 754318)
-- Name: uk_jqjrsonmmlfnnp3ta4aaqu3ut; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_institution
    ADD CONSTRAINT uk_jqjrsonmmlfnnp3ta4aaqu3ut UNIQUE (keyword);


--
-- TOC entry 3465 (class 2606 OID 754172)
-- Name: uk_jx75w0mlp0ptnjsbiv8576nl0; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_type
    ADD CONSTRAINT uk_jx75w0mlp0ptnjsbiv8576nl0 UNIQUE (keyword);


--
-- TOC entry 3979 (class 2606 OID 754372)
-- Name: uk_k0v85ygfvl81vmjbt2nc8g6eb; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_reader
    ADD CONSTRAINT uk_k0v85ygfvl81vmjbt2nc8g6eb UNIQUE (aipo_id, object_id);


--
-- TOC entry 3437 (class 2606 OID 754160)
-- Name: uk_k6ujf0i2mjoaf4w15wk7fq89y; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_hl7_message_profile
    ADD CONSTRAINT uk_k6ujf0i2mjoaf4w15wk7fq89y UNIQUE (profile_oid);


--
-- TOC entry 3665 (class 2606 OID 754246)
-- Name: uk_kgsfdxovtn86xv6jt88gfvqto; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient_identifier
    ADD CONSTRAINT uk_kgsfdxovtn86xv6jt88gfvqto UNIQUE (identifier, ass_auth_id);


--
-- TOC entry 3947 (class 2606 OID 754364)
-- Name: uk_kvm154f5tanjhm3yaiint0rdl; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_creator
    ADD CONSTRAINT uk_kvm154f5tanjhm3yaiint0rdl UNIQUE (aipo_id, object_id);


--
-- TOC entry 4035 (class 2606 OID 754400)
-- Name: uk_l6rhgq95skiwdornands5xr45; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_instance_output_ci_instance
    ADD CONSTRAINT uk_l6rhgq95skiwdornands5xr45 UNIQUE (test_steps_instance_id, contextual_information_instance_id);


--
-- TOC entry 4017 (class 2606 OID 754390)
-- Name: uk_lqcivp5bh2olqqdmy9jah4gor; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_events
    ADD CONSTRAINT uk_lqcivp5bh2olqqdmy9jah4gor UNIQUE (systemevents_id);


--
-- TOC entry 3351 (class 2606 OID 754130)
-- Name: uk_lr6gr27b3pf1onfp0jaf63ucx; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_crawler_unreachable_integration_statements
    ADD CONSTRAINT uk_lr6gr27b3pf1onfp0jaf63ucx UNIQUE (system_id, crawler_report_id);


--
-- TOC entry 3433 (class 2606 OID 754336)
-- Name: uk_luennoioveseb7edrlppqaum2; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_domain_profile
    ADD CONSTRAINT uk_luennoioveseb7edrlppqaum2 UNIQUE (domain_id, integration_profile_id);


--
-- TOC entry 3923 (class 2606 OID 754352)
-- Name: uk_lv3evdty6fk3whjwtmqn6ygs7; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_demonstrations_in_testing_sessions
    ADD CONSTRAINT uk_lv3evdty6fk3whjwtmqn6ygs7 UNIQUE (demonstration_id, testing_session_id);


--
-- TOC entry 3601 (class 2606 OID 754222)
-- Name: uk_m6xa64ak77qn64i52f94o0aui; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_home
    ADD CONSTRAINT uk_m6xa64ak77qn64i52f94o0aui UNIQUE (language);


--
-- TOC entry 3611 (class 2606 OID 754228)
-- Name: uk_m8wwkgy5y1mtt2vn9nsiv143g; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_invoice
    ADD CONSTRAINT uk_m8wwkgy5y1mtt2vn9nsiv143g UNIQUE (invoice_number);


--
-- TOC entry 3381 (class 2606 OID 754140)
-- Name: uk_m93upfoi8eoru26w6wa71b9w3; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_system_subtype
    ADD CONSTRAINT uk_m93upfoi8eoru26w6wa71b9w3 UNIQUE (keyword);


--
-- TOC entry 3471 (class 2606 OID 754174)
-- Name: uk_mei0k3s7jd4oyc3000w96e3oi; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_profile_link
    ADD CONSTRAINT uk_mei0k3s7jd4oyc3000w96e3oi UNIQUE (actor_integration_profile_id, transaction_id, transaction_option_type_id);


--
-- TOC entry 4007 (class 2606 OID 754386)
-- Name: uk_mqxhfodh8n194l0vsaqoafdej; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_role_in_test_test_participants
    ADD CONSTRAINT uk_mqxhfodh8n194l0vsaqoafdej UNIQUE (role_in_test_id, test_participants_id);


--
-- TOC entry 3941 (class 2606 OID 754360)
-- Name: uk_mr1xw9l9lg9iqa41fq0h535rm; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_object_attribute_option
    ADD CONSTRAINT uk_mr1xw9l9lg9iqa41fq0h535rm UNIQUE (description);


--
-- TOC entry 3843 (class 2606 OID 754310)
-- Name: uk_n1f3sbcxe00m8d0p6vhva0x96; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_currency
    ADD CONSTRAINT uk_n1f3sbcxe00m8d0p6vhva0x96 UNIQUE (name);


--
-- TOC entry 3899 (class 2606 OID 754338)
-- Name: uk_n5trtb5a0bt27vlsad418w4rj; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_hl7_message_profile_affinity_domain
    ADD CONSTRAINT uk_n5trtb5a0bt27vlsad418w4rj UNIQUE (hl7_message_profile_id, affinity_domain_id);


--
-- TOC entry 4039 (class 2606 OID 754402)
-- Name: uk_ncouo4jyhdge5n0lc7tae3ole; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_steps_output_ci
    ADD CONSTRAINT uk_ncouo4jyhdge5n0lc7tae3ole UNIQUE (test_steps_id, contextual_information_id);


--
-- TOC entry 3669 (class 2606 OID 754248)
-- Name: uk_nfn91ua4n1fuo6655qopnveb9; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_proxy_configuration_for_session
    ADD CONSTRAINT uk_nfn91ua4n1fuo6655qopnveb9 UNIQUE (configurationtype_id, testing_session_id);


--
-- TOC entry 3501 (class 2606 OID 754184)
-- Name: uk_nix1duwegwr24dpbqa0u7mgm9; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_transaction_option_type
    ADD CONSTRAINT uk_nix1duwegwr24dpbqa0u7mgm9 UNIQUE (keyword);


--
-- TOC entry 3525 (class 2606 OID 754192)
-- Name: uk_nlrdxrud9haf3aoqtwbv20mf0; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_configuration_mapped_with_aipo
    ADD CONSTRAINT uk_nlrdxrud9haf3aoqtwbv20mf0 UNIQUE (aipo_id);


--
-- TOC entry 3445 (class 2606 OID 754162)
-- Name: uk_ny4glgtyovt2w045nwct19arx; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile
    ADD CONSTRAINT uk_ny4glgtyovt2w045nwct19arx UNIQUE (keyword);


--
-- TOC entry 3637 (class 2606 OID 754236)
-- Name: uk_ollwjxfh9b0krgxki6lumkejv; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_network_config_for_session
    ADD CONSTRAINT uk_ollwjxfh9b0krgxki6lumkejv UNIQUE (testing_session_id);


--
-- TOC entry 3735 (class 2606 OID 754278)
-- Name: uk_p0jgiqxpcw7m6f363ek0pax50; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_in_session_user
    ADD CONSTRAINT uk_p0jgiqxpcw7m6f363ek0pax50 UNIQUE (user_id, system_in_session_id);


--
-- TOC entry 3385 (class 2606 OID 754142)
-- Name: uk_p54his4fl04yygccw4fdhcips; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY sys_system_subtypes_per_system_type
    ADD CONSTRAINT uk_p54his4fl04yygccw4fdhcips UNIQUE (system_type_id, system_subtype_id);


--
-- TOC entry 3589 (class 2606 OID 754216)
-- Name: uk_pcmv1trmyn2fm7wxoqfgrh2s9; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_responder_configuration
    ADD CONSTRAINT uk_pcmv1trmyn2fm7wxoqfgrh2s9 UNIQUE (id);


--
-- TOC entry 3727 (class 2606 OID 754274)
-- Name: uk_pd70pawc4iq8l7afq8mclgabg; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_in_session
    ADD CONSTRAINT uk_pd70pawc4iq8l7afq8mclgabg UNIQUE (system_id, testing_session_id);


--
-- TOC entry 3459 (class 2606 OID 754168)
-- Name: uk_pejuyujydm4t4ylimltqlogfc; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_status_type
    ADD CONSTRAINT uk_pejuyujydm4t4ylimltqlogfc UNIQUE (name);


--
-- TOC entry 3585 (class 2606 OID 754214)
-- Name: uk_pipx90x9f6lv8wc7bauawo88p; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_hl7_initiator_configuration
    ADD CONSTRAINT uk_pipx90x9f6lv8wc7bauawo88p UNIQUE (id);


--
-- TOC entry 3887 (class 2606 OID 754332)
-- Name: uk_q7ne4eu5ts5lgfl3aces2ikin; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_document
    ADD CONSTRAINT uk_q7ne4eu5ts5lgfl3aces2ikin UNIQUE (md5_hash_code);


--
-- TOC entry 3717 (class 2606 OID 754270)
-- Name: uk_qd01r6y0s49jd12l0m462ayo8; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system_actor_profiles
    ADD CONSTRAINT uk_qd01r6y0s49jd12l0m462ayo8 UNIQUE (system_id, actor_integration_profile_option_id);


--
-- TOC entry 3713 (class 2606 OID 754266)
-- Name: uk_qhpcvotilafl949f1g3do63tt; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_system
    ADD CONSTRAINT uk_qhpcvotilafl949f1g3do63tt UNIQUE (name, version);


--
-- TOC entry 3661 (class 2606 OID 754244)
-- Name: uk_qk7r3iey6bfokn2dw0jtm2jll; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient_assigning_autority
    ADD CONSTRAINT uk_qk7r3iey6bfokn2dw0jtm2jll UNIQUE (keyword, testing_session_id);


--
-- TOC entry 4049 (class 2606 OID 754408)
-- Name: uk_qo6uflwoy4qa3qokcqrt996bm; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_test_description
    ADD CONSTRAINT uk_qo6uflwoy4qa3qokcqrt996bm UNIQUE (test_id, test_description_id);


--
-- TOC entry 3547 (class 2606 OID 754198)
-- Name: uk_qq8qo8sirf841okjdfjyw7ycx; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_contextual_information
    ADD CONSTRAINT uk_qq8qo8sirf841okjdfjyw7ycx UNIQUE (label, value);


--
-- TOC entry 3673 (class 2606 OID 754250)
-- Name: uk_qw7b4tx9g3di4wo95mpoip1c9; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_role_in_test
    ADD CONSTRAINT uk_qw7b4tx9g3di4wo95mpoip1c9 UNIQUE (keyword);


--
-- TOC entry 3739 (class 2606 OID 754280)
-- Name: uk_rvv55pf2itvv4lrg71ad0pg4s; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test
    ADD CONSTRAINT uk_rvv55pf2itvv4lrg71ad0pg4s UNIQUE (keyword);


--
-- TOC entry 3679 (class 2606 OID 754252)
-- Name: uk_rxj81ybsh4wf86h4wc9buyo25; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_sap_result_tr_comment
    ADD CONSTRAINT uk_rxj81ybsh4wf86h4wc9buyo25 UNIQUE (sap_id, tr_id);


--
-- TOC entry 3349 (class 2606 OID 754128)
-- Name: uk_s4yfodw20na8a0njfk5wvspx9; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY pr_crawler_unmatching_hascode_for_integration_statements
    ADD CONSTRAINT uk_s4yfodw20na8a0njfk5wvspx9 UNIQUE (system_id, crawler_report_id);


--
-- TOC entry 3515 (class 2606 OID 754190)
-- Name: uk_s65caasaiq9j4f8f99hikh9qm; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_ws_transaction_usage
    ADD CONSTRAINT uk_s65caasaiq9j4f8f99hikh9qm UNIQUE (usage);


--
-- TOC entry 4089 (class 2606 OID 754432)
-- Name: uk_s6erk9upsmv5muuvcynby6mm7; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_users
    ADD CONSTRAINT uk_s6erk9upsmv5muuvcynby6mm7 UNIQUE (username);


--
-- TOC entry 4067 (class 2606 OID 754418)
-- Name: uk_se6fh8lgkb4ftif432c5nyio2; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_testing_type
    ADD CONSTRAINT uk_se6fh8lgkb4ftif432c5nyio2 UNIQUE (name);


--
-- TOC entry 3919 (class 2606 OID 754348)
-- Name: uk_sgdk7xcq7relwxufplvfm62b2; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_conf_mapping_w_aipo_w_conftypes
    ADD CONSTRAINT uk_sgdk7xcq7relwxufplvfm62b2 UNIQUE (tm_conf_mapped_id, tm_conftypes_id);


--
-- TOC entry 3745 (class 2606 OID 754282)
-- Name: uk_si09xlggxxmbda6b2ablydara; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_roles
    ADD CONSTRAINT uk_si09xlggxxmbda6b2ablydara UNIQUE (test_id, role_in_test_id);


--
-- TOC entry 4005 (class 2606 OID 754384)
-- Name: uk_smavwi8e03mr5iotdcor2a9yg; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_patient_patient_identifier
    ADD CONSTRAINT uk_smavwi8e03mr5iotdcor2a9yg UNIQUE (identifier_id, patient_id);


--
-- TOC entry 3767 (class 2606 OID 754286)
-- Name: uk_sndyxmwxaou29u0jdyq5jxl95; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_test_instance_path_to_log_file
    ADD CONSTRAINT uk_sndyxmwxaou29u0jdyq5jxl95 UNIQUE (path);


--
-- TOC entry 3927 (class 2606 OID 754354)
-- Name: uk_sspau5tor4bss0vn9s4sj0mtl; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_meta_test_test_roles
    ADD CONSTRAINT uk_sspau5tor4bss0vn9s4sj0mtl UNIQUE (test_roles_id, meta_test_id);


--
-- TOC entry 3613 (class 2606 OID 754226)
-- Name: uk_tfqb9a3h09ycwkwj0dcsx81yp; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tm_invoice
    ADD CONSTRAINT uk_tfqb9a3h09ycwkwj0dcsx81yp UNIQUE (testing_session_id, institution_id);


--
-- TOC entry 3451 (class 2606 OID 754166)
-- Name: uk_thqc1vykug4qhn8jdij04d1bh; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY tf_integration_profile_option
    ADD CONSTRAINT uk_thqc1vykug4qhn8jdij04d1bh UNIQUE (keyword);


--
-- TOC entry 3841 (class 2606 OID 753588)
-- Name: usr_address_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_address
    ADD CONSTRAINT usr_address_pkey PRIMARY KEY (id);


--
-- TOC entry 3845 (class 2606 OID 753596)
-- Name: usr_currency_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_currency
    ADD CONSTRAINT usr_currency_pkey PRIMARY KEY (keyword);


--
-- TOC entry 3853 (class 2606 OID 753612)
-- Name: usr_gazelle_language_aud_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_gazelle_language_aud
    ADD CONSTRAINT usr_gazelle_language_aud_pkey PRIMARY KEY (id, rev);


--
-- TOC entry 3851 (class 2606 OID 753604)
-- Name: usr_gazelle_language_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_gazelle_language
    ADD CONSTRAINT usr_gazelle_language_pkey PRIMARY KEY (id);


--
-- TOC entry 3859 (class 2606 OID 753621)
-- Name: usr_institution_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_institution
    ADD CONSTRAINT usr_institution_pkey PRIMARY KEY (id);


--
-- TOC entry 3863 (class 2606 OID 753629)
-- Name: usr_institution_type_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_institution_type
    ADD CONSTRAINT usr_institution_type_pkey PRIMARY KEY (id);


--
-- TOC entry 3865 (class 2606 OID 753634)
-- Name: usr_iso_3166_country_code_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_iso_3166_country_code
    ADD CONSTRAINT usr_iso_3166_country_code_pkey PRIMARY KEY (iso);


--
-- TOC entry 4073 (class 2606 OID 754088)
-- Name: usr_message_parameters_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_message_parameters
    ADD CONSTRAINT usr_message_parameters_pkey PRIMARY KEY (id);


--
-- TOC entry 4075 (class 2606 OID 754096)
-- Name: usr_messages_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_messages
    ADD CONSTRAINT usr_messages_pkey PRIMARY KEY (id);


--
-- TOC entry 3871 (class 2606 OID 753650)
-- Name: usr_person_function_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_person_function
    ADD CONSTRAINT usr_person_function_pkey PRIMARY KEY (id);


--
-- TOC entry 3867 (class 2606 OID 753642)
-- Name: usr_person_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_person
    ADD CONSTRAINT usr_person_pkey PRIMARY KEY (id);


--
-- TOC entry 4083 (class 2606 OID 754113)
-- Name: usr_role_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_role
    ADD CONSTRAINT usr_role_pkey PRIMARY KEY (id);


--
-- TOC entry 4091 (class 2606 OID 754124)
-- Name: usr_users_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY usr_users
    ADD CONSTRAINT usr_users_pkey PRIMARY KEY (id);


--
-- TOC entry 3875 (class 2606 OID 753658)
-- Name: validation_service_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY validation_service
    ADD CONSTRAINT validation_service_pkey PRIMARY KEY (id);


--
-- TOC entry 3879 (class 2606 OID 753666)
-- Name: validation_status_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle; Tablespace:
--

ALTER TABLE ONLY validation_status
    ADD CONSTRAINT validation_status_pkey PRIMARY KEY (id);


--
-- TOC entry 4427 (class 2606 OID 756108)
-- Name: fk_16hc2h0f9ovodr85lrom22x3i; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_persons_functions
    ADD CONSTRAINT fk_16hc2h0f9ovodr85lrom22x3i FOREIGN KEY (person_function_id) REFERENCES usr_person_function(id);


--
-- TOC entry 4092 (class 2606 OID 754433)
-- Name: fk_17y447lpjkoio62cfhcp3h1h5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY message_validation_service
    ADD CONSTRAINT fk_17y447lpjkoio62cfhcp3h1h5 FOREIGN KEY (tm_test_step_message_profile_id) REFERENCES tm_test_step_message_profile(id);


--
-- TOC entry 4244 (class 2606 OID 755193)
-- Name: fk_18e31b5912a7owpnriag3ywfq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_aud
    ADD CONSTRAINT fk_18e31b5912a7owpnriag3ywfq FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4131 (class 2606 OID 754628)
-- Name: fk_1cdstaxi6v493qidfghxv24ry; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile
    ADD CONSTRAINT fk_1cdstaxi6v493qidfghxv24ry FOREIGN KEY (integration_profile_status_type_id) REFERENCES tf_integration_profile_status_type(id);


--
-- TOC entry 4291 (class 2606 OID 755428)
-- Name: fk_1d1y1m6snweppg6484hil729f; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_address
    ADD CONSTRAINT fk_1d1y1m6snweppg6484hil729f FOREIGN KEY (country) REFERENCES usr_iso_3166_country_code(iso);


--
-- TOC entry 4347 (class 2606 OID 755708)
-- Name: fk_1g15jkkjc04vhpphm0ekoouyi; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_file
    ADD CONSTRAINT fk_1g15jkkjc04vhpphm0ekoouyi FOREIGN KEY (instance_id) REFERENCES tm_object_instance(id);


--
-- TOC entry 4323 (class 2606 OID 755588)
-- Name: fk_1gqpdhsf8nqvvu78f3xaleah1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_domains_in_testing_sessions
    ADD CONSTRAINT fk_1gqpdhsf8nqvvu78f3xaleah1 FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4104 (class 2606 OID 754493)
-- Name: fk_1lnibcrxff9bekskqh8oavdmv; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_integration_statement_download
    ADD CONSTRAINT fk_1lnibcrxff9bekskqh8oavdmv FOREIGN KEY (search_log_report_id) REFERENCES pr_search_log_report(id);


--
-- TOC entry 4141 (class 2606 OID 754678)
-- Name: fk_1nipbe194qol7ts0abf705jv4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule
    ADD CONSTRAINT fk_1nipbe194qol7ts0abf705jv4 FOREIGN KEY (consequence_id) REFERENCES tf_rule_criterion(id);


--
-- TOC entry 4384 (class 2606 OID 755893)
-- Name: fk_1rsj7pba6u7f799vdf48m87fc; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_msg_validation
    ADD CONSTRAINT fk_1rsj7pba6u7f799vdf48m87fc FOREIGN KEY (validation_status_id) REFERENCES validation_status(id);


--
-- TOC entry 4358 (class 2606 OID 755763)
-- Name: fk_1s86g9lwepdr73wyckk97bai0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oid_system_assignment
    ADD CONSTRAINT fk_1s86g9lwepdr73wyckk97bai0 FOREIGN KEY (oid_requirement_id) REFERENCES tm_oid_requirement(id);


--
-- TOC entry 4277 (class 2606 OID 755358)
-- Name: fk_1ue9aipf3ohgkfqquytiido20; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_option_aud
    ADD CONSTRAINT fk_1ue9aipf3ohgkfqquytiido20 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4398 (class 2606 OID 755963)
-- Name: fk_1x5t8tcbs9c6a3056aya7niiv; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_input_ci
    ADD CONSTRAINT fk_1x5t8tcbs9c6a3056aya7niiv FOREIGN KEY (test_steps_id) REFERENCES tm_test_steps(id);


--
-- TOC entry 4387 (class 2606 OID 755908)
-- Name: fk_1y3oux0erpkodkhrntpfsxcd; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_test_instance_path_to_log_file
    ADD CONSTRAINT fk_1y3oux0erpkodkhrntpfsxcd FOREIGN KEY (test_instance_path_id) REFERENCES tm_test_instance_path_to_log_file(id);


--
-- TOC entry 4282 (class 2606 OID 755383)
-- Name: fk_23vbm9sy2cn26qx3uuau8f8vm; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_transport_layer_for_config_aud
    ADD CONSTRAINT fk_23vbm9sy2cn26qx3uuau8f8vm FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4276 (class 2606 OID 755353)
-- Name: fk_251qrp06vb0kqxoiovm55h7wo; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance
    ADD CONSTRAINT fk_251qrp06vb0kqxoiovm55h7wo FOREIGN KEY (test_steps_instance_status_id) REFERENCES tm_test_steps_instance_status(id);


--
-- TOC entry 4365 (class 2606 OID 755798)
-- Name: fk_25f9a2a2aeltibe0rgrq6thrt; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_profiles_in_testing_sessions
    ADD CONSTRAINT fk_25f9a2a2aeltibe0rgrq6thrt FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4274 (class 2606 OID 755343)
-- Name: fk_29wk9d5upvxvh7c4h2en7y4q6; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance
    ADD CONSTRAINT fk_29wk9d5upvxvh7c4h2en7y4q6 FOREIGN KEY (system_in_session_reponder_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4264 (class 2606 OID 755293)
-- Name: fk_2f9kmcx71utv1fsr9fruhefbq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_status_aud
    ADD CONSTRAINT fk_2f9kmcx71utv1fsr9fruhefbq FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4350 (class 2606 OID 755723)
-- Name: fk_2khsqk2eae145oxm0axll5e74; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_reader
    ADD CONSTRAINT fk_2khsqk2eae145oxm0axll5e74 FOREIGN KEY (aipo_id) REFERENCES tf_actor_integration_profile_option(id);


--
-- TOC entry 4270 (class 2606 OID 755323)
-- Name: fk_2mr95d6g5mox0g2xyokwfisgr; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_aud
    ADD CONSTRAINT fk_2mr95d6g5mox0g2xyokwfisgr FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4191 (class 2606 OID 754928)
-- Name: fk_2nujr7yyrd79s3mgqcyhetba1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_hl7_v3_responder_configuration
    ADD CONSTRAINT fk_2nujr7yyrd79s3mgqcyhetba1 FOREIGN KEY (ws_transaction_usage) REFERENCES tf_ws_transaction_usage(id);


--
-- TOC entry 4263 (class 2606 OID 755288)
-- Name: fk_2wifot5ui1jvkaw8hg4p0414n; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_peer_type_aud
    ADD CONSTRAINT fk_2wifot5ui1jvkaw8hg4p0414n FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4306 (class 2606 OID 755503)
-- Name: fk_37u9uwxammh3m9bg9jfueia3i; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_hl7_message_profile_affinity_domain
    ADD CONSTRAINT fk_37u9uwxammh3m9bg9jfueia3i FOREIGN KEY (affinity_domain_id) REFERENCES tf_affinity_domain(id);


--
-- TOC entry 4316 (class 2606 OID 755553)
-- Name: fk_384id91wu9ujfmxhkbj25hfl6; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_standard_aud
    ADD CONSTRAINT fk_384id91wu9ujfmxhkbj25hfl6 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4237 (class 2606 OID 755158)
-- Name: fk_3a6r9hfs65l9s1capg656gfe; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_in_session
    ADD CONSTRAINT fk_3a6r9hfs65l9s1capg656gfe FOREIGN KEY (table_session_id) REFERENCES sys_table_session(id);


--
-- TOC entry 4095 (class 2606 OID 754448)
-- Name: fk_3a85t5qlgngd7474q63kh9km8; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_crawler_changed_integration_statements
    ADD CONSTRAINT fk_3a85t5qlgngd7474q63kh9km8 FOREIGN KEY (crawler_report_id) REFERENCES pr_crawler_reporting(id);


--
-- TOC entry 4227 (class 2606 OID 755108)
-- Name: fk_3b2gi4l03hndwbeh6e34glkus; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_actor_profiles
    ADD CONSTRAINT fk_3b2gi4l03hndwbeh6e34glkus FOREIGN KEY (actor_integration_profile_option_id) REFERENCES tf_actor_integration_profile_option(id);


--
-- TOC entry 4241 (class 2606 OID 755178)
-- Name: fk_3fu2cc480624phjiydcet3phw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test
    ADD CONSTRAINT fk_3fu2cc480624phjiydcet3phw FOREIGN KEY (test_peer_type_id) REFERENCES tm_test_peer_type(id);


--
-- TOC entry 4318 (class 2606 OID 755563)
-- Name: fk_3h1hfdqnd3lh81w9l7qdmldv9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conf_mapping_w_aipo_w_conftypes
    ADD CONSTRAINT fk_3h1hfdqnd3lh81w9l7qdmldv9 FOREIGN KEY (tm_conf_mapped_id) REFERENCES tm_configuration_mapped_with_aipo(id);


--
-- TOC entry 4419 (class 2606 OID 756068)
-- Name: fk_3iy6socfnp2sr6mrru70yb39a; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_testing_session_admin
    ADD CONSTRAINT fk_3iy6socfnp2sr6mrru70yb39a FOREIGN KEY (user_id) REFERENCES usr_users(id);


--
-- TOC entry 4196 (class 2606 OID 754953)
-- Name: fk_3kre8coxc1wbp441saqht8ptp; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_invoice
    ADD CONSTRAINT fk_3kre8coxc1wbp441saqht8ptp FOREIGN KEY (currency) REFERENCES usr_currency(keyword);


--
-- TOC entry 4308 (class 2606 OID 755513)
-- Name: fk_3kwlpb038de40g5jrhoa83fab; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_hl7_message_profile_affinity_domain_aud
    ADD CONSTRAINT fk_3kwlpb038de40g5jrhoa83fab FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4228 (class 2606 OID 755113)
-- Name: fk_3nhtpl5h54jxmrlxh40vjy3qq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_actor_profiles
    ADD CONSTRAINT fk_3nhtpl5h54jxmrlxh40vjy3qq FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4190 (class 2606 OID 754923)
-- Name: fk_3rdh5aw7ih75hbe7tkyleqb0o; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_hl7_v3_initiator_configuration
    ADD CONSTRAINT fk_3rdh5aw7ih75hbe7tkyleqb0o FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4199 (class 2606 OID 754968)
-- Name: fk_3w3idlwl4lo8gbdk5whoqqgmv; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_invoice
    ADD CONSTRAINT fk_3w3idlwl4lo8gbdk5whoqqgmv FOREIGN KEY (vat_country) REFERENCES usr_iso_3166_country_code(iso);


--
-- TOC entry 4175 (class 2606 OID 754848)
-- Name: fk_42coovf2ewk9rw4wh44xxc7s4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_contextual_information
    ADD CONSTRAINT fk_42coovf2ewk9rw4wh44xxc7s4 FOREIGN KEY (path_id) REFERENCES tm_path(id);


--
-- TOC entry 4292 (class 2606 OID 755433)
-- Name: fk_43ntbbwffjv2tx97jvndnnyx1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_gazelle_language_aud
    ADD CONSTRAINT fk_43ntbbwffjv2tx97jvndnnyx1 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4250 (class 2606 OID 755223)
-- Name: fk_452cadasl8l8ii63bvtqu2xah; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_description_aud
    ADD CONSTRAINT fk_452cadasl8l8ii63bvtqu2xah FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4404 (class 2606 OID 755993)
-- Name: fk_4598bvemjin9b99l7kwypultu; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_output_ci
    ADD CONSTRAINT fk_4598bvemjin9b99l7kwypultu FOREIGN KEY (test_steps_id) REFERENCES tm_test_steps(id);


--
-- TOC entry 4334 (class 2606 OID 755643)
-- Name: fk_469c0firrof2dyo9op3kaa65n; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_file
    ADD CONSTRAINT fk_469c0firrof2dyo9op3kaa65n FOREIGN KEY (object_id) REFERENCES tm_object_type(id);


--
-- TOC entry 4265 (class 2606 OID 755298)
-- Name: fk_4ab1t5jak4owpbwihdod7w56r; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps
    ADD CONSTRAINT fk_4ab1t5jak4owpbwihdod7w56r FOREIGN KEY (test_roles_initiator_id) REFERENCES tm_test_roles(id);


--
-- TOC entry 4215 (class 2606 OID 755048)
-- Name: fk_4bu9pwippknkm08oxe0s8kd7k; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_proxy_configuration_for_session
    ADD CONSTRAINT fk_4bu9pwippknkm08oxe0s8kd7k FOREIGN KEY (configurationtype_id) REFERENCES tm_configuration_type(id);


--
-- TOC entry 4269 (class 2606 OID 755318)
-- Name: fk_4f1iga2b9r6uv6qwc6e5ta6rq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps
    ADD CONSTRAINT fk_4f1iga2b9r6uv6qwc6e5ta6rq FOREIGN KEY (ws_transaction_usage_id) REFERENCES tf_ws_transaction_usage(id);


--
-- TOC entry 4357 (class 2606 OID 755758)
-- Name: fk_4j2bfylfqbrtgqnb5kd9ect2x; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oid_requirement_aipo
    ADD CONSTRAINT fk_4j2bfylfqbrtgqnb5kd9ect2x FOREIGN KEY (oid_requirement_id) REFERENCES tm_oid_requirement(id);


--
-- TOC entry 4119 (class 2606 OID 754568)
-- Name: fk_4ji8wqgg51x3x2k4jgl52y07b; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_affinity_domain_aud
    ADD CONSTRAINT fk_4ji8wqgg51x3x2k4jgl52y07b FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4356 (class 2606 OID 755753)
-- Name: fk_4kq9fsdkrtitht5u00mq5g93x; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oid_requirement_aipo
    ADD CONSTRAINT fk_4kq9fsdkrtitht5u00mq5g93x FOREIGN KEY (aipo_id) REFERENCES tf_actor_integration_profile_option(id);


--
-- TOC entry 4101 (class 2606 OID 754478)
-- Name: fk_4v31a5t9k7kygo34dr7s2tga; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_search_criteria_per_report
    ADD CONSTRAINT fk_4v31a5t9k7kygo34dr7s2tga FOREIGN KEY (search_log_report_id) REFERENCES pr_search_log_report(id);


--
-- TOC entry 4331 (class 2606 OID 755628)
-- Name: fk_4vov78p17loja71x69s3dpewr; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_creator
    ADD CONSTRAINT fk_4vov78p17loja71x69s3dpewr FOREIGN KEY (aipo_id) REFERENCES tf_actor_integration_profile_option(id);


--
-- TOC entry 4332 (class 2606 OID 755633)
-- Name: fk_4y6fyu1vf252a4onwo1mgfucw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_creator
    ADD CONSTRAINT fk_4y6fyu1vf252a4onwo1mgfucw FOREIGN KEY (object_id) REFERENCES tm_object_type(id);


--
-- TOC entry 4428 (class 2606 OID 756113)
-- Name: fk_50qu55jx1koo5alhsgtomyct6; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_persons_functions
    ADD CONSTRAINT fk_50qu55jx1koo5alhsgtomyct6 FOREIGN KEY (person_id) REFERENCES usr_person(id);


--
-- TOC entry 4208 (class 2606 OID 755013)
-- Name: fk_56965fu5cb2vv5mvl7qiq1vwc; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_type_status_aud
    ADD CONSTRAINT fk_56965fu5cb2vv5mvl7qiq1vwc FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4234 (class 2606 OID 755143)
-- Name: fk_596e0vcheor4cc24a3dhdnr5j; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_in_session
    ADD CONSTRAINT fk_596e0vcheor4cc24a3dhdnr5j FOREIGN KEY (person_servicing) REFERENCES usr_person(id);


--
-- TOC entry 4231 (class 2606 OID 755128)
-- Name: fk_5c2i15tw4psyh9m8ko6ri0q9a; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_aipo_result_for_a_testing_session
    ADD CONSTRAINT fk_5c2i15tw4psyh9m8ko6ri0q9a FOREIGN KEY (status_id) REFERENCES tm_status_results(id);


--
-- TOC entry 4113 (class 2606 OID 754538)
-- Name: fk_5ilf7sfvvixf9f51lmphnwyoa; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_integration_profile
    ADD CONSTRAINT fk_5ilf7sfvvixf9f51lmphnwyoa FOREIGN KEY (integration_profile_id) REFERENCES tf_integration_profile(id);


--
-- TOC entry 4254 (class 2606 OID 755243)
-- Name: fk_5j9f5ymdapc16dog5x9q64qip; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance
    ADD CONSTRAINT fk_5j9f5ymdapc16dog5x9q64qip FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4152 (class 2606 OID 754733)
-- Name: fk_5lra5ub3x8tyhweuxa4wfv1bi; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_link
    ADD CONSTRAINT fk_5lra5ub3x8tyhweuxa4wfv1bi FOREIGN KEY (transaction_id) REFERENCES tf_transaction(id);


--
-- TOC entry 4373 (class 2606 OID 755838)
-- Name: fk_5vbvipkdoubrau8o7cerkdrho; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_5vbvipkdoubrau8o7cerkdrho FOREIGN KEY (receiver_system_id) REFERENCES tm_system(id);


--
-- TOC entry 4124 (class 2606 OID 754593)
-- Name: fk_5xrcq9irc0lfqkd1hfwfggh7q; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_domain_profile
    ADD CONSTRAINT fk_5xrcq9irc0lfqkd1hfwfggh7q FOREIGN KEY (domain_id) REFERENCES tf_domain(id);


--
-- TOC entry 4187 (class 2606 OID 754908)
-- Name: fk_5yp3fkpqthmntq2dgtty7uoon; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_generic_oids_ip_config_param_for_session
    ADD CONSTRAINT fk_5yp3fkpqthmntq2dgtty7uoon FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4112 (class 2606 OID 754533)
-- Name: fk_5yubxkv7cw5mqpv5u0axd4f1x; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_integration_profile
    ADD CONSTRAINT fk_5yubxkv7cw5mqpv5u0axd4f1x FOREIGN KEY (actor_id) REFERENCES tf_actor(id);


--
-- TOC entry 4225 (class 2606 OID 755098)
-- Name: fk_60phploi6or05gwfh426rvwhd; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system
    ADD CONSTRAINT fk_60phploi6or05gwfh426rvwhd FOREIGN KEY (owner_user_id) REFERENCES usr_users(id);


--
-- TOC entry 4242 (class 2606 OID 755183)
-- Name: fk_61ug0sy9g9qkyk614sru9pg2q; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test
    ADD CONSTRAINT fk_61ug0sy9g9qkyk614sru9pg2q FOREIGN KEY (test_status_id) REFERENCES tm_test_status(id);


--
-- TOC entry 4192 (class 2606 OID 754933)
-- Name: fk_6480vkp55qlr3nrisbuj1ijrj; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_hl7_v3_responder_configuration
    ADD CONSTRAINT fk_6480vkp55qlr3nrisbuj1ijrj FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4313 (class 2606 OID 755538)
-- Name: fk_65ptid9agnv6s0kkvttoxmtqx; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule_list_criterion
    ADD CONSTRAINT fk_65ptid9agnv6s0kkvttoxmtqx FOREIGN KEY (tf_rule_criterion_id) REFERENCES tf_rule_criterion(id);


--
-- TOC entry 4382 (class 2606 OID 755883)
-- Name: fk_66f43ltpyniif8n3j5eka8062; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_msg_validation
    ADD CONSTRAINT fk_66f43ltpyniif8n3j5eka8062 FOREIGN KEY (message_validation_service_id) REFERENCES message_validation_service(id);


--
-- TOC entry 4260 (class 2606 OID 755273)
-- Name: fk_672kjf00ps3ue31mqbc582nnj; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_option_aud
    ADD CONSTRAINT fk_672kjf00ps3ue31mqbc582nnj FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4283 (class 2606 OID 755388)
-- Name: fk_6e83kvu2r93s4hafcs6gcwmah; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_user_preferences
    ADD CONSTRAINT fk_6e83kvu2r93s4hafcs6gcwmah FOREIGN KEY (user_id) REFERENCES usr_users(id);


--
-- TOC entry 4372 (class 2606 OID 755833)
-- Name: fk_6gd10isc1i0tkdk1hmje46kvf; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_6gd10isc1i0tkdk1hmje46kvf FOREIGN KEY (receiver_institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4128 (class 2606 OID 754613)
-- Name: fk_6ok2phqeqflrttiroorpowqhb; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_hl7_message_profile
    ADD CONSTRAINT fk_6ok2phqeqflrttiroorpowqhb FOREIGN KEY (transaction_id) REFERENCES tf_transaction(id);


--
-- TOC entry 4311 (class 2606 OID 755528)
-- Name: fk_6qrcdc6ud9tdwmr0h3vc85un2; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile_type_link_aud
    ADD CONSTRAINT fk_6qrcdc6ud9tdwmr0h3vc85un2 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4411 (class 2606 OID 756028)
-- Name: fk_6souldavhsnbubb6tu492mmrf; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_test_description_aud
    ADD CONSTRAINT fk_6souldavhsnbubb6tu492mmrf FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4351 (class 2606 OID 755728)
-- Name: fk_6ttu9p6wiqbg5mm020nnenulr; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_reader
    ADD CONSTRAINT fk_6ttu9p6wiqbg5mm020nnenulr FOREIGN KEY (object_id) REFERENCES tm_object_type(id);


--
-- TOC entry 4142 (class 2606 OID 754683)
-- Name: fk_6ybxwerfkie3n814ffvgjghvk; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule_criterion
    ADD CONSTRAINT fk_6ybxwerfkie3n814ffvgjghvk FOREIGN KEY (single_actor_id) REFERENCES tf_actor(id);


--
-- TOC entry 4098 (class 2606 OID 754463)
-- Name: fk_6yry7okjeu3cbrnkulc9wf8c4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_crawler_unreachable_integration_statements
    ADD CONSTRAINT fk_6yry7okjeu3cbrnkulc9wf8c4 FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4386 (class 2606 OID 755903)
-- Name: fk_73t8uikw49mu4kfwnnpv17i6y; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_events
    ADD CONSTRAINT fk_73t8uikw49mu4kfwnnpv17i6y FOREIGN KEY (tm_system_id) REFERENCES tm_system(id);


--
-- TOC entry 4280 (class 2606 OID 755373)
-- Name: fk_77qbxfqy7ljaee92gcspcmhoq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_testing_session
    ADD CONSTRAINT fk_77qbxfqy7ljaee92gcspcmhoq FOREIGN KEY (currency_id) REFERENCES usr_currency(keyword);


--
-- TOC entry 4407 (class 2606 OID 756008)
-- Name: fk_7bla4jq9vrgr2ke17oq45ku5d; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_test_steps_data
    ADD CONSTRAINT fk_7bla4jq9vrgr2ke17oq45ku5d FOREIGN KEY (test_steps_data_id) REFERENCES tm_test_steps_data(id);


--
-- TOC entry 4405 (class 2606 OID 755998)
-- Name: fk_7d4l8ajyfxxugo8oj6j0uu5b5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_output_ci
    ADD CONSTRAINT fk_7d4l8ajyfxxugo8oj6j0uu5b5 FOREIGN KEY (contextual_information_id) REFERENCES tm_contextual_information(id);


--
-- TOC entry 4093 (class 2606 OID 754438)
-- Name: fk_7d9pbjm9eodlai3hgsteqgcsa; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY message_validation_service
    ADD CONSTRAINT fk_7d9pbjm9eodlai3hgsteqgcsa FOREIGN KEY (validation_service_id) REFERENCES validation_service(id);


--
-- TOC entry 4136 (class 2606 OID 754653)
-- Name: fk_7gn0cpke6kjpbcps2iy70rvxx; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_profile_link
    ADD CONSTRAINT fk_7gn0cpke6kjpbcps2iy70rvxx FOREIGN KEY (actor_integration_profile_id) REFERENCES tf_actor_integration_profile(id);


--
-- TOC entry 4108 (class 2606 OID 754513)
-- Name: fk_7isdxbdhbu2kroog9j52fo2cm; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY sys_system_subtypes_per_system_type
    ADD CONSTRAINT fk_7isdxbdhbu2kroog9j52fo2cm FOREIGN KEY (system_subtype_id) REFERENCES sys_system_subtype(id);


--
-- TOC entry 4106 (class 2606 OID 754503)
-- Name: fk_7j3ya8wlct6u72a3lqayjn3r0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_mail
    ADD CONSTRAINT fk_7j3ya8wlct6u72a3lqayjn3r0 FOREIGN KEY (crawlerreporting_id) REFERENCES pr_crawler_reporting(id);


--
-- TOC entry 4132 (class 2606 OID 754633)
-- Name: fk_7r7ffh8bhd4yj0gsn6o900j72; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile_aud
    ADD CONSTRAINT fk_7r7ffh8bhd4yj0gsn6o900j72 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4360 (class 2606 OID 755773)
-- Name: fk_7vae6m9norrkeu5q5gskvsxa; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_patient_assigning_authority_sis
    ADD CONSTRAINT fk_7vae6m9norrkeu5q5gskvsxa FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4391 (class 2606 OID 755928)
-- Name: fk_7ve0rah5fu0runtd15gavbrsg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_test_steps_instance
    ADD CONSTRAINT fk_7ve0rah5fu0runtd15gavbrsg FOREIGN KEY (test_instance_id) REFERENCES tm_test_instance(id);


--
-- TOC entry 4099 (class 2606 OID 754468)
-- Name: fk_7wwbm3mp5ujf2xqprtylnrn4u; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_crawler_unreachable_integration_statements
    ADD CONSTRAINT fk_7wwbm3mp5ujf2xqprtylnrn4u FOREIGN KEY (crawler_report_id) REFERENCES pr_crawler_reporting(id);


--
-- TOC entry 4312 (class 2606 OID 755533)
-- Name: fk_81shykw7emr3q41anx9ksqdb6; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule_list_criterion
    ADD CONSTRAINT fk_81shykw7emr3q41anx9ksqdb6 FOREIGN KEY (aipocriterions_id) REFERENCES tf_rule_criterion(id);


--
-- TOC entry 4317 (class 2606 OID 755558)
-- Name: fk_81wqciwyf0gnhx01h4jl9ix9m; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conf_mapping_w_aipo_w_conftypes
    ADD CONSTRAINT fk_81wqciwyf0gnhx01h4jl9ix9m FOREIGN KEY (tm_conftypes_id) REFERENCES tm_conftype_w_ports_wstype_and_sop_class(id);


--
-- TOC entry 4174 (class 2606 OID 754843)
-- Name: fk_82k4rbv805g3mhcw8isg06q5s; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_connectathon_participant
    ADD CONSTRAINT fk_82k4rbv805g3mhcw8isg06q5s FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4259 (class 2606 OID 755268)
-- Name: fk_84pq2j8gjdyqd0vjgpw2gw93l; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_participants
    ADD CONSTRAINT fk_84pq2j8gjdyqd0vjgpw2gw93l FOREIGN KEY (test_instance_id) REFERENCES tm_test_instance(id);


--
-- TOC entry 4243 (class 2606 OID 755188)
-- Name: fk_8761taset675qit1uaqo78up4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test
    ADD CONSTRAINT fk_8761taset675qit1uaqo78up4 FOREIGN KEY (test_type_id) REFERENCES tm_test_type(id);


--
-- TOC entry 4120 (class 2606 OID 754573)
-- Name: fk_8i38nhkvxfbynrf6n14x74sni; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_audit_message
    ADD CONSTRAINT fk_8i38nhkvxfbynrf6n14x74sni FOREIGN KEY (audited_transaction) REFERENCES tf_transaction(id);


--
-- TOC entry 4378 (class 2606 OID 755863)
-- Name: fk_8i6tlgj01rhehcacmbui9kci8; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_8i6tlgj01rhehcacmbui9kci8 FOREIGN KEY (sender_system_id) REFERENCES tm_system(id);


--
-- TOC entry 4096 (class 2606 OID 754453)
-- Name: fk_8ivvmdbjtvxcl6dp8cx0hgwqm; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_crawler_unmatching_hascode_for_integration_statements
    ADD CONSTRAINT fk_8ivvmdbjtvxcl6dp8cx0hgwqm FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4158 (class 2606 OID 754763)
-- Name: fk_8lpw88g6cvs9wolc1rn7pk8ur; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_abstract_configuration
    ADD CONSTRAINT fk_8lpw88g6cvs9wolc1rn7pk8ur FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4297 (class 2606 OID 755458)
-- Name: fk_8oi0rclvqbh67h9yvjpv6s3g1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY sys_dicom_documents_for_systems
    ADD CONSTRAINT fk_8oi0rclvqbh67h9yvjpv6s3g1 FOREIGN KEY (path_linking_a_document_id) REFERENCES cmn_path_linking_a_document(id);


--
-- TOC entry 4167 (class 2606 OID 754808)
-- Name: fk_8quekfveaqrk2656esn2n5gki; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class
    ADD CONSTRAINT fk_8quekfveaqrk2656esn2n5gki FOREIGN KEY (sop_class_id) REFERENCES tm_sop_class(id);


--
-- TOC entry 4148 (class 2606 OID 754713)
-- Name: fk_8u4sa8axnsn6v8jy23skc3qty; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction
    ADD CONSTRAINT fk_8u4sa8axnsn6v8jy23skc3qty FOREIGN KEY (transaction_status_type_id) REFERENCES tf_transaction_status_type(id);


--
-- TOC entry 4366 (class 2606 OID 755803)
-- Name: fk_8x0ui7bq7hbkky6tr1kpou8pu; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_role_in_test_test_participants
    ADD CONSTRAINT fk_8x0ui7bq7hbkky6tr1kpou8pu FOREIGN KEY (test_participants_id) REFERENCES tm_test_participants(id);


--
-- TOC entry 4424 (class 2606 OID 756093)
-- Name: fk_90m8qkysomsmf1wugt7tcbldc; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_messages_usr_message_parameters
    ADD CONSTRAINT fk_90m8qkysomsmf1wugt7tcbldc FOREIGN KEY (usr_messages_id) REFERENCES usr_messages(id);


--
-- TOC entry 4138 (class 2606 OID 754663)
-- Name: fk_92x366ed20bldob29khteawg4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_profile_link
    ADD CONSTRAINT fk_92x366ed20bldob29khteawg4 FOREIGN KEY (transaction_option_type_id) REFERENCES tf_transaction_option_type(id);


--
-- TOC entry 4164 (class 2606 OID 754793)
-- Name: fk_97mdmhttpg4975g987qnqw57w; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_configuration_mapped_with_aipo_aud
    ADD CONSTRAINT fk_97mdmhttpg4975g987qnqw57w FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4338 (class 2606 OID 755663)
-- Name: fk_9bf01jcy9se723quqv9r8m6my; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance
    ADD CONSTRAINT fk_9bf01jcy9se723quqv9r8m6my FOREIGN KEY (object_id) REFERENCES tm_object_type(id);


--
-- TOC entry 4341 (class 2606 OID 755678)
-- Name: fk_9bl1r40nl549cql07w201jg9a; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance
    ADD CONSTRAINT fk_9bl1r40nl549cql07w201jg9a FOREIGN KEY (validation_id) REFERENCES tm_object_instance_validation(id);


--
-- TOC entry 4126 (class 2606 OID 754603)
-- Name: fk_9by8jwr94eeb0bme1bsql5hdb; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_hl7_message_profile
    ADD CONSTRAINT fk_9by8jwr94eeb0bme1bsql5hdb FOREIGN KEY (actor_id) REFERENCES tf_actor(id);


--
-- TOC entry 4140 (class 2606 OID 754673)
-- Name: fk_9cynyuydbfmqhresmj8n1uuqo; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule
    ADD CONSTRAINT fk_9cynyuydbfmqhresmj8n1uuqo FOREIGN KEY (cause_id) REFERENCES tf_rule_criterion(id);


--
-- TOC entry 4204 (class 2606 OID 754993)
-- Name: fk_9dmu3nvkx0blel6oqbqaph93r; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_monitor_in_session
    ADD CONSTRAINT fk_9dmu3nvkx0blel6oqbqaph93r FOREIGN KEY (user_id) REFERENCES usr_users(id);


--
-- TOC entry 4326 (class 2606 OID 755603)
-- Name: fk_9ewqpyspbek8mft0xncf8n7k9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_meta_test_test_roles_aud
    ADD CONSTRAINT fk_9ewqpyspbek8mft0xncf8n7k9 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4246 (class 2606 OID 755203)
-- Name: fk_9f12falm1uj6f0lk47jsrwsfy; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_roles
    ADD CONSTRAINT fk_9f12falm1uj6f0lk47jsrwsfy FOREIGN KEY (test_id) REFERENCES tm_test(id);


--
-- TOC entry 4153 (class 2606 OID 754738)
-- Name: fk_9gvvnh0aqrll2mp1u89a5msy0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_link_aud
    ADD CONSTRAINT fk_9gvvnh0aqrll2mp1u89a5msy0 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4200 (class 2606 OID 754973)
-- Name: fk_9rsj4l7yw7aui134br9omsjbg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_jira_issues_to_test
    ADD CONSTRAINT fk_9rsj4l7yw7aui134br9omsjbg FOREIGN KEY (test_id) REFERENCES tm_test(id);


--
-- TOC entry 4230 (class 2606 OID 755123)
-- Name: fk_9we4tovckv3jng4lp9fajwiq9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_actor_profiles
    ADD CONSTRAINT fk_9we4tovckv3jng4lp9fajwiq9 FOREIGN KEY (wanted_testing_type_id) REFERENCES tm_testing_type(id);


--
-- TOC entry 4256 (class 2606 OID 755253)
-- Name: fk_9xrh9nfs8iwy5neeuufug9upg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_participants
    ADD CONSTRAINT fk_9xrh9nfs8iwy5neeuufug9upg FOREIGN KEY (role_in_test_id) REFERENCES tm_role_in_test(id);


--
-- TOC entry 4185 (class 2606 OID 754898)
-- Name: fk_9yvucm5rkx6qynt97lv8th990; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_generic_oids_institution_for_session
    ADD CONSTRAINT fk_9yvucm5rkx6qynt97lv8th990 FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4186 (class 2606 OID 754903)
-- Name: fk_a1933k1wr5jkm61gbkhk2nebm; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_generic_oids_ip_config_param_for_session
    ADD CONSTRAINT fk_a1933k1wr5jkm61gbkhk2nebm FOREIGN KEY (profile_for_id) REFERENCES tf_integration_profile(id);


--
-- TOC entry 4390 (class 2606 OID 755923)
-- Name: fk_a6trmbiln5cochmwt257er79p; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_test_status
    ADD CONSTRAINT fk_a6trmbiln5cochmwt257er79p FOREIGN KEY (test_instance_id) REFERENCES tm_test_instance(id);


--
-- TOC entry 4362 (class 2606 OID 755783)
-- Name: fk_a8jjc79826xoeymvm6be583yo; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_patient_patient_identifier
    ADD CONSTRAINT fk_a8jjc79826xoeymvm6be583yo FOREIGN KEY (patient_id) REFERENCES tm_patient(id);


--
-- TOC entry 4144 (class 2606 OID 754693)
-- Name: fk_ac8qpll9fw2bdtemmbkeos5pd; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule_criterion
    ADD CONSTRAINT fk_ac8qpll9fw2bdtemmbkeos5pd FOREIGN KEY (single_integration_profile_id) REFERENCES tf_integration_profile(id);


--
-- TOC entry 4149 (class 2606 OID 754718)
-- Name: fk_ae8odst29dbdua80lcyqyckjp; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_aud
    ADD CONSTRAINT fk_ae8odst29dbdua80lcyqyckjp FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4183 (class 2606 OID 754888)
-- Name: fk_ak3uddu14f6tn77f2mn5x6wt1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_dicom_scu_configuration
    ADD CONSTRAINT fk_ak3uddu14f6tn77f2mn5x6wt1 FOREIGN KEY (sop_class_id) REFERENCES tm_sop_class(id);


--
-- TOC entry 4150 (class 2606 OID 754723)
-- Name: fk_apnhy27aykxqfd0exsrxlnns7; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_link
    ADD CONSTRAINT fk_apnhy27aykxqfd0exsrxlnns7 FOREIGN KEY (from_actor_id) REFERENCES tf_actor(id);


--
-- TOC entry 4247 (class 2606 OID 755208)
-- Name: fk_asi2qiq1o9avipr6vn60uk2x7; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_roles
    ADD CONSTRAINT fk_asi2qiq1o9avipr6vn60uk2x7 FOREIGN KEY (test_option_id) REFERENCES tm_test_option(id);


--
-- TOC entry 4315 (class 2606 OID 755548)
-- Name: fk_atvilp88b07p05km224t7n5l4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_standard
    ADD CONSTRAINT fk_atvilp88b07p05km224t7n5l4 FOREIGN KEY (transaction_id) REFERENCES tf_transaction(id);


--
-- TOC entry 4397 (class 2606 OID 755958)
-- Name: fk_axey7iu60lyufxqcx6y6xltnn; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_input_ci
    ADD CONSTRAINT fk_axey7iu60lyufxqcx6y6xltnn FOREIGN KEY (contextual_information_id) REFERENCES tm_contextual_information(id);


--
-- TOC entry 4266 (class 2606 OID 755303)
-- Name: fk_b02auaivauew0nc2tklikbb48; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps
    ADD CONSTRAINT fk_b02auaivauew0nc2tklikbb48 FOREIGN KEY (test_roles_responder_id) REFERENCES tm_test_roles(id);


--
-- TOC entry 4309 (class 2606 OID 755518)
-- Name: fk_b1w97il0injkp7gasy79nqj2q; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile_type_link
    ADD CONSTRAINT fk_b1w97il0injkp7gasy79nqj2q FOREIGN KEY (integration_profile_id) REFERENCES tf_integration_profile(id);


--
-- TOC entry 4160 (class 2606 OID 754773)
-- Name: fk_b1yww2wk8mkgfkk50veqq0as4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_configuration
    ADD CONSTRAINT fk_b1yww2wk8mkgfkk50veqq0as4 FOREIGN KEY (configurationtype_id) REFERENCES tm_configuration_type(id);


--
-- TOC entry 4414 (class 2606 OID 756043)
-- Name: fk_b6jh7e7hcko01wvsmxphgelwt; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_test_steps_aud
    ADD CONSTRAINT fk_b6jh7e7hcko01wvsmxphgelwt FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4394 (class 2606 OID 755943)
-- Name: fk_bbfrx9dk4cpehghwnxne7qkb9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_tm_test_steps_data
    ADD CONSTRAINT fk_bbfrx9dk4cpehghwnxne7qkb9 FOREIGN KEY (tm_test_instance_id) REFERENCES tm_test_instance(id);


--
-- TOC entry 4426 (class 2606 OID 756103)
-- Name: fk_bbjkuhm6mjmedyk955jbkhd87; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_messages_usr_users
    ADD CONSTRAINT fk_bbjkuhm6mjmedyk955jbkhd87 FOREIGN KEY (usr_messages_id) REFERENCES usr_messages(id);


--
-- TOC entry 4255 (class 2606 OID 755248)
-- Name: fk_bcti5cw4go4gkhmn1y9bbvgsd; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_participants
    ADD CONSTRAINT fk_bcti5cw4go4gkhmn1y9bbvgsd FOREIGN KEY (actor_integration_profile_option_id) REFERENCES tf_actor_integration_profile_option(id);


--
-- TOC entry 4236 (class 2606 OID 755153)
-- Name: fk_bedyn367cnbhooj7aki6jlefu; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_in_session
    ADD CONSTRAINT fk_bedyn367cnbhooj7aki6jlefu FOREIGN KEY (system_in_session_status_id) REFERENCES tm_system_in_session_status(id);


--
-- TOC entry 4233 (class 2606 OID 755138)
-- Name: fk_bev0orrc4ed69h3oy5nu28sil; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_aipo_result_for_a_testing_session
    ADD CONSTRAINT fk_bev0orrc4ed69h3oy5nu28sil FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4345 (class 2606 OID 755698)
-- Name: fk_bga3ydulvsyioghxv1h16rnua; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_attribute
    ADD CONSTRAINT fk_bga3ydulvsyioghxv1h16rnua FOREIGN KEY (instance_id) REFERENCES tm_object_instance(id);


--
-- TOC entry 4216 (class 2606 OID 755053)
-- Name: fk_bge0hm829gjm3byxr1i7lhm0q; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_proxy_configuration_for_session
    ADD CONSTRAINT fk_bge0hm829gjm3byxr1i7lhm0q FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4293 (class 2606 OID 755438)
-- Name: fk_bhdg36towjg9r5bf95mo6tsr; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_institution
    ADD CONSTRAINT fk_bhdg36towjg9r5bf95mo6tsr FOREIGN KEY (institution_type_id) REFERENCES usr_institution_type(id);


--
-- TOC entry 4210 (class 2606 OID 755023)
-- Name: fk_bl3ildc532146un3vad7o1fkm; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oid_institution
    ADD CONSTRAINT fk_bl3ildc532146un3vad7o1fkm FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4335 (class 2606 OID 755648)
-- Name: fk_bnyoo31f1o3od2a1a3b439du4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_file
    ADD CONSTRAINT fk_bnyoo31f1o3od2a1a3b439du4 FOREIGN KEY (type_id) REFERENCES tm_object_file_type(id);


--
-- TOC entry 4377 (class 2606 OID 755858)
-- Name: fk_bryd2q1eyk25suq9qa3bo34d; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_bryd2q1eyk25suq9qa3bo34d FOREIGN KEY (sender_institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4177 (class 2606 OID 754858)
-- Name: fk_bu7a4yusvnwgx4nthfx5a5rl9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_contextual_information_instance
    ADD CONSTRAINT fk_bu7a4yusvnwgx4nthfx5a5rl9 FOREIGN KEY (contextual_information) REFERENCES tm_contextual_information(id);


--
-- TOC entry 4300 (class 2606 OID 755473)
-- Name: fk_c0rd6ehgs21vy7fetdg0dfkve; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY sys_hl7_documents_for_systems
    ADD CONSTRAINT fk_c0rd6ehgs21vy7fetdg0dfkve FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4295 (class 2606 OID 755448)
-- Name: fk_c36bomcig5ndglvu7cgo9mwh0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_person
    ADD CONSTRAINT fk_c36bomcig5ndglvu7cgo9mwh0 FOREIGN KEY (address_id) REFERENCES usr_address(id);


--
-- TOC entry 4302 (class 2606 OID 755483)
-- Name: fk_c8up7729eltevk3c03jfnxd8f; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_document_aud
    ADD CONSTRAINT fk_c8up7729eltevk3c03jfnxd8f FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4145 (class 2606 OID 754698)
-- Name: fk_cguvfq0yml0ppij05b9549s2e; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule_criterion
    ADD CONSTRAINT fk_cguvfq0yml0ppij05b9549s2e FOREIGN KEY (single_option_id) REFERENCES tf_integration_profile_option(id);


--
-- TOC entry 4133 (class 2606 OID 754638)
-- Name: fk_cju6k73ktqmuwinim0g8h12e0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile_option_aud
    ADD CONSTRAINT fk_cju6k73ktqmuwinim0g8h12e0 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4375 (class 2606 OID 755848)
-- Name: fk_cldl281ivxvujdgkx7vd9156d; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_cldl281ivxvujdgkx7vd9156d FOREIGN KEY (relates_to) REFERENCES tm_step_instance_message(id);


--
-- TOC entry 4189 (class 2606 OID 754918)
-- Name: fk_clhb4e1s4dpmmlryaue5ljtxw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_hl7_responder_configuration
    ADD CONSTRAINT fk_clhb4e1s4dpmmlryaue5ljtxw FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4172 (class 2606 OID 754833)
-- Name: fk_cxkj5xc9kc8o3h5090jny6hvl; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_connectathon_participant
    ADD CONSTRAINT fk_cxkj5xc9kc8o3h5090jny6hvl FOREIGN KEY (status_id) REFERENCES tm_connectathon_participant_status(id);


--
-- TOC entry 4159 (class 2606 OID 754768)
-- Name: fk_cypxrdhvupv7f6fsyvw6h9gyk; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_configuration
    ADD CONSTRAINT fk_cypxrdhvupv7f6fsyvw6h9gyk FOREIGN KEY (actor_id) REFERENCES tf_actor(id);


--
-- TOC entry 4123 (class 2606 OID 754588)
-- Name: fk_d3mp0skbxicng7w2tdumqnuel; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_domain_aud
    ADD CONSTRAINT fk_d3mp0skbxicng7w2tdumqnuel FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4110 (class 2606 OID 754523)
-- Name: fk_d66h3bo446ibhr2oql90bmq9h; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_aud
    ADD CONSTRAINT fk_d66h3bo446ibhr2oql90bmq9h FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4252 (class 2606 OID 755233)
-- Name: fk_d860srimmj6dhuvdkeg5cq4yn; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance
    ADD CONSTRAINT fk_d860srimmj6dhuvdkeg5cq4yn FOREIGN KEY (monitor_id) REFERENCES tm_monitor_in_session(id);


--
-- TOC entry 4205 (class 2606 OID 754998)
-- Name: fk_d8wj5komgpei9n2u5pkw4p0yo; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_monitor_test
    ADD CONSTRAINT fk_d8wj5komgpei9n2u5pkw4p0yo FOREIGN KEY (monitor_id) REFERENCES tm_monitor_in_session(id);


--
-- TOC entry 4115 (class 2606 OID 754548)
-- Name: fk_dd4cllr6xpdtoxp5wnjv4i2jn; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_integration_profile_option
    ADD CONSTRAINT fk_dd4cllr6xpdtoxp5wnjv4i2jn FOREIGN KEY (actor_integration_profile_id) REFERENCES tf_actor_integration_profile(id);


--
-- TOC entry 4423 (class 2606 OID 756088)
-- Name: fk_dgnn9iuua4q2tytrlkkhitjf1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_messages_usr_message_parameters
    ADD CONSTRAINT fk_dgnn9iuua4q2tytrlkkhitjf1 FOREIGN KEY (messageparameters_id) REFERENCES usr_message_parameters(id);


--
-- TOC entry 4203 (class 2606 OID 754988)
-- Name: fk_dgpeqm405ex4g8syplum8d0tg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_monitor_in_session
    ADD CONSTRAINT fk_dgpeqm405ex4g8syplum8d0tg FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4353 (class 2606 OID 755738)
-- Name: fk_dod8ducq6ft6y43i6owvt0vms; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_type
    ADD CONSTRAINT fk_dod8ducq6ft6y43i6owvt0vms FOREIGN KEY (object_type_status_id) REFERENCES tm_object_type_status(id);


--
-- TOC entry 4349 (class 2606 OID 755718)
-- Name: fk_drkmngr75abmv18a83cppf7fe; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_validation_aud
    ADD CONSTRAINT fk_drkmngr75abmv18a83cppf7fe FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4389 (class 2606 OID 755918)
-- Name: fk_dt4ios5pp48n7weh8rxx4n9rf; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_test_status
    ADD CONSTRAINT fk_dt4ios5pp48n7weh8rxx4n9rf FOREIGN KEY (status_id) REFERENCES tm_test_instance_event(id);


--
-- TOC entry 4408 (class 2606 OID 756013)
-- Name: fk_dti1os088k5gxknwhw7r867sx; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_test_steps_data
    ADD CONSTRAINT fk_dti1os088k5gxknwhw7r867sx FOREIGN KEY (test_steps_id) REFERENCES tm_test_steps_instance(id);


--
-- TOC entry 4402 (class 2606 OID 755983)
-- Name: fk_dtjpfh844tx6t1af9blr7gog1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance_output_ci_instance
    ADD CONSTRAINT fk_dtjpfh844tx6t1af9blr7gog1 FOREIGN KEY (test_steps_instance_id) REFERENCES tm_test_steps_instance(id);


--
-- TOC entry 4125 (class 2606 OID 754598)
-- Name: fk_du7myrlv6npj0053efkqu9rpg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_domain_profile
    ADD CONSTRAINT fk_du7myrlv6npj0053efkqu9rpg FOREIGN KEY (integration_profile_id) REFERENCES tf_integration_profile(id);


--
-- TOC entry 4289 (class 2606 OID 755418)
-- Name: fk_dwst1ggdqkkmtdox3rumvf2jr; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_web_service_type
    ADD CONSTRAINT fk_dwst1ggdqkkmtdox3rumvf2jr FOREIGN KEY (profile_id) REFERENCES tf_integration_profile(id);


--
-- TOC entry 4151 (class 2606 OID 754728)
-- Name: fk_dy6dg8etr367irrt8xqoh3q9g; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_link
    ADD CONSTRAINT fk_dy6dg8etr367irrt8xqoh3q9g FOREIGN KEY (to_actor_id) REFERENCES tf_actor(id);


--
-- TOC entry 4310 (class 2606 OID 755523)
-- Name: fk_e1ifbmgpje5wcfsg34tuvvq83; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile_type_link
    ADD CONSTRAINT fk_e1ifbmgpje5wcfsg34tuvvq83 FOREIGN KEY (integration_profile_type_id) REFERENCES tf_integration_profile_type(id);


--
-- TOC entry 4412 (class 2606 OID 756033)
-- Name: fk_e38qm2pcggj6o8a2p5h1o3dly; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_test_steps
    ADD CONSTRAINT fk_e38qm2pcggj6o8a2p5h1o3dly FOREIGN KEY (test_id) REFERENCES tm_test(id);


--
-- TOC entry 4322 (class 2606 OID 755583)
-- Name: fk_e4q14pg4h4kkh92m01noox84p; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_domains_in_testing_sessions
    ADD CONSTRAINT fk_e4q14pg4h4kkh92m01noox84p FOREIGN KEY (domain_id) REFERENCES tf_domain(id);


--
-- TOC entry 4181 (class 2606 OID 754878)
-- Name: fk_e6cw93j0py0o3k0vi82j7how9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_dicom_scp_configuration
    ADD CONSTRAINT fk_e6cw93j0py0o3k0vi82j7how9 FOREIGN KEY (sop_class_id) REFERENCES tm_sop_class(id);


--
-- TOC entry 4336 (class 2606 OID 755653)
-- Name: fk_e7c5xa4wgmaoe5ucil05r33nl; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_file_aud
    ADD CONSTRAINT fk_e7c5xa4wgmaoe5ucil05r33nl FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4105 (class 2606 OID 754498)
-- Name: fk_e95e5xco3dvl9bhx55012x5f; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_integration_statement_download
    ADD CONSTRAINT fk_e95e5xco3dvl9bhx55012x5f FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4370 (class 2606 OID 755823)
-- Name: fk_ehqat0eb9haobllpkt8r36ryh; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_ehqat0eb9haobllpkt8r36ryh FOREIGN KEY (proxy_type_id) REFERENCES proxy_type(id);


--
-- TOC entry 4211 (class 2606 OID 755028)
-- Name: fk_elms3go7hjd6st7hd3shhp14b; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oids_ip_config_param_for_session_for_hl7
    ADD CONSTRAINT fk_elms3go7hjd6st7hd3shhp14b FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4288 (class 2606 OID 755413)
-- Name: fk_em2vyp1rtn5q8tknrfa51ot8c; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_web_service_configuration
    ADD CONSTRAINT fk_em2vyp1rtn5q8tknrfa51ot8c FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4410 (class 2606 OID 756023)
-- Name: fk_emta3mmfgpy98t49uuw85ytj; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_test_description
    ADD CONSTRAINT fk_emta3mmfgpy98t49uuw85ytj FOREIGN KEY (test_description_id) REFERENCES tm_test_description(id);


--
-- TOC entry 4327 (class 2606 OID 755608)
-- Name: fk_enqnurnmnq8mqkn9ttx4p5qxw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_attribute
    ADD CONSTRAINT fk_enqnurnmnq8mqkn9ttx4p5qxw FOREIGN KEY (object_id) REFERENCES tm_object_type(id);


--
-- TOC entry 4278 (class 2606 OID 755363)
-- Name: fk_ep2i9t4xodcjcpt4fca492evq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_type_aud
    ADD CONSTRAINT fk_ep2i9t4xodcjcpt4fca492evq FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4354 (class 2606 OID 755743)
-- Name: fk_eucoxj7yo1x2bsm7hscu1y01u; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_type_aud
    ADD CONSTRAINT fk_eucoxj7yo1x2bsm7hscu1y01u FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4194 (class 2606 OID 754943)
-- Name: fk_ey64j4qj13nxoqrva3x0dfo8h; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_institution_system
    ADD CONSTRAINT fk_ey64j4qj13nxoqrva3x0dfo8h FOREIGN KEY (institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4213 (class 2606 OID 755038)
-- Name: fk_f12o41ku8m5s1mwy4cfwpxsoq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_patient_assigning_autority
    ADD CONSTRAINT fk_f12o41ku8m5s1mwy4cfwpxsoq FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4239 (class 2606 OID 755168)
-- Name: fk_f95746m5seu092ncc6je8dp3b; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_in_session_user
    ADD CONSTRAINT fk_f95746m5seu092ncc6je8dp3b FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4193 (class 2606 OID 754938)
-- Name: fk_fbpmoregsag9sktjk9edhps0h; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_host
    ADD CONSTRAINT fk_fbpmoregsag9sktjk9edhps0h FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4393 (class 2606 OID 755938)
-- Name: fk_fcvt06p9ogywqpi7wv390hdd4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_tm_test_steps_data
    ADD CONSTRAINT fk_fcvt06p9ogywqpi7wv390hdd4 FOREIGN KEY (teststepsdatalist_id) REFERENCES tm_test_steps_data(id);


--
-- TOC entry 4114 (class 2606 OID 754543)
-- Name: fk_fffhdfnac6f1ry2ijq1jsehya; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_integration_profile_aud
    ADD CONSTRAINT fk_fffhdfnac6f1ry2ijq1jsehya FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4369 (class 2606 OID 755818)
-- Name: fk_fnh02vdlv1576p1dsi35eh0rn; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_fnh02vdlv1576p1dsi35eh0rn FOREIGN KEY (process_status_id) REFERENCES tm_step_inst_msg_process_status(id);


--
-- TOC entry 4146 (class 2606 OID 754703)
-- Name: fk_g07iv8pl5kcogd8i5e0vp5dpc; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_standard_aud
    ADD CONSTRAINT fk_g07iv8pl5kcogd8i5e0vp5dpc FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4421 (class 2606 OID 756078)
-- Name: fk_g0l9chva61medkx6l14frkaoa; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_institution_address
    ADD CONSTRAINT fk_g0l9chva61medkx6l14frkaoa FOREIGN KEY (address_id) REFERENCES usr_address(id);


--
-- TOC entry 4403 (class 2606 OID 755988)
-- Name: fk_g1wg5f58l1pkjqnw416b306xk; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance_output_ci_instance
    ADD CONSTRAINT fk_g1wg5f58l1pkjqnw416b306xk FOREIGN KEY (contextual_information_instance_id) REFERENCES tm_contextual_information_instance(id);


--
-- TOC entry 4173 (class 2606 OID 754838)
-- Name: fk_g2xo6ac8ltupkc936681qpi5p; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_connectathon_participant
    ADD CONSTRAINT fk_g2xo6ac8ltupkc936681qpi5p FOREIGN KEY (institution_ok_id) REFERENCES usr_institution(id);


--
-- TOC entry 4363 (class 2606 OID 755788)
-- Name: fk_g9cx5s2jie29wbvsxxa7mmsla; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_patient_patient_identifier
    ADD CONSTRAINT fk_g9cx5s2jie29wbvsxxa7mmsla FOREIGN KEY (identifier_id) REFERENCES tm_patient_identifier(id);


--
-- TOC entry 4395 (class 2606 OID 755948)
-- Name: fk_gal7d8bf3yjmvg2l46g95bl1a; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_step_message_profile
    ADD CONSTRAINT fk_gal7d8bf3yjmvg2l46g95bl1a FOREIGN KEY (tf_hl7_message_profile_id) REFERENCES tf_hl7_message_profile(id);


--
-- TOC entry 4137 (class 2606 OID 754658)
-- Name: fk_gfv3euo4c19tpch111m3859t2; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_profile_link
    ADD CONSTRAINT fk_gfv3euo4c19tpch111m3859t2 FOREIGN KEY (transaction_id) REFERENCES tf_transaction(id);


--
-- TOC entry 4127 (class 2606 OID 754608)
-- Name: fk_gmenyb86ceqff9ujrud4p4elf; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_hl7_message_profile
    ADD CONSTRAINT fk_gmenyb86ceqff9ujrud4p4elf FOREIGN KEY (domain_id) REFERENCES tf_domain(id);


--
-- TOC entry 4417 (class 2606 OID 756058)
-- Name: fk_gq3etdcefp2fj86m8gag3x7xd; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_user_comment
    ADD CONSTRAINT fk_gq3etdcefp2fj86m8gag3x7xd FOREIGN KEY (user_comment_id) REFERENCES tm_user_comment(id);


--
-- TOC entry 4379 (class 2606 OID 755868)
-- Name: fk_gqw41vxqo9df6sksde0m2580p; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_gqw41vxqo9df6sksde0m2580p FOREIGN KEY (sender_tm_configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4220 (class 2606 OID 755073)
-- Name: fk_guvi4au5vqhjmf3i3q502aewu; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_sop_class_aud
    ADD CONSTRAINT fk_guvi4au5vqhjmf3i3q502aewu FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4171 (class 2606 OID 754828)
-- Name: fk_gv71mtgelt71x3sognxfss1ru; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class_aud
    ADD CONSTRAINT fk_gv71mtgelt71x3sognxfss1ru FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4161 (class 2606 OID 754778)
-- Name: fk_h1msohwij9xn53aetuae4iy9m; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_configuration
    ADD CONSTRAINT fk_h1msohwij9xn53aetuae4iy9m FOREIGN KEY (host_id) REFERENCES tm_host(id);


--
-- TOC entry 4268 (class 2606 OID 755313)
-- Name: fk_h1wtq3vlwty6105ibw2pjyjwk; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps
    ADD CONSTRAINT fk_h1wtq3vlwty6105ibw2pjyjwk FOREIGN KEY (transaction_id) REFERENCES tf_transaction(id);


--
-- TOC entry 4245 (class 2606 OID 755198)
-- Name: fk_h2pvtclpmgme2brs7wk0w3c5e; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_roles
    ADD CONSTRAINT fk_h2pvtclpmgme2brs7wk0w3c5e FOREIGN KEY (role_in_test_id) REFERENCES tm_role_in_test(id);


--
-- TOC entry 4100 (class 2606 OID 754473)
-- Name: fk_h2w5wameru1m43upruylnw8xu; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_search_criteria_per_report
    ADD CONSTRAINT fk_h2w5wameru1m43upruylnw8xu FOREIGN KEY (search_log_criterion_id) REFERENCES pr_search_log_criterion(id);


--
-- TOC entry 4162 (class 2606 OID 754783)
-- Name: fk_h3cpscb0ttmpqnfyn39syg1f4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_configuration
    ADD CONSTRAINT fk_h3cpscb0ttmpqnfyn39syg1f4 FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4361 (class 2606 OID 755778)
-- Name: fk_h3oxq1pq6j9ccvsfv7219eiqc; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_patient_assigning_authority_sis
    ADD CONSTRAINT fk_h3oxq1pq6j9ccvsfv7219eiqc FOREIGN KEY (patient_assigning_authority_id) REFERENCES tm_patient_assigning_autority(id);


--
-- TOC entry 4400 (class 2606 OID 755973)
-- Name: fk_h63ttx91v2t1h0564hsmptwg9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance_input_ci_instance
    ADD CONSTRAINT fk_h63ttx91v2t1h0564hsmptwg9 FOREIGN KEY (test_steps_instance_id) REFERENCES tm_test_steps_instance(id);


--
-- TOC entry 4224 (class 2606 OID 755093)
-- Name: fk_hbe4iiuec1lcf6d09jr4ny1j7; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_syslog_configuration
    ADD CONSTRAINT fk_hbe4iiuec1lcf6d09jr4ny1j7 FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4170 (class 2606 OID 754823)
-- Name: fk_hi7lqy7855wnca9dxx7aietjg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class
    ADD CONSTRAINT fk_hi7lqy7855wnca9dxx7aietjg FOREIGN KEY (ws_transaction_usage_id) REFERENCES tf_ws_transaction_usage(id);


--
-- TOC entry 4257 (class 2606 OID 755258)
-- Name: fk_hls7j25qlhs6c5ex4kd0y8wx4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_participants
    ADD CONSTRAINT fk_hls7j25qlhs6c5ex4kd0y8wx4 FOREIGN KEY (status_id) REFERENCES tm_test_instance_participants_status(id);


--
-- TOC entry 4298 (class 2606 OID 755463)
-- Name: fk_hrfsiaetnyws8x0c66376hp1t; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY sys_dicom_documents_for_systems
    ADD CONSTRAINT fk_hrfsiaetnyws8x0c66376hp1t FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4267 (class 2606 OID 755308)
-- Name: fk_htntijiqqt0ec2nuxfnohijrd; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps
    ADD CONSTRAINT fk_htntijiqqt0ec2nuxfnohijrd FOREIGN KEY (test_steps_option_id) REFERENCES tm_test_steps_option(id);


--
-- TOC entry 4287 (class 2606 OID 755408)
-- Name: fk_hw6hksbj3pn9g025bxbsgl6i7; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_web_service_configuration
    ADD CONSTRAINT fk_hw6hksbj3pn9g025bxbsgl6i7 FOREIGN KEY (ws_transaction_usage) REFERENCES tf_ws_transaction_usage(id);


--
-- TOC entry 4352 (class 2606 OID 755733)
-- Name: fk_i17aunwkunfm26o22uqob58iy; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_reader_aud
    ADD CONSTRAINT fk_i17aunwkunfm26o22uqob58iy FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4284 (class 2606 OID 755393)
-- Name: fk_i5d14il8ihrkj9n1yjontwuux; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_user_preferences
    ADD CONSTRAINT fk_i5d14il8ihrkj9n1yjontwuux FOREIGN KEY (selected_testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4355 (class 2606 OID 755748)
-- Name: fk_i94kdks47uoatdc26pf3y2y9y; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oid_requirement
    ADD CONSTRAINT fk_i94kdks47uoatdc26pf3y2y9y FOREIGN KEY (oid_root_definition_id) REFERENCES tm_oid_root_definition(id);


--
-- TOC entry 4117 (class 2606 OID 754558)
-- Name: fk_ichumu56164vfu1j44qb0uos3; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_integration_profile_option
    ADD CONSTRAINT fk_ichumu56164vfu1j44qb0uos3 FOREIGN KEY (integration_profile_option_id) REFERENCES tf_integration_profile_option(id);


--
-- TOC entry 4381 (class 2606 OID 755878)
-- Name: fk_ifx28c1u92apr606e2naos3ki; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_ifx28c1u92apr606e2naos3ki FOREIGN KEY (tm_test_step_message_profile_id) REFERENCES tm_test_step_message_profile(id);


--
-- TOC entry 4303 (class 2606 OID 755488)
-- Name: fk_iqelub40m4bwli6jc4p1gahw0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_document_sections
    ADD CONSTRAINT fk_iqelub40m4bwli6jc4p1gahw0 FOREIGN KEY (document_id) REFERENCES tf_document(id);


--
-- TOC entry 4143 (class 2606 OID 754688)
-- Name: fk_j241r3eqgmslvierka38b8g0n; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_rule_criterion
    ADD CONSTRAINT fk_j241r3eqgmslvierka38b8g0n FOREIGN KEY (aiporule_id) REFERENCES tf_rule(id);


--
-- TOC entry 4324 (class 2606 OID 755593)
-- Name: fk_j44487m84na9g0oiiu4wq43u; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_meta_test_test_roles
    ADD CONSTRAINT fk_j44487m84na9g0oiiu4wq43u FOREIGN KEY (meta_test_id) REFERENCES tm_meta_test(id);


--
-- TOC entry 4330 (class 2606 OID 755623)
-- Name: fk_j7gsljmq2hxk05n3pvjycn66u; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_attribute_option_aud
    ADD CONSTRAINT fk_j7gsljmq2hxk05n3pvjycn66u FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4305 (class 2606 OID 755498)
-- Name: fk_j86yg7l48lurifx013ijn01hj; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_domain_profile_aud
    ADD CONSTRAINT fk_j86yg7l48lurifx013ijn01hj FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4154 (class 2606 OID 754743)
-- Name: fk_j92xo8oyqun96s7ct4dxoqj21; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_option_type_aud
    ADD CONSTRAINT fk_j92xo8oyqun96s7ct4dxoqj21 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4343 (class 2606 OID 755688)
-- Name: fk_jegpl0w8wjrfvliavg9g9k0xy; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_annotation
    ADD CONSTRAINT fk_jegpl0w8wjrfvliavg9g9k0xy FOREIGN KEY (object_instance_id) REFERENCES tm_object_instance(id);


--
-- TOC entry 4416 (class 2606 OID 756053)
-- Name: fk_jeticaxprq8ctgjwjrl4upanv; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_types_sessions
    ADD CONSTRAINT fk_jeticaxprq8ctgjwjrl4upanv FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4165 (class 2606 OID 754798)
-- Name: fk_k2nts9kv5ltrg3is0tuk2nc87; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_configuration_type_aud
    ADD CONSTRAINT fk_k2nts9kv5ltrg3is0tuk2nc87 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4102 (class 2606 OID 754483)
-- Name: fk_k4w3vge0p53q44ef9kwq9lesw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_search_log_systems_found
    ADD CONSTRAINT fk_k4w3vge0p53q44ef9kwq9lesw FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4253 (class 2606 OID 755238)
-- Name: fk_k9841xy3mx4t4oe0j0gba42i4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance
    ADD CONSTRAINT fk_k9841xy3mx4t4oe0j0gba42i4 FOREIGN KEY (test_id) REFERENCES tm_test(id);


--
-- TOC entry 4301 (class 2606 OID 755478)
-- Name: fk_kghw5fo7w5wbq5ayl4bo1hwok; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_document
    ADD CONSTRAINT fk_kghw5fo7w5wbq5ayl4bo1hwok FOREIGN KEY (document_domain_id) REFERENCES tf_domain(id);


--
-- TOC entry 4107 (class 2606 OID 754508)
-- Name: fk_khmdmvjary6ia8u4oxvpb672y; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_mail
    ADD CONSTRAINT fk_khmdmvjary6ia8u4oxvpb672y FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4111 (class 2606 OID 754528)
-- Name: fk_kirnjsxowiurs62dcw84g9sy8; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_default_ports
    ADD CONSTRAINT fk_kirnjsxowiurs62dcw84g9sy8 FOREIGN KEY (actor_id) REFERENCES tf_actor(id);


--
-- TOC entry 4281 (class 2606 OID 755378)
-- Name: fk_kmghkdnf8gxqp5l5w656qikdc; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_testing_session
    ADD CONSTRAINT fk_kmghkdnf8gxqp5l5w656qikdc FOREIGN KEY (networkconfiguration_id) REFERENCES tm_network_config_for_session(id);


--
-- TOC entry 4209 (class 2606 OID 755018)
-- Name: fk_kngpo6n5gql6s9si9g4jyy1r9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oid_institution
    ADD CONSTRAINT fk_kngpo6n5gql6s9si9g4jyy1r9 FOREIGN KEY (institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4122 (class 2606 OID 754583)
-- Name: fk_kqshjsm4nxkadcwjw3d3csiny; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_audit_message
    ADD CONSTRAINT fk_kqshjsm4nxkadcwjw3d3csiny FOREIGN KEY (issuing_actor) REFERENCES tf_actor(id);


--
-- TOC entry 4285 (class 2606 OID 755398)
-- Name: fk_ks4okv9ariahgb5n0k3d3esw9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_user_preferences
    ADD CONSTRAINT fk_ks4okv9ariahgb5n0k3d3esw9 FOREIGN KEY (userphoto_id) REFERENCES tm_user_photo(id);


--
-- TOC entry 4134 (class 2606 OID 754643)
-- Name: fk_kuduyri7glq93006crkrnufkw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile_status_type_aud
    ADD CONSTRAINT fk_kuduyri7glq93006crkrnufkw FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4116 (class 2606 OID 754553)
-- Name: fk_l1fdaa86cbvmpqmp1q3f0hwcm; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_integration_profile_option
    ADD CONSTRAINT fk_l1fdaa86cbvmpqmp1q3f0hwcm FOREIGN KEY (document_section) REFERENCES tf_document_sections(id);


--
-- TOC entry 4118 (class 2606 OID 754563)
-- Name: fk_l3r8wknk5xpfwpagfodbrevi2; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_actor_integration_profile_option_aud
    ADD CONSTRAINT fk_l3r8wknk5xpfwpagfodbrevi2 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4206 (class 2606 OID 755003)
-- Name: fk_la7va5x4pm97bbtpuseg85eb2; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_monitor_test
    ADD CONSTRAINT fk_la7va5x4pm97bbtpuseg85eb2 FOREIGN KEY (test_id) REFERENCES tm_test(id);


--
-- TOC entry 4262 (class 2606 OID 755283)
-- Name: fk_lal4j6ndlklnfbtg5pebpvixq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_participants_aud
    ADD CONSTRAINT fk_lal4j6ndlklnfbtg5pebpvixq FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4232 (class 2606 OID 755133)
-- Name: fk_lh5niyx5y4tsk7p9pfbetqcwa; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_aipo_result_for_a_testing_session
    ADD CONSTRAINT fk_lh5niyx5y4tsk7p9pfbetqcwa FOREIGN KEY (system_actor_profile_id) REFERENCES tm_system_actor_profiles(id);


--
-- TOC entry 4320 (class 2606 OID 755573)
-- Name: fk_lieh7w7rgtbbv3fsajnokw4wa; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_demonstrations_in_testing_sessions
    ADD CONSTRAINT fk_lieh7w7rgtbbv3fsajnokw4wa FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4344 (class 2606 OID 755693)
-- Name: fk_liwpi61feu2ytqxrgqcyyg859; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_attribute
    ADD CONSTRAINT fk_liwpi61feu2ytqxrgqcyyg859 FOREIGN KEY (attribute_id) REFERENCES tm_object_attribute(id);


--
-- TOC entry 4385 (class 2606 OID 755898)
-- Name: fk_lqcivp5bh2olqqdmy9jah4gor; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_events
    ADD CONSTRAINT fk_lqcivp5bh2olqqdmy9jah4gor FOREIGN KEY (systemevents_id) REFERENCES tm_system_event(id);


--
-- TOC entry 4328 (class 2606 OID 755613)
-- Name: fk_ls8c5t68q91vgsmp6h52mu9vg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_attribute_aud
    ADD CONSTRAINT fk_ls8c5t68q91vgsmp6h52mu9vg FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4388 (class 2606 OID 755913)
-- Name: fk_lvqtq11ve10tm8ibq8d24a6n; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_test_instance_path_to_log_file
    ADD CONSTRAINT fk_lvqtq11ve10tm8ibq8d24a6n FOREIGN KEY (test_instance_id) REFERENCES tm_test_instance(id);


--
-- TOC entry 4166 (class 2606 OID 754803)
-- Name: fk_lw5wptdonu1q59obxe8ooswv0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class
    ADD CONSTRAINT fk_lw5wptdonu1q59obxe8ooswv0 FOREIGN KEY (configurationtype_id) REFERENCES tm_configuration_type(id);


--
-- TOC entry 4413 (class 2606 OID 756038)
-- Name: fk_m1ecsldv3cwqsm4j4olutynva; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_test_steps
    ADD CONSTRAINT fk_m1ecsldv3cwqsm4j4olutynva FOREIGN KEY (test_steps_id) REFERENCES tm_test_steps(id);


--
-- TOC entry 4420 (class 2606 OID 756073)
-- Name: fk_m3o27nlw1nlnan9tb9avku02i; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_testing_session_admin
    ADD CONSTRAINT fk_m3o27nlw1nlnan9tb9avku02i FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4258 (class 2606 OID 755263)
-- Name: fk_m7xtyf7tm5d1jsy9jk5oauc9a; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_participants
    ADD CONSTRAINT fk_m7xtyf7tm5d1jsy9jk5oauc9a FOREIGN KEY (system_in_session_user_id) REFERENCES tm_system_in_session_user(id);


--
-- TOC entry 4272 (class 2606 OID 755333)
-- Name: fk_ma8wa4g8sn4i7qetctmwhlnvj; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance
    ADD CONSTRAINT fk_ma8wa4g8sn4i7qetctmwhlnvj FOREIGN KEY (execution_status_id) REFERENCES tm_step_instance_exec_status(id);


--
-- TOC entry 4109 (class 2606 OID 754518)
-- Name: fk_mfo2jk254s1f9b5t2cwp44yei; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY sys_system_subtypes_per_system_type
    ADD CONSTRAINT fk_mfo2jk254s1f9b5t2cwp44yei FOREIGN KEY (system_type_id) REFERENCES sys_system_type(id);


--
-- TOC entry 4342 (class 2606 OID 755683)
-- Name: fk_mr9lu379jopp7l22k5lw790ax; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_annotation
    ADD CONSTRAINT fk_mr9lu379jopp7l22k5lw790ax FOREIGN KEY (annotation_id) REFERENCES tm_annotation(id);


--
-- TOC entry 4339 (class 2606 OID 755668)
-- Name: fk_msmtjuieytyw7mkr6e29cus55; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance
    ADD CONSTRAINT fk_msmtjuieytyw7mkr6e29cus55 FOREIGN KEY (test_type_id) REFERENCES tm_test_type(id);


--
-- TOC entry 4348 (class 2606 OID 755713)
-- Name: fk_muco5r9r47comq5pdejgyq0v; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_file
    ADD CONSTRAINT fk_muco5r9r47comq5pdejgyq0v FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4275 (class 2606 OID 755348)
-- Name: fk_n0kvbowvki1af3a6ku0lq2ixq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance
    ADD CONSTRAINT fk_n0kvbowvki1af3a6ku0lq2ixq FOREIGN KEY (test_steps_id) REFERENCES tm_test_steps(id);


--
-- TOC entry 4401 (class 2606 OID 755978)
-- Name: fk_n59hqaegg354gmwaw6waqv92l; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance_input_ci_instance
    ADD CONSTRAINT fk_n59hqaegg354gmwaw6waqv92l FOREIGN KEY (contextual_information_instance_id) REFERENCES tm_contextual_information_instance(id);


--
-- TOC entry 4429 (class 2606 OID 756118)
-- Name: fk_n7gxjfdul9jid245847muudoy; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_user_role
    ADD CONSTRAINT fk_n7gxjfdul9jid245847muudoy FOREIGN KEY (user_id) REFERENCES usr_users(id);


--
-- TOC entry 4409 (class 2606 OID 756018)
-- Name: fk_n8mdra84dv22qsgmkefw8megq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_test_description
    ADD CONSTRAINT fk_n8mdra84dv22qsgmkefw8megq FOREIGN KEY (test_id) REFERENCES tm_test(id);


--
-- TOC entry 4103 (class 2606 OID 754488)
-- Name: fk_n9rqmdq9h6s5wcwen16gnnt2y; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_search_log_systems_found
    ADD CONSTRAINT fk_n9rqmdq9h6s5wcwen16gnnt2y FOREIGN KEY (search_report_id) REFERENCES pr_search_log_report(id);


--
-- TOC entry 4212 (class 2606 OID 755033)
-- Name: fk_nennvs171bi7s7op3n7gmnlbi; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_path_aud
    ADD CONSTRAINT fk_nennvs171bi7s7op3n7gmnlbi FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4222 (class 2606 OID 755083)
-- Name: fk_nhn135cn73i6ok4dks41yvx4s; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_subtypes_per_system
    ADD CONSTRAINT fk_nhn135cn73i6ok4dks41yvx4s FOREIGN KEY (system_subtypes_per_system_type_id) REFERENCES sys_system_subtypes_per_system_type(id);


--
-- TOC entry 4202 (class 2606 OID 754983)
-- Name: fk_nihnqthjjtmy4tuum1oatjyw5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_meta_test_aud
    ADD CONSTRAINT fk_nihnqthjjtmy4tuum1oatjyw5 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4163 (class 2606 OID 754788)
-- Name: fk_nlrdxrud9haf3aoqtwbv20mf0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_configuration_mapped_with_aipo
    ADD CONSTRAINT fk_nlrdxrud9haf3aoqtwbv20mf0 FOREIGN KEY (aipo_id) REFERENCES tf_actor_integration_profile_option(id);


--
-- TOC entry 4147 (class 2606 OID 754708)
-- Name: fk_nmsbssdcd0ll5g9dvehic1cdg; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction
    ADD CONSTRAINT fk_nmsbssdcd0ll5g9dvehic1cdg FOREIGN KEY (documentsection) REFERENCES tf_document_sections(id);


--
-- TOC entry 4271 (class 2606 OID 755328)
-- Name: fk_nmscf6j85yxg8byy7o6fxj4n9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_data
    ADD CONSTRAINT fk_nmscf6j85yxg8byy7o6fxj4n9 FOREIGN KEY (data_type_id) REFERENCES tm_data_type(id);


--
-- TOC entry 4226 (class 2606 OID 755103)
-- Name: fk_noppdjafjokxk0exqc0p6mgsw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system
    ADD CONSTRAINT fk_noppdjafjokxk0exqc0p6mgsw FOREIGN KEY (system_type_id) REFERENCES sys_system_type(id);


--
-- TOC entry 4135 (class 2606 OID 754648)
-- Name: fk_np3xu3ya9brlrhx2jxadk1gl6; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile_type_aud
    ADD CONSTRAINT fk_np3xu3ya9brlrhx2jxadk1gl6 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4376 (class 2606 OID 755853)
-- Name: fk_nuq0tu6poiuwa2m8we4iucmi; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_nuq0tu6poiuwa2m8we4iucmi FOREIGN KEY (sender_host_id) REFERENCES tm_host(id);


--
-- TOC entry 4195 (class 2606 OID 754948)
-- Name: fk_nwmrmlv2n1tb6evu96fenqydq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_institution_system
    ADD CONSTRAINT fk_nwmrmlv2n1tb6evu96fenqydq FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4273 (class 2606 OID 755338)
-- Name: fk_nxratne8p854xc4y96ce27igj; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_instance
    ADD CONSTRAINT fk_nxratne8p854xc4y96ce27igj FOREIGN KEY (system_in_session_initiator_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4431 (class 2606 OID 756128)
-- Name: fk_nyqv47jtq7254b9y0kq55g0p4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_users
    ADD CONSTRAINT fk_nyqv47jtq7254b9y0kq55g0p4 FOREIGN KEY (institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4380 (class 2606 OID 755873)
-- Name: fk_o0rwou91h3807kd2y7pmokfcf; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_o0rwou91h3807kd2y7pmokfcf FOREIGN KEY (tm_test_step_instance_id) REFERENCES tm_test_steps_instance(id);


--
-- TOC entry 4201 (class 2606 OID 754978)
-- Name: fk_ocbykg3yewg11r6e3ax39ap62; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_jira_issues_to_test_aud
    ADD CONSTRAINT fk_ocbykg3yewg11r6e3ax39ap62 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4223 (class 2606 OID 755088)
-- Name: fk_ocvgk0pa31pbq5j48jnpkjr2j; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_syslog_configuration
    ADD CONSTRAINT fk_ocvgk0pa31pbq5j48jnpkjr2j FOREIGN KEY (transport_layer_id) REFERENCES tm_transport_layer_for_config(id);


--
-- TOC entry 4198 (class 2606 OID 754963)
-- Name: fk_ohx2b3k5dy7dk6srai3xxe7i2; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_invoice
    ADD CONSTRAINT fk_ohx2b3k5dy7dk6srai3xxe7i2 FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4219 (class 2606 OID 755068)
-- Name: fk_ohydmmym8xeemdov67b3if3kp; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_sap_result_tr_comment
    ADD CONSTRAINT fk_ohydmmym8xeemdov67b3if3kp FOREIGN KEY (tr_id) REFERENCES tm_test_roles(id);


--
-- TOC entry 4333 (class 2606 OID 755638)
-- Name: fk_ojka8mg54bum99vrds2wn4nar; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_creator_aud
    ADD CONSTRAINT fk_ojka8mg54bum99vrds2wn4nar FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4207 (class 2606 OID 755008)
-- Name: fk_ollwjxfh9b0krgxki6lumkejv; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_network_config_for_session
    ADD CONSTRAINT fk_ollwjxfh9b0krgxki6lumkejv FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4176 (class 2606 OID 754853)
-- Name: fk_ox51ucd6916jemwf3macupb1v; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_contextual_information_aud
    ADD CONSTRAINT fk_ox51ucd6916jemwf3macupb1v FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4221 (class 2606 OID 755078)
-- Name: fk_oyeqw9rxxe4ijvvvb90ht0yte; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_subtypes_per_system
    ADD CONSTRAINT fk_oyeqw9rxxe4ijvvvb90ht0yte FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4396 (class 2606 OID 755953)
-- Name: fk_p7arm8awsahr6cmr4csbqlsfp; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_step_message_profile
    ADD CONSTRAINT fk_p7arm8awsahr6cmr4csbqlsfp FOREIGN KEY (tm_test_steps_id) REFERENCES tm_test_steps(id);


--
-- TOC entry 4249 (class 2606 OID 755218)
-- Name: fk_pbtvrjyr45ojwi5j2na8y6mkq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_description
    ADD CONSTRAINT fk_pbtvrjyr45ojwi5j2na8y6mkq FOREIGN KEY (gazelle_language_id) REFERENCES usr_gazelle_language(id);


--
-- TOC entry 4248 (class 2606 OID 755213)
-- Name: fk_pc4iiwm2b903iwx7oogc9cd0i; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_roles_aud
    ADD CONSTRAINT fk_pc4iiwm2b903iwx7oogc9cd0i FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4406 (class 2606 OID 756003)
-- Name: fk_peh518reooej1bgy0uq1yrqw1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_output_ci_aud
    ADD CONSTRAINT fk_peh518reooej1bgy0uq1yrqw1 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4279 (class 2606 OID 755368)
-- Name: fk_peyxbcqtu2y8scuc96mdpbxow; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_testing_session
    ADD CONSTRAINT fk_peyxbcqtu2y8scuc96mdpbxow FOREIGN KEY (address_id) REFERENCES usr_address(id);


--
-- TOC entry 4307 (class 2606 OID 755508)
-- Name: fk_pfco9j3tuok8p2pxb7jrqh47y; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_hl7_message_profile_affinity_domain
    ADD CONSTRAINT fk_pfco9j3tuok8p2pxb7jrqh47y FOREIGN KEY (hl7_message_profile_id) REFERENCES tf_hl7_message_profile(id);


--
-- TOC entry 4368 (class 2606 OID 755813)
-- Name: fk_phxy9nfj6wts9kcrm9nqkotdw; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_role_in_test_test_participants_aud
    ADD CONSTRAINT fk_phxy9nfj6wts9kcrm9nqkotdw FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4371 (class 2606 OID 755828)
-- Name: fk_pjja9bj6ln7n6f1iy7350jjjh; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_pjja9bj6ln7n6f1iy7350jjjh FOREIGN KEY (receiver_host_id) REFERENCES tm_host(id);


--
-- TOC entry 4422 (class 2606 OID 756083)
-- Name: fk_pkeq7ywr9281p26l7fgkom3df; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_institution_address
    ADD CONSTRAINT fk_pkeq7ywr9281p26l7fgkom3df FOREIGN KEY (institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4337 (class 2606 OID 755658)
-- Name: fk_pn9t12u2cf3g4vto7u89y9dth; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_file_type_aud
    ADD CONSTRAINT fk_pn9t12u2cf3g4vto7u89y9dth FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4240 (class 2606 OID 755173)
-- Name: fk_pqb7g2f0lw5upbumnaauvopwv; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_in_session_user
    ADD CONSTRAINT fk_pqb7g2f0lw5upbumnaauvopwv FOREIGN KEY (user_id) REFERENCES usr_users(id);


--
-- TOC entry 4321 (class 2606 OID 755578)
-- Name: fk_q268jj2ritmaqhn5wgc88b3q0; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_demonstrations_in_testing_sessions
    ADD CONSTRAINT fk_q268jj2ritmaqhn5wgc88b3q0 FOREIGN KEY (demonstration_id) REFERENCES tm_demonstration(id);


--
-- TOC entry 4392 (class 2606 OID 755933)
-- Name: fk_q27fxsv78duwivajsy79pwmd5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance_test_steps_instance
    ADD CONSTRAINT fk_q27fxsv78duwivajsy79pwmd5 FOREIGN KEY (test_steps_instance_id) REFERENCES tm_test_steps_instance(id);


--
-- TOC entry 4179 (class 2606 OID 754868)
-- Name: fk_q2r1knr42gwluam0uta8cyud1; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_demonstration_system_in_session
    ADD CONSTRAINT fk_q2r1knr42gwluam0uta8cyud1 FOREIGN KEY (demonstration_id) REFERENCES tm_demonstration(id);


--
-- TOC entry 4299 (class 2606 OID 755468)
-- Name: fk_qdguie6pvgkifk5o09gxte21v; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY sys_hl7_documents_for_systems
    ADD CONSTRAINT fk_qdguie6pvgkifk5o09gxte21v FOREIGN KEY (path_linking_a_document_id) REFERENCES cmn_path_linking_a_document(id);


--
-- TOC entry 4251 (class 2606 OID 755228)
-- Name: fk_qeijgpdnuwptql64jtakwvssl; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_instance
    ADD CONSTRAINT fk_qeijgpdnuwptql64jtakwvssl FOREIGN KEY (execution_status_id) REFERENCES tm_test_instance_exec_status(id);


--
-- TOC entry 4367 (class 2606 OID 755808)
-- Name: fk_qj6unnr6faycfvkjxk68sqt9; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_role_in_test_test_participants
    ADD CONSTRAINT fk_qj6unnr6faycfvkjxk68sqt9 FOREIGN KEY (role_in_test_id) REFERENCES tm_role_in_test(id);


--
-- TOC entry 4359 (class 2606 OID 755768)
-- Name: fk_qn46egrt4hjpopxfqaer41141; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_oid_system_assignment
    ADD CONSTRAINT fk_qn46egrt4hjpopxfqaer41141 FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4399 (class 2606 OID 755968)
-- Name: fk_qngdwbmhr0utolrvcd2y9yoe2; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_steps_input_ci_aud
    ADD CONSTRAINT fk_qngdwbmhr0utolrvcd2y9yoe2 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4319 (class 2606 OID 755568)
-- Name: fk_qp2aih0y4eqjckklxop8ali7w; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conf_mapping_w_aipo_w_conftypes_aud
    ADD CONSTRAINT fk_qp2aih0y4eqjckklxop8ali7w FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4129 (class 2606 OID 754618)
-- Name: fk_qx4njevahh67dplugi2iqgn9f; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_hl7_message_profile_aud
    ADD CONSTRAINT fk_qx4njevahh67dplugi2iqgn9f FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4157 (class 2606 OID 754758)
-- Name: fk_qxy2usxp9p277j5m1gyjgrlxv; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_ws_transaction_usage_aud
    ADD CONSTRAINT fk_qxy2usxp9p277j5m1gyjgrlxv FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4374 (class 2606 OID 755843)
-- Name: fk_r2riual1pmeubppuln4sds7tn; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_message
    ADD CONSTRAINT fk_r2riual1pmeubppuln4sds7tn FOREIGN KEY (receiver_tm_configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4168 (class 2606 OID 754813)
-- Name: fk_r6ge0q8jxhcc0tpihadhqwqyf; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class
    ADD CONSTRAINT fk_r6ge0q8jxhcc0tpihadhqwqyf FOREIGN KEY (transport_layer_id) REFERENCES tm_transport_layer_for_config(id);


--
-- TOC entry 4430 (class 2606 OID 756123)
-- Name: fk_r98ip7hgg258gxm6jk9oj0v6t; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_user_role
    ADD CONSTRAINT fk_r98ip7hgg258gxm6jk9oj0v6t FOREIGN KEY (role_id) REFERENCES usr_role(id);


--
-- TOC entry 4304 (class 2606 OID 755493)
-- Name: fk_rfgwvh14e22kxi49wt8rtus68; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_document_sections_aud
    ADD CONSTRAINT fk_rfgwvh14e22kxi49wt8rtus68 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4214 (class 2606 OID 755043)
-- Name: fk_rgps9odu5fscdn057l2qakow4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_patient_identifier
    ADD CONSTRAINT fk_rgps9odu5fscdn057l2qakow4 FOREIGN KEY (ass_auth_id) REFERENCES tm_patient_assigning_autority(id);


--
-- TOC entry 4329 (class 2606 OID 755618)
-- Name: fk_rlluayhnmqh8jt9lu0k29hjqn; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_attribute_option
    ADD CONSTRAINT fk_rlluayhnmqh8jt9lu0k29hjqn FOREIGN KEY (attribue_id) REFERENCES tm_object_attribute(id);


--
-- TOC entry 4235 (class 2606 OID 755148)
-- Name: fk_rpn1pj7pohlr5nuwpb4e5exp3; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_in_session
    ADD CONSTRAINT fk_rpn1pj7pohlr5nuwpb4e5exp3 FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4261 (class 2606 OID 755278)
-- Name: fk_rq8l80icaxhf7nia0ae4eyyor; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_participants
    ADD CONSTRAINT fk_rq8l80icaxhf7nia0ae4eyyor FOREIGN KEY (actor_integration_profile_option_id) REFERENCES tf_actor_integration_profile_option(id);


--
-- TOC entry 4217 (class 2606 OID 755058)
-- Name: fk_rqwjjlu9fa5ugx3p08ku3mdga; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_role_in_test_aud
    ADD CONSTRAINT fk_rqwjjlu9fa5ugx3p08ku3mdga FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4286 (class 2606 OID 755403)
-- Name: fk_rr1cirqxrhgbtlwvrnypyumum; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_web_service_configuration
    ADD CONSTRAINT fk_rr1cirqxrhgbtlwvrnypyumum FOREIGN KEY (webservice_type) REFERENCES tm_web_service_type(id);


--
-- TOC entry 4182 (class 2606 OID 754883)
-- Name: fk_rshfckfpohwrc46smcjaf5ccl; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_dicom_scp_configuration
    ADD CONSTRAINT fk_rshfckfpohwrc46smcjaf5ccl FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4325 (class 2606 OID 755598)
-- Name: fk_rttbxqqdc0g4p8i9wp4ady0m5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_meta_test_test_roles
    ADD CONSTRAINT fk_rttbxqqdc0g4p8i9wp4ady0m5 FOREIGN KEY (test_roles_id) REFERENCES tm_test_roles(id);


--
-- TOC entry 4314 (class 2606 OID 755543)
-- Name: fk_ru5fqa00qtwrerdt1oqqsjlv4; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_standard
    ADD CONSTRAINT fk_ru5fqa00qtwrerdt1oqqsjlv4 FOREIGN KEY (standard_id) REFERENCES tf_standard(id);


--
-- TOC entry 4229 (class 2606 OID 755118)
-- Name: fk_rxho3xai0u6jtei53ujvoncrj; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_actor_profiles
    ADD CONSTRAINT fk_rxho3xai0u6jtei53ujvoncrj FOREIGN KEY (testing_type_id) REFERENCES tm_testing_type(id);


--
-- TOC entry 4364 (class 2606 OID 755793)
-- Name: fk_ryh6739nw0ym9un3g7wjj7agp; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_profiles_in_testing_sessions
    ADD CONSTRAINT fk_ryh6739nw0ym9un3g7wjj7agp FOREIGN KEY (integration_profile_id) REFERENCES tf_integration_profile(id);


--
-- TOC entry 4169 (class 2606 OID 754818)
-- Name: fk_ryuag4lisoh65iqs1qwu1d8u5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_conftype_w_ports_wstype_and_sop_class
    ADD CONSTRAINT fk_ryuag4lisoh65iqs1qwu1d8u5 FOREIGN KEY (web_service_type_id) REFERENCES tm_web_service_type(id);


--
-- TOC entry 4094 (class 2606 OID 754443)
-- Name: fk_s296674hwdluo6scebjkp712u; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_crawler_changed_integration_statements
    ADD CONSTRAINT fk_s296674hwdluo6scebjkp712u FOREIGN KEY (system_id) REFERENCES tm_system(id);


--
-- TOC entry 4340 (class 2606 OID 755673)
-- Name: fk_s42g4w0ccbhobtpeg9vytc3wf; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance
    ADD CONSTRAINT fk_s42g4w0ccbhobtpeg9vytc3wf FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4130 (class 2606 OID 754623)
-- Name: fk_s62lad7mgha6mk7y8d1j4ww6a; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_integration_profile
    ADD CONSTRAINT fk_s62lad7mgha6mk7y8d1j4ww6a FOREIGN KEY (documentsection) REFERENCES tf_document_sections(id);


--
-- TOC entry 4218 (class 2606 OID 755063)
-- Name: fk_s6tj5xdwhrgk9fq1f8ewoa0ul; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_sap_result_tr_comment
    ADD CONSTRAINT fk_s6tj5xdwhrgk9fq1f8ewoa0ul FOREIGN KEY (sap_id) REFERENCES tm_system_aipo_result_for_a_testing_session(id);


--
-- TOC entry 4425 (class 2606 OID 756098)
-- Name: fk_s9eac53wxfkvq1gk2wjdurn38; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_messages_usr_users
    ADD CONSTRAINT fk_s9eac53wxfkvq1gk2wjdurn38 FOREIGN KEY (users_id) REFERENCES usr_users(id);


--
-- TOC entry 4184 (class 2606 OID 754893)
-- Name: fk_sbi4lm2rfpgoo61sr7bi7635s; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_dicom_scu_configuration
    ADD CONSTRAINT fk_sbi4lm2rfpgoo61sr7bi7635s FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4097 (class 2606 OID 754458)
-- Name: fk_sciat1llx9q7c392k7a3ea77c; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY pr_crawler_unmatching_hascode_for_integration_statements
    ADD CONSTRAINT fk_sciat1llx9q7c392k7a3ea77c FOREIGN KEY (crawler_report_id) REFERENCES pr_crawler_reporting(id);


--
-- TOC entry 4294 (class 2606 OID 755443)
-- Name: fk_se17muri3hx8svymngo25ope5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_institution
    ADD CONSTRAINT fk_se17muri3hx8svymngo25ope5 FOREIGN KEY (mailing_address_id) REFERENCES usr_address(id);


--
-- TOC entry 4290 (class 2606 OID 755423)
-- Name: fk_ssmkb6wdvl992bxc62brooh51; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_web_service_type_aud
    ADD CONSTRAINT fk_ssmkb6wdvl992bxc62brooh51 FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4178 (class 2606 OID 754863)
-- Name: fk_t0rumxjr2ogajp7htl30wb9ky; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_demonstration
    ADD CONSTRAINT fk_t0rumxjr2ogajp7htl30wb9ky FOREIGN KEY (country) REFERENCES usr_iso_3166_country_code(iso);


--
-- TOC entry 4296 (class 2606 OID 755453)
-- Name: fk_t0uqd6j2ihsc1rksmbtxso3qx; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY usr_person
    ADD CONSTRAINT fk_t0uqd6j2ihsc1rksmbtxso3qx FOREIGN KEY (institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4346 (class 2606 OID 755703)
-- Name: fk_t1r20yd6nvitdg4avapkq5lgk; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_object_instance_file
    ADD CONSTRAINT fk_t1r20yd6nvitdg4avapkq5lgk FOREIGN KEY (file_id) REFERENCES tm_object_file(id);


--
-- TOC entry 4238 (class 2606 OID 755163)
-- Name: fk_t4l59pbfpfvikgmtw0f1oscuq; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_system_in_session
    ADD CONSTRAINT fk_t4l59pbfpfvikgmtw0f1oscuq FOREIGN KEY (testing_session_id) REFERENCES tm_testing_session(id);


--
-- TOC entry 4139 (class 2606 OID 754668)
-- Name: fk_tbg8e3v0117w55eah8dspnd4f; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_profile_link_aud
    ADD CONSTRAINT fk_tbg8e3v0117w55eah8dspnd4f FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4418 (class 2606 OID 756063)
-- Name: fk_tkfw03p8c3spmpu3gwf5yimn5; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_user_comment
    ADD CONSTRAINT fk_tkfw03p8c3spmpu3gwf5yimn5 FOREIGN KEY (test_id) REFERENCES tm_test(id);


--
-- TOC entry 4180 (class 2606 OID 754873)
-- Name: fk_tkgpwjs8907htf8yw3a511y4i; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_demonstration_system_in_session
    ADD CONSTRAINT fk_tkgpwjs8907htf8yw3a511y4i FOREIGN KEY (system_in_session_id) REFERENCES tm_system_in_session(id);


--
-- TOC entry 4197 (class 2606 OID 754958)
-- Name: fk_tkuxf07nj6onh9ewonb4b1ey2; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_invoice
    ADD CONSTRAINT fk_tkuxf07nj6onh9ewonb4b1ey2 FOREIGN KEY (institution_id) REFERENCES usr_institution(id);


--
-- TOC entry 4188 (class 2606 OID 754913)
-- Name: fk_tmy114lg4ja4513atca5hshlo; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_hl7_initiator_configuration
    ADD CONSTRAINT fk_tmy114lg4ja4513atca5hshlo FOREIGN KEY (configuration_id) REFERENCES tm_configuration(id);


--
-- TOC entry 4415 (class 2606 OID 756048)
-- Name: fk_tnbs6to19xl7kgmnb385f4wih; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_test_types_sessions
    ADD CONSTRAINT fk_tnbs6to19xl7kgmnb385f4wih FOREIGN KEY (test_type_id) REFERENCES tm_test_type(id);


--
-- TOC entry 4155 (class 2606 OID 754748)
-- Name: fk_to2vmdf96j8l3ek5jv1sf1qul; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_transaction_status_type_aud
    ADD CONSTRAINT fk_to2vmdf96j8l3ek5jv1sf1qul FOREIGN KEY (rev) REFERENCES revinfo(rev);


--
-- TOC entry 4156 (class 2606 OID 754753)
-- Name: fk_tqey90ukaddb48sit5ikipdps; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_ws_transaction_usage
    ADD CONSTRAINT fk_tqey90ukaddb48sit5ikipdps FOREIGN KEY (transaction_id) REFERENCES tf_transaction(id);


--
-- TOC entry 4383 (class 2606 OID 755888)
-- Name: fk_tqv6bgjhpj50iyioxo3hbddwk; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tm_step_instance_msg_validation
    ADD CONSTRAINT fk_tqv6bgjhpj50iyioxo3hbddwk FOREIGN KEY (tm_step_instance_message_id) REFERENCES tm_step_instance_message(id);


--
-- TOC entry 4121 (class 2606 OID 754578)
-- Name: fk_ululbp46ig0t093pgkr38y6h; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
--

ALTER TABLE ONLY tf_audit_message
    ADD CONSTRAINT fk_ululbp46ig0t093pgkr38y6h FOREIGN KEY (document_section) REFERENCES tf_document_sections(id);


--
-- TOC entry 4936 (class 0 OID 0)
-- Dependencies: 6
-- Name: public; Type: ACL; Schema: -; Owner: postgres
--

REVOKE ALL ON SCHEMA public FROM PUBLIC;
REVOKE ALL ON SCHEMA public FROM postgres;
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO PUBLIC;


-- Completed on 2016-07-29 09:08:25 CEST

--
--
