perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = (unset),
	LC_NUMERIC = (unset),
	LC_COLLATE = (unset),
	LC_TIME = (unset),
	LC_MESSAGES = (unset),
	LC_MONETARY = (unset),
	LC_ADDRESS = (unset),
	LC_IDENTIFICATION = (unset),
	LC_MEASUREMENT = (unset),
	LC_PAPER = (unset),
	LC_TELEPHONE = (unset),
	LC_NAME = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
--
-- PostgreSQL database dump
--

\restrict g7zb5P7iAvkJ5wobd5qMqPK83xFa80TBHIpJ4UGIygA21Y31DtRT2bSADEqSoKt

-- Dumped from database version 17.6 (Debian 17.6-0+deb13u1)
-- Dumped by pg_dump version 17.6 (Debian 17.6-0+deb13u1)

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET transaction_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

--
-- Name: enum_cookie_configurations_enabled_categories; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_cookie_configurations_enabled_categories AS ENUM (
    'necessary',
    'functional',
    'analytics',
    'marketing'
);


ALTER TYPE public.enum_cookie_configurations_enabled_categories OWNER TO payload;

--
-- Name: enum_cookie_configurations_styling_position; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_cookie_configurations_styling_position AS ENUM (
    'bottom',
    'top',
    'middle'
);


ALTER TYPE public.enum_cookie_configurations_styling_position OWNER TO payload;

--
-- Name: enum_cookie_configurations_styling_theme; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_cookie_configurations_styling_theme AS ENUM (
    'dark',
    'light',
    'auto'
);


ALTER TYPE public.enum_cookie_configurations_styling_theme OWNER TO payload;

--
-- Name: enum_cookie_inventory_category; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_cookie_inventory_category AS ENUM (
    'necessary',
    'functional',
    'analytics',
    'marketing'
);


ALTER TYPE public.enum_cookie_inventory_category OWNER TO payload;

--
-- Name: enum_forms_confirmation_type; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_forms_confirmation_type AS ENUM (
    'message',
    'redirect'
);


ALTER TYPE public.enum_forms_confirmation_type OWNER TO payload;

--
-- Name: enum_navigation_footer_menu_link_type; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_navigation_footer_menu_link_type AS ENUM (
    'page',
    'custom'
);


ALTER TYPE public.enum_navigation_footer_menu_link_type OWNER TO payload;

--
-- Name: enum_navigation_main_menu_submenu_link_type; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_navigation_main_menu_submenu_link_type AS ENUM (
    'page',
    'custom'
);


ALTER TYPE public.enum_navigation_main_menu_submenu_link_type OWNER TO payload;

--
-- Name: enum_navigation_main_menu_type; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_navigation_main_menu_type AS ENUM (
    'page',
    'custom',
    'submenu'
);


ALTER TYPE public.enum_navigation_main_menu_type OWNER TO payload;

--
-- Name: enum_pages_blocks_card_grid_block_columns; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_card_grid_block_columns AS ENUM (
    '2',
    '3',
    '4'
);


ALTER TYPE public.enum_pages_blocks_card_grid_block_columns OWNER TO payload;

--
-- Name: enum_pages_blocks_cta_block_background_color; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_cta_block_background_color AS ENUM (
    'dark',
    'light',
    'accent'
);


ALTER TYPE public.enum_pages_blocks_cta_block_background_color OWNER TO payload;

--
-- Name: enum_pages_blocks_cta_block_buttons_style; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_cta_block_buttons_style AS ENUM (
    'primary',
    'secondary',
    'outline'
);


ALTER TYPE public.enum_pages_blocks_cta_block_buttons_style OWNER TO payload;

--
-- Name: enum_pages_blocks_divider_block_spacing; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_divider_block_spacing AS ENUM (
    'small',
    'medium',
    'large'
);


ALTER TYPE public.enum_pages_blocks_divider_block_spacing OWNER TO payload;

--
-- Name: enum_pages_blocks_divider_block_style; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_divider_block_style AS ENUM (
    'line',
    'space',
    'dots'
);


ALTER TYPE public.enum_pages_blocks_divider_block_style OWNER TO payload;

--
-- Name: enum_pages_blocks_hero_block_alignment; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_hero_block_alignment AS ENUM (
    'left',
    'center',
    'right'
);


ALTER TYPE public.enum_pages_blocks_hero_block_alignment OWNER TO payload;

--
-- Name: enum_pages_blocks_hero_block_cta_style; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_hero_block_cta_style AS ENUM (
    'primary',
    'secondary',
    'outline'
);


ALTER TYPE public.enum_pages_blocks_hero_block_cta_style OWNER TO payload;

--
-- Name: enum_pages_blocks_image_text_block_image_position; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_image_text_block_image_position AS ENUM (
    'left',
    'right'
);


ALTER TYPE public.enum_pages_blocks_image_text_block_image_position OWNER TO payload;

--
-- Name: enum_pages_blocks_quote_block_style; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_quote_block_style AS ENUM (
    'simple',
    'highlighted',
    'with-image'
);


ALTER TYPE public.enum_pages_blocks_quote_block_style OWNER TO payload;

--
-- Name: enum_pages_blocks_text_block_width; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_text_block_width AS ENUM (
    'narrow',
    'medium',
    'full'
);


ALTER TYPE public.enum_pages_blocks_text_block_width OWNER TO payload;

--
-- Name: enum_pages_blocks_video_block_aspect_ratio; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_blocks_video_block_aspect_ratio AS ENUM (
    '16:9',
    '4:3',
    '1:1'
);


ALTER TYPE public.enum_pages_blocks_video_block_aspect_ratio OWNER TO payload;

--
-- Name: enum_pages_status; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_pages_status AS ENUM (
    'draft',
    'published'
);


ALTER TYPE public.enum_pages_status OWNER TO payload;

--
-- Name: enum_posts_status; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_posts_status AS ENUM (
    'draft',
    'published',
    'archived'
);


ALTER TYPE public.enum_posts_status OWNER TO payload;

--
-- Name: enum_posts_type; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_posts_type AS ENUM (
    'blog',
    'news',
    'press',
    'announcement'
);


ALTER TYPE public.enum_posts_type OWNER TO payload;

--
-- Name: enum_privacy_policy_settings_alfright_language; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_privacy_policy_settings_alfright_language AS ENUM (
    'de-de',
    'de-at',
    'de-ch',
    'en-gb',
    'en-us'
);


ALTER TYPE public.enum_privacy_policy_settings_alfright_language OWNER TO payload;

--
-- Name: enum_privacy_policy_settings_provider; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_privacy_policy_settings_provider AS ENUM (
    'alfright',
    'internal'
);


ALTER TYPE public.enum_privacy_policy_settings_provider OWNER TO payload;

--
-- Name: enum_redirects_to_type; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_redirects_to_type AS ENUM (
    'reference',
    'custom'
);


ALTER TYPE public.enum_redirects_to_type OWNER TO payload;

--
-- Name: enum_social_links_platform; Type: TYPE; Schema: public; Owner: payload
--

CREATE TYPE public.enum_social_links_platform AS ENUM (
    'facebook',
    'x',
    'instagram',
    'youtube',
    'linkedin',
    'xing'
);


ALTER TYPE public.enum_social_links_platform OWNER TO payload;

SET default_tablespace = '';

SET default_table_access_method = heap;

--
-- Name: categories; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.categories (
    id integer NOT NULL,
    tenant_id integer,
    name character varying NOT NULL,
    slug character varying NOT NULL,
    description character varying,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.categories OWNER TO payload;

--
-- Name: categories_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.categories_id_seq OWNER TO payload;

--
-- Name: categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.categories_id_seq OWNED BY public.categories.id;


--
-- Name: consent_logs; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.consent_logs (
    id integer NOT NULL,
    consent_id character varying NOT NULL,
    client_ref character varying,
    tenant_id integer NOT NULL,
    categories jsonb NOT NULL,
    revision numeric NOT NULL,
    user_agent character varying,
    anonymized_ip character varying,
    expires_at timestamp(3) with time zone NOT NULL,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.consent_logs OWNER TO payload;

--
-- Name: consent_logs_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.consent_logs_id_seq OWNER TO payload;

--
-- Name: consent_logs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.consent_logs_id_seq OWNED BY public.consent_logs.id;


--
-- Name: cookie_configurations; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.cookie_configurations (
    id integer NOT NULL,
    tenant_id integer NOT NULL,
    title character varying DEFAULT 'Cookie-Einstellungen'::character varying NOT NULL,
    revision numeric DEFAULT 1 NOT NULL,
    translations_de_banner_title character varying DEFAULT 'Wir respektieren Ihre Privatsphäre'::character varying,
    translations_de_banner_description character varying DEFAULT 'Diese Website verwendet Cookies, um Ihnen die bestmögliche Erfahrung zu bieten.'::character varying,
    translations_de_accept_all_button character varying DEFAULT 'Alle akzeptieren'::character varying,
    translations_de_accept_necessary_button character varying DEFAULT 'Nur notwendige'::character varying,
    translations_de_settings_button character varying DEFAULT 'Einstellungen'::character varying,
    translations_de_save_button character varying DEFAULT 'Auswahl speichern'::character varying,
    translations_de_privacy_policy_url character varying DEFAULT '/datenschutz'::character varying,
    translations_de_category_labels_necessary_title character varying DEFAULT 'Notwendig'::character varying,
    translations_de_category_labels_necessary_description character varying DEFAULT 'Diese Cookies sind für die Grundfunktionen der Website erforderlich.'::character varying,
    translations_de_category_labels_functional_title character varying DEFAULT 'Funktional'::character varying,
    translations_de_category_labels_functional_description character varying DEFAULT 'Diese Cookies ermöglichen erweiterte Funktionen.'::character varying,
    translations_de_category_labels_analytics_title character varying DEFAULT 'Statistik'::character varying,
    translations_de_category_labels_analytics_description character varying DEFAULT 'Diese Cookies helfen uns zu verstehen, wie Besucher die Website nutzen.'::character varying,
    translations_de_category_labels_marketing_title character varying DEFAULT 'Marketing'::character varying,
    translations_de_category_labels_marketing_description character varying DEFAULT 'Diese Cookies werden für Werbezwecke verwendet.'::character varying,
    styling_position public.enum_cookie_configurations_styling_position DEFAULT 'bottom'::public.enum_cookie_configurations_styling_position,
    styling_theme public.enum_cookie_configurations_styling_theme DEFAULT 'dark'::public.enum_cookie_configurations_styling_theme,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.cookie_configurations OWNER TO payload;

--
-- Name: cookie_configurations_enabled_categories; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.cookie_configurations_enabled_categories (
    "order" integer NOT NULL,
    parent_id integer NOT NULL,
    value public.enum_cookie_configurations_enabled_categories,
    id integer NOT NULL
);


ALTER TABLE public.cookie_configurations_enabled_categories OWNER TO payload;

--
-- Name: cookie_configurations_enabled_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.cookie_configurations_enabled_categories_id_seq OWNER TO payload;

--
-- Name: cookie_configurations_enabled_categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.cookie_configurations_enabled_categories_id_seq OWNED BY public.cookie_configurations_enabled_categories.id;


--
-- Name: cookie_configurations_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.cookie_configurations_id_seq OWNER TO payload;

--
-- Name: cookie_configurations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.cookie_configurations_id_seq OWNED BY public.cookie_configurations.id;


--
-- Name: cookie_inventory; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.cookie_inventory (
    id integer NOT NULL,
    tenant_id integer NOT NULL,
    name character varying NOT NULL,
    provider character varying NOT NULL,
    category public.enum_cookie_inventory_category NOT NULL,
    duration character varying NOT NULL,
    description character varying NOT NULL,
    is_active boolean DEFAULT true,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.cookie_inventory OWNER TO payload;

--
-- Name: cookie_inventory_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.cookie_inventory_id_seq OWNER TO payload;

--
-- Name: cookie_inventory_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.cookie_inventory_id_seq OWNED BY public.cookie_inventory.id;


--
-- Name: form_submissions; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.form_submissions (
    id integer NOT NULL,
    form_id integer NOT NULL,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.form_submissions OWNER TO payload;

--
-- Name: form_submissions_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.form_submissions_id_seq OWNER TO payload;

--
-- Name: form_submissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.form_submissions_id_seq OWNED BY public.form_submissions.id;


--
-- Name: form_submissions_submission_data; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.form_submissions_submission_data (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    id character varying NOT NULL,
    field character varying NOT NULL,
    value character varying NOT NULL
);


ALTER TABLE public.form_submissions_submission_data OWNER TO payload;

--
-- Name: forms; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms (
    id integer NOT NULL,
    title character varying NOT NULL,
    submit_button_label character varying,
    confirmation_type public.enum_forms_confirmation_type DEFAULT 'message'::public.enum_forms_confirmation_type,
    confirmation_message jsonb,
    redirect_url character varying,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.forms OWNER TO payload;

--
-- Name: forms_blocks_checkbox; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_checkbox (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    name character varying NOT NULL,
    label character varying,
    width numeric,
    required boolean,
    default_value boolean,
    block_name character varying
);


ALTER TABLE public.forms_blocks_checkbox OWNER TO payload;

--
-- Name: forms_blocks_email; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_email (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    name character varying NOT NULL,
    label character varying,
    width numeric,
    required boolean,
    block_name character varying
);


ALTER TABLE public.forms_blocks_email OWNER TO payload;

--
-- Name: forms_blocks_message; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_message (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    message jsonb,
    block_name character varying
);


ALTER TABLE public.forms_blocks_message OWNER TO payload;

--
-- Name: forms_blocks_number; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_number (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    name character varying NOT NULL,
    label character varying,
    width numeric,
    default_value numeric,
    required boolean,
    block_name character varying
);


ALTER TABLE public.forms_blocks_number OWNER TO payload;

--
-- Name: forms_blocks_select; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_select (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    name character varying NOT NULL,
    label character varying,
    width numeric,
    default_value character varying,
    placeholder character varying,
    required boolean,
    block_name character varying
);


ALTER TABLE public.forms_blocks_select OWNER TO payload;

--
-- Name: forms_blocks_select_options; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_select_options (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    id character varying NOT NULL,
    label character varying NOT NULL,
    value character varying NOT NULL
);


ALTER TABLE public.forms_blocks_select_options OWNER TO payload;

--
-- Name: forms_blocks_text; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_text (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    name character varying NOT NULL,
    label character varying,
    width numeric,
    default_value character varying,
    required boolean,
    block_name character varying
);


ALTER TABLE public.forms_blocks_text OWNER TO payload;

--
-- Name: forms_blocks_textarea; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_blocks_textarea (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    name character varying NOT NULL,
    label character varying,
    width numeric,
    default_value character varying,
    required boolean,
    block_name character varying
);


ALTER TABLE public.forms_blocks_textarea OWNER TO payload;

--
-- Name: forms_emails; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.forms_emails (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    id character varying NOT NULL,
    email_to character varying,
    cc character varying,
    bcc character varying,
    reply_to character varying,
    email_from character varying,
    subject character varying DEFAULT 'You''ve received a new message.'::character varying NOT NULL,
    message jsonb
);


ALTER TABLE public.forms_emails OWNER TO payload;

--
-- Name: forms_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.forms_id_seq OWNER TO payload;

--
-- Name: forms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.forms_id_seq OWNED BY public.forms.id;


--
-- Name: media; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.media (
    id integer NOT NULL,
    alt character varying NOT NULL,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    url character varying,
    thumbnail_u_r_l character varying,
    filename character varying,
    mime_type character varying,
    filesize numeric,
    width numeric,
    height numeric,
    focal_x numeric,
    focal_y numeric,
    tenant_id integer
);


ALTER TABLE public.media OWNER TO payload;

--
-- Name: media_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.media_id_seq OWNER TO payload;

--
-- Name: media_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.media_id_seq OWNED BY public.media.id;


--
-- Name: navigation; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.navigation (
    id integer NOT NULL,
    updated_at timestamp(3) with time zone,
    created_at timestamp(3) with time zone
);


ALTER TABLE public.navigation OWNER TO payload;

--
-- Name: navigation_footer_menu; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.navigation_footer_menu (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    id character varying NOT NULL,
    label character varying NOT NULL,
    link_type public.enum_navigation_footer_menu_link_type DEFAULT 'page'::public.enum_navigation_footer_menu_link_type,
    page_id integer,
    url character varying
);


ALTER TABLE public.navigation_footer_menu OWNER TO payload;

--
-- Name: navigation_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.navigation_id_seq OWNER TO payload;

--
-- Name: navigation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.navigation_id_seq OWNED BY public.navigation.id;


--
-- Name: navigation_main_menu; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.navigation_main_menu (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    id character varying NOT NULL,
    label character varying NOT NULL,
    type public.enum_navigation_main_menu_type DEFAULT 'page'::public.enum_navigation_main_menu_type,
    page_id integer,
    url character varying,
    open_in_new_tab boolean DEFAULT false
);


ALTER TABLE public.navigation_main_menu OWNER TO payload;

--
-- Name: navigation_main_menu_submenu; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.navigation_main_menu_submenu (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    id character varying NOT NULL,
    label character varying,
    link_type public.enum_navigation_main_menu_submenu_link_type DEFAULT 'page'::public.enum_navigation_main_menu_submenu_link_type,
    page_id integer,
    url character varying
);


ALTER TABLE public.navigation_main_menu_submenu OWNER TO payload;

--
-- Name: newsletter_subscribers; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.newsletter_subscribers (
    id integer NOT NULL,
    tenant_id integer,
    email character varying NOT NULL,
    first_name character varying,
    last_name character varying,
    status character varying DEFAULT 'pending'::character varying,
    source character varying,
    subscribed_at timestamp without time zone,
    confirmed_at timestamp without time zone,
    unsubscribed_at timestamp without time zone,
    confirmation_token character varying,
    ip_address character varying,
    user_agent character varying,
    updated_at timestamp without time zone DEFAULT now(),
    created_at timestamp without time zone DEFAULT now()
);


ALTER TABLE public.newsletter_subscribers OWNER TO payload;

--
-- Name: newsletter_subscribers_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.newsletter_subscribers_id_seq OWNER TO payload;

--
-- Name: newsletter_subscribers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.newsletter_subscribers_id_seq OWNED BY public.newsletter_subscribers.id;


--
-- Name: newsletter_subscribers_interests; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.newsletter_subscribers_interests (
    "order" integer NOT NULL,
    parent_id integer NOT NULL,
    value character varying,
    id integer NOT NULL
);


ALTER TABLE public.newsletter_subscribers_interests OWNER TO payload;

--
-- Name: newsletter_subscribers_interests_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.newsletter_subscribers_interests_id_seq OWNER TO payload;

--
-- Name: newsletter_subscribers_interests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.newsletter_subscribers_interests_id_seq OWNED BY public.newsletter_subscribers_interests.id;


--
-- Name: pages; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages (
    id integer NOT NULL,
    tenant_id integer,
    title character varying NOT NULL,
    slug character varying NOT NULL,
    hero_image_id integer,
    hero_headline character varying,
    hero_subline character varying,
    seo_meta_title character varying,
    seo_meta_description character varying,
    seo_og_image_id integer,
    status public.enum_pages_status DEFAULT 'draft'::public.enum_pages_status,
    published_at timestamp(3) with time zone,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.pages OWNER TO payload;

--
-- Name: pages_blocks_card_grid_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_card_grid_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    headline character varying,
    columns public.enum_pages_blocks_card_grid_block_columns DEFAULT '3'::public.enum_pages_blocks_card_grid_block_columns,
    block_name character varying
);


ALTER TABLE public.pages_blocks_card_grid_block OWNER TO payload;

--
-- Name: pages_blocks_card_grid_block_cards; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_card_grid_block_cards (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    id character varying NOT NULL,
    image_id integer,
    title character varying NOT NULL,
    description character varying,
    link character varying,
    link_text character varying DEFAULT 'mehr'::character varying
);


ALTER TABLE public.pages_blocks_card_grid_block_cards OWNER TO payload;

--
-- Name: pages_blocks_contact_form_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_contact_form_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    headline character varying DEFAULT 'Kontakt'::character varying,
    description character varying,
    recipient_email character varying DEFAULT 'info@porwoll.de'::character varying,
    show_phone boolean DEFAULT true,
    show_address boolean DEFAULT true,
    show_socials boolean DEFAULT true,
    block_name character varying
);


ALTER TABLE public.pages_blocks_contact_form_block OWNER TO payload;

--
-- Name: pages_blocks_cta_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_cta_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    headline character varying NOT NULL,
    description character varying,
    background_color public.enum_pages_blocks_cta_block_background_color DEFAULT 'dark'::public.enum_pages_blocks_cta_block_background_color,
    block_name character varying
);


ALTER TABLE public.pages_blocks_cta_block OWNER TO payload;

--
-- Name: pages_blocks_cta_block_buttons; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_cta_block_buttons (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    id character varying NOT NULL,
    text character varying NOT NULL,
    link character varying NOT NULL,
    style public.enum_pages_blocks_cta_block_buttons_style DEFAULT 'primary'::public.enum_pages_blocks_cta_block_buttons_style
);


ALTER TABLE public.pages_blocks_cta_block_buttons OWNER TO payload;

--
-- Name: pages_blocks_divider_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_divider_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    style public.enum_pages_blocks_divider_block_style DEFAULT 'space'::public.enum_pages_blocks_divider_block_style,
    spacing public.enum_pages_blocks_divider_block_spacing DEFAULT 'medium'::public.enum_pages_blocks_divider_block_spacing,
    block_name character varying
);


ALTER TABLE public.pages_blocks_divider_block OWNER TO payload;

--
-- Name: pages_blocks_hero_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_hero_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    background_image_id integer,
    headline character varying NOT NULL,
    subline character varying,
    alignment public.enum_pages_blocks_hero_block_alignment DEFAULT 'center'::public.enum_pages_blocks_hero_block_alignment,
    "overlay" boolean DEFAULT true,
    cta_text character varying,
    cta_link character varying,
    cta_style public.enum_pages_blocks_hero_block_cta_style DEFAULT 'primary'::public.enum_pages_blocks_hero_block_cta_style,
    block_name character varying
);


ALTER TABLE public.pages_blocks_hero_block OWNER TO payload;

--
-- Name: pages_blocks_image_text_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_image_text_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    image_id integer NOT NULL,
    image_position public.enum_pages_blocks_image_text_block_image_position DEFAULT 'left'::public.enum_pages_blocks_image_text_block_image_position,
    headline character varying,
    content jsonb,
    cta_text character varying,
    cta_link character varying,
    block_name character varying
);


ALTER TABLE public.pages_blocks_image_text_block OWNER TO payload;

--
-- Name: pages_blocks_newsletter_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_newsletter_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying DEFAULT (gen_random_uuid())::character varying NOT NULL,
    title character varying DEFAULT 'Newsletter abonnieren'::character varying,
    subtitle text,
    layout character varying DEFAULT 'inline'::character varying,
    image_id integer,
    image_position character varying DEFAULT 'left'::character varying,
    collect_name boolean DEFAULT false,
    show_interests boolean DEFAULT false,
    button_text character varying DEFAULT 'Anmelden'::character varying,
    placeholder_email character varying DEFAULT 'Ihre E-Mail-Adresse'::character varying,
    success_message text,
    error_message character varying,
    privacy_text text,
    privacy_link character varying DEFAULT '/datenschutz'::character varying,
    source character varying DEFAULT 'website'::character varying,
    background_color character varying DEFAULT 'accent'::character varying,
    block_name character varying
);


ALTER TABLE public.pages_blocks_newsletter_block OWNER TO payload;

--
-- Name: pages_blocks_newsletter_block_available_interests; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_newsletter_block_available_interests (
    "order" integer NOT NULL,
    parent_id character varying NOT NULL,
    value character varying,
    id integer NOT NULL
);


ALTER TABLE public.pages_blocks_newsletter_block_available_interests OWNER TO payload;

--
-- Name: pages_blocks_newsletter_block_available_interests_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.pages_blocks_newsletter_block_available_interests_id_seq OWNER TO payload;

--
-- Name: pages_blocks_newsletter_block_available_interests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.pages_blocks_newsletter_block_available_interests_id_seq OWNED BY public.pages_blocks_newsletter_block_available_interests.id;


--
-- Name: pages_blocks_posts_list_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_posts_list_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying DEFAULT (gen_random_uuid())::character varying NOT NULL,
    title character varying,
    subtitle character varying,
    post_type character varying DEFAULT 'blog'::character varying,
    layout character varying DEFAULT 'grid'::character varying,
    columns character varying DEFAULT '3'::character varying,
    "limit" integer DEFAULT 6,
    show_featured_only boolean DEFAULT false,
    show_excerpt boolean DEFAULT true,
    show_date boolean DEFAULT true,
    show_author boolean DEFAULT false,
    show_category boolean DEFAULT true,
    show_pagination boolean DEFAULT false,
    show_read_more boolean DEFAULT true,
    read_more_label character varying DEFAULT 'Alle Beiträge anzeigen'::character varying,
    read_more_link character varying DEFAULT '/blog'::character varying,
    background_color character varying DEFAULT 'white'::character varying,
    block_name character varying
);


ALTER TABLE public.pages_blocks_posts_list_block OWNER TO payload;

--
-- Name: pages_blocks_posts_list_block_filter_by_category; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_posts_list_block_filter_by_category (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    categories_id integer
);


ALTER TABLE public.pages_blocks_posts_list_block_filter_by_category OWNER TO payload;

--
-- Name: pages_blocks_process_steps_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_process_steps_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying DEFAULT (gen_random_uuid())::character varying NOT NULL,
    title character varying DEFAULT 'So funktioniert es'::character varying,
    subtitle character varying,
    layout character varying DEFAULT 'horizontal'::character varying,
    show_numbers boolean DEFAULT true,
    show_icons boolean DEFAULT true,
    cta_show boolean DEFAULT false,
    cta_label character varying DEFAULT 'Jetzt starten'::character varying,
    cta_href character varying,
    cta_variant character varying DEFAULT 'default'::character varying,
    background_color character varying DEFAULT 'white'::character varying,
    block_name character varying
);


ALTER TABLE public.pages_blocks_process_steps_block OWNER TO payload;

--
-- Name: pages_blocks_process_steps_block_steps; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_process_steps_block_steps (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    id character varying DEFAULT (gen_random_uuid())::character varying NOT NULL,
    title character varying NOT NULL,
    description text,
    icon character varying,
    image_id integer
);


ALTER TABLE public.pages_blocks_process_steps_block_steps OWNER TO payload;

--
-- Name: pages_blocks_quote_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_quote_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    quote character varying NOT NULL,
    author character varying,
    role character varying,
    image_id integer,
    style public.enum_pages_blocks_quote_block_style DEFAULT 'simple'::public.enum_pages_blocks_quote_block_style,
    block_name character varying
);


ALTER TABLE public.pages_blocks_quote_block OWNER TO payload;

--
-- Name: pages_blocks_testimonials_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_testimonials_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying DEFAULT (gen_random_uuid())::character varying NOT NULL,
    title character varying DEFAULT 'Das sagen unsere Kunden'::character varying,
    subtitle character varying,
    layout character varying DEFAULT 'slider'::character varying,
    columns character varying DEFAULT '3'::character varying,
    display_mode character varying DEFAULT 'all'::character varying,
    "limit" integer DEFAULT 6,
    show_rating boolean DEFAULT true,
    show_image boolean DEFAULT true,
    show_company boolean DEFAULT true,
    show_source boolean DEFAULT false,
    autoplay boolean DEFAULT true,
    autoplay_speed integer DEFAULT 5000,
    background_color character varying DEFAULT 'light'::character varying,
    block_name character varying
);


ALTER TABLE public.pages_blocks_testimonials_block OWNER TO payload;

--
-- Name: pages_blocks_testimonials_block_selected_testimonials; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_testimonials_block_selected_testimonials (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    testimonials_id integer
);


ALTER TABLE public.pages_blocks_testimonials_block_selected_testimonials OWNER TO payload;

--
-- Name: pages_blocks_text_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_text_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    content jsonb NOT NULL,
    width public.enum_pages_blocks_text_block_width DEFAULT 'medium'::public.enum_pages_blocks_text_block_width,
    block_name character varying
);


ALTER TABLE public.pages_blocks_text_block OWNER TO payload;

--
-- Name: pages_blocks_timeline_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_timeline_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    headline character varying,
    block_name character varying
);


ALTER TABLE public.pages_blocks_timeline_block OWNER TO payload;

--
-- Name: pages_blocks_timeline_block_items; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_timeline_block_items (
    _order integer NOT NULL,
    _parent_id character varying NOT NULL,
    id character varying NOT NULL,
    year character varying NOT NULL,
    title character varying NOT NULL,
    description character varying,
    image_id integer
);


ALTER TABLE public.pages_blocks_timeline_block_items OWNER TO payload;

--
-- Name: pages_blocks_video_block; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_blocks_video_block (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    _path text NOT NULL,
    id character varying NOT NULL,
    video_url character varying NOT NULL,
    caption character varying,
    aspect_ratio public.enum_pages_blocks_video_block_aspect_ratio DEFAULT '16:9'::public.enum_pages_blocks_video_block_aspect_ratio,
    block_name character varying
);


ALTER TABLE public.pages_blocks_video_block OWNER TO payload;

--
-- Name: pages_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.pages_id_seq OWNER TO payload;

--
-- Name: pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.pages_id_seq OWNED BY public.pages.id;


--
-- Name: pages_rels; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.pages_rels (
    id integer NOT NULL,
    "order" integer,
    parent_id integer NOT NULL,
    path character varying NOT NULL,
    categories_id integer,
    testimonials_id integer
);


ALTER TABLE public.pages_rels OWNER TO payload;

--
-- Name: pages_rels_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.pages_rels_id_seq OWNER TO payload;

--
-- Name: pages_rels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.pages_rels_id_seq OWNED BY public.pages_rels.id;


--
-- Name: payload_kv; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.payload_kv (
    id integer NOT NULL,
    key character varying NOT NULL,
    data jsonb NOT NULL
);


ALTER TABLE public.payload_kv OWNER TO payload;

--
-- Name: payload_kv_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.payload_kv_id_seq OWNER TO payload;

--
-- Name: payload_kv_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.payload_kv_id_seq OWNED BY public.payload_kv.id;


--
-- Name: payload_locked_documents; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.payload_locked_documents (
    id integer NOT NULL,
    global_slug character varying,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.payload_locked_documents OWNER TO payload;

--
-- Name: payload_locked_documents_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.payload_locked_documents_id_seq OWNER TO payload;

--
-- Name: payload_locked_documents_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.payload_locked_documents_id_seq OWNED BY public.payload_locked_documents.id;


--
-- Name: payload_locked_documents_rels; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.payload_locked_documents_rels (
    id integer NOT NULL,
    "order" integer,
    parent_id integer NOT NULL,
    path character varying NOT NULL,
    users_id integer,
    media_id integer,
    tenants_id integer,
    pages_id integer,
    posts_id integer,
    categories_id integer,
    social_links_id integer,
    forms_id integer,
    form_submissions_id integer,
    redirects_id integer,
    cookie_configurations_id integer,
    cookie_inventory_id integer,
    consent_logs_id integer,
    privacy_policy_settings_id integer
);


ALTER TABLE public.payload_locked_documents_rels OWNER TO payload;

--
-- Name: payload_locked_documents_rels_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.payload_locked_documents_rels_id_seq OWNER TO payload;

--
-- Name: payload_locked_documents_rels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.payload_locked_documents_rels_id_seq OWNED BY public.payload_locked_documents_rels.id;


--
-- Name: payload_migrations; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.payload_migrations (
    id integer NOT NULL,
    name character varying,
    batch numeric,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.payload_migrations OWNER TO payload;

--
-- Name: payload_migrations_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.payload_migrations_id_seq OWNER TO payload;

--
-- Name: payload_migrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.payload_migrations_id_seq OWNED BY public.payload_migrations.id;


--
-- Name: payload_preferences; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.payload_preferences (
    id integer NOT NULL,
    key character varying,
    value jsonb,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.payload_preferences OWNER TO payload;

--
-- Name: payload_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.payload_preferences_id_seq OWNER TO payload;

--
-- Name: payload_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.payload_preferences_id_seq OWNED BY public.payload_preferences.id;


--
-- Name: payload_preferences_rels; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.payload_preferences_rels (
    id integer NOT NULL,
    "order" integer,
    parent_id integer NOT NULL,
    path character varying NOT NULL,
    users_id integer
);


ALTER TABLE public.payload_preferences_rels OWNER TO payload;

--
-- Name: payload_preferences_rels_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.payload_preferences_rels_id_seq OWNER TO payload;

--
-- Name: payload_preferences_rels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.payload_preferences_rels_id_seq OWNED BY public.payload_preferences_rels.id;


--
-- Name: posts; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.posts (
    id integer NOT NULL,
    tenant_id integer,
    title character varying NOT NULL,
    slug character varying NOT NULL,
    excerpt character varying,
    content jsonb NOT NULL,
    featured_image_id integer,
    category_id integer,
    author_id integer,
    published_at timestamp(3) with time zone,
    status public.enum_posts_status DEFAULT 'draft'::public.enum_posts_status,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    type public.enum_posts_type DEFAULT 'blog'::public.enum_posts_type,
    is_featured boolean DEFAULT false,
    seo_meta_title character varying,
    seo_meta_description character varying,
    seo_og_image_id integer,
    author character varying
);


ALTER TABLE public.posts OWNER TO payload;

--
-- Name: posts_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.posts_id_seq OWNER TO payload;

--
-- Name: posts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.posts_id_seq OWNED BY public.posts.id;


--
-- Name: posts_rels; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.posts_rels (
    id integer NOT NULL,
    "order" integer,
    parent_id integer NOT NULL,
    path character varying NOT NULL,
    categories_id integer
);


ALTER TABLE public.posts_rels OWNER TO payload;

--
-- Name: posts_rels_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.posts_rels_id_seq OWNER TO payload;

--
-- Name: posts_rels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.posts_rels_id_seq OWNED BY public.posts_rels.id;


--
-- Name: privacy_policy_settings; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.privacy_policy_settings (
    id integer NOT NULL,
    tenant_id integer NOT NULL,
    title character varying DEFAULT 'Datenschutzerklärung'::character varying NOT NULL,
    provider public.enum_privacy_policy_settings_provider DEFAULT 'alfright'::public.enum_privacy_policy_settings_provider NOT NULL,
    alfright_tenant_id character varying DEFAULT 'alfright_schutzteam'::character varying,
    alfright_api_key character varying,
    alfright_language public.enum_privacy_policy_settings_alfright_language DEFAULT 'de-de'::public.enum_privacy_policy_settings_alfright_language,
    alfright_iframe_height numeric DEFAULT 4000,
    styling_header_color character varying DEFAULT '#ca8a04'::character varying,
    styling_header_font character varying DEFAULT 'Inter, sans-serif'::character varying,
    styling_header_size character varying DEFAULT '24px'::character varying,
    styling_subheader_size character varying DEFAULT '18px'::character varying,
    styling_font_color character varying DEFAULT '#f3f4f6'::character varying,
    styling_text_font character varying DEFAULT 'Inter, sans-serif'::character varying,
    styling_text_size character varying DEFAULT '16px'::character varying,
    styling_link_color character varying DEFAULT '#ca8a04'::character varying,
    styling_background_color character varying DEFAULT '#111827'::character varying,
    show_cookie_table boolean DEFAULT true,
    cookie_table_title character varying DEFAULT 'Übersicht der verwendeten Cookies'::character varying,
    cookie_table_description character varying DEFAULT 'Ergänzend zur Datenschutzerklärung finden Sie hier eine detaillierte Übersicht aller auf dieser Website eingesetzten Cookies. Sie können Ihre Cookie-Einstellungen jederzeit über den Link "Cookie-Einstellungen" im Footer anpassen.'::character varying,
    seo_meta_title character varying DEFAULT 'Datenschutzerklärung'::character varying,
    seo_meta_description character varying DEFAULT 'Informationen zum Datenschutz und zur Verarbeitung Ihrer personenbezogenen Daten.'::character varying,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.privacy_policy_settings OWNER TO payload;

--
-- Name: privacy_policy_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.privacy_policy_settings_id_seq OWNER TO payload;

--
-- Name: privacy_policy_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.privacy_policy_settings_id_seq OWNED BY public.privacy_policy_settings.id;


--
-- Name: redirects; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.redirects (
    id integer NOT NULL,
    "from" character varying NOT NULL,
    to_type public.enum_redirects_to_type DEFAULT 'reference'::public.enum_redirects_to_type,
    to_url character varying,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.redirects OWNER TO payload;

--
-- Name: redirects_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.redirects_id_seq OWNER TO payload;

--
-- Name: redirects_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.redirects_id_seq OWNED BY public.redirects.id;


--
-- Name: site_settings; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.site_settings (
    id integer NOT NULL,
    site_name character varying DEFAULT 'porwoll.de'::character varying,
    site_tagline character varying,
    logo_id integer,
    favicon_id integer,
    contact_email character varying,
    contact_phone character varying,
    contact_address character varying,
    footer_copyright_text character varying,
    footer_show_social_links boolean DEFAULT true,
    seo_default_meta_title character varying,
    seo_default_meta_description character varying,
    seo_default_og_image_id integer,
    updated_at timestamp(3) with time zone,
    created_at timestamp(3) with time zone
);


ALTER TABLE public.site_settings OWNER TO payload;

--
-- Name: site_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.site_settings_id_seq OWNER TO payload;

--
-- Name: site_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.site_settings_id_seq OWNED BY public.site_settings.id;


--
-- Name: social_links; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.social_links (
    id integer NOT NULL,
    tenant_id integer,
    platform public.enum_social_links_platform NOT NULL,
    url character varying NOT NULL,
    is_active boolean DEFAULT true,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.social_links OWNER TO payload;

--
-- Name: social_links_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.social_links_id_seq OWNER TO payload;

--
-- Name: social_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.social_links_id_seq OWNED BY public.social_links.id;


--
-- Name: tenants; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.tenants (
    id integer NOT NULL,
    name character varying NOT NULL,
    slug character varying NOT NULL,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL
);


ALTER TABLE public.tenants OWNER TO payload;

--
-- Name: tenants_domains; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.tenants_domains (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    id character varying NOT NULL,
    domain character varying NOT NULL
);


ALTER TABLE public.tenants_domains OWNER TO payload;

--
-- Name: tenants_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.tenants_id_seq OWNER TO payload;

--
-- Name: tenants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.tenants_id_seq OWNED BY public.tenants.id;


--
-- Name: testimonials; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.testimonials (
    id integer NOT NULL,
    tenant_id integer,
    quote text NOT NULL,
    author character varying NOT NULL,
    role character varying,
    company character varying,
    image_id integer,
    rating numeric,
    source character varying,
    source_url character varying,
    date timestamp without time zone,
    is_active boolean DEFAULT true,
    "order" integer DEFAULT 0,
    updated_at timestamp without time zone DEFAULT now(),
    created_at timestamp without time zone DEFAULT now()
);


ALTER TABLE public.testimonials OWNER TO payload;

--
-- Name: testimonials_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.testimonials_id_seq OWNER TO payload;

--
-- Name: testimonials_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.testimonials_id_seq OWNED BY public.testimonials.id;


--
-- Name: testimonials_rels; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.testimonials_rels (
    id integer NOT NULL,
    "order" integer,
    parent_id integer NOT NULL,
    path character varying NOT NULL
);


ALTER TABLE public.testimonials_rels OWNER TO payload;

--
-- Name: testimonials_rels_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.testimonials_rels_id_seq OWNER TO payload;

--
-- Name: testimonials_rels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.testimonials_rels_id_seq OWNED BY public.testimonials_rels.id;


--
-- Name: users; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.users (
    id integer NOT NULL,
    updated_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    created_at timestamp(3) with time zone DEFAULT now() NOT NULL,
    email character varying NOT NULL,
    reset_password_token character varying,
    reset_password_expiration timestamp(3) with time zone,
    salt character varying,
    hash character varying,
    login_attempts numeric DEFAULT 0,
    lock_until timestamp(3) with time zone
);


ALTER TABLE public.users OWNER TO payload;

--
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: payload
--

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


ALTER SEQUENCE public.users_id_seq OWNER TO payload;

--
-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: payload
--

ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;


--
-- Name: users_sessions; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.users_sessions (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    id character varying NOT NULL,
    created_at timestamp(3) with time zone,
    expires_at timestamp(3) with time zone NOT NULL
);


ALTER TABLE public.users_sessions OWNER TO payload;

--
-- Name: users_tenants; Type: TABLE; Schema: public; Owner: payload
--

CREATE TABLE public.users_tenants (
    _order integer NOT NULL,
    _parent_id integer NOT NULL,
    id character varying NOT NULL,
    tenant_id integer NOT NULL
);


ALTER TABLE public.users_tenants OWNER TO payload;

--
-- Name: categories id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.categories ALTER COLUMN id SET DEFAULT nextval('public.categories_id_seq'::regclass);


--
-- Name: consent_logs id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.consent_logs ALTER COLUMN id SET DEFAULT nextval('public.consent_logs_id_seq'::regclass);


--
-- Name: cookie_configurations id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_configurations ALTER COLUMN id SET DEFAULT nextval('public.cookie_configurations_id_seq'::regclass);


--
-- Name: cookie_configurations_enabled_categories id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_configurations_enabled_categories ALTER COLUMN id SET DEFAULT nextval('public.cookie_configurations_enabled_categories_id_seq'::regclass);


--
-- Name: cookie_inventory id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_inventory ALTER COLUMN id SET DEFAULT nextval('public.cookie_inventory_id_seq'::regclass);


--
-- Name: form_submissions id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.form_submissions ALTER COLUMN id SET DEFAULT nextval('public.form_submissions_id_seq'::regclass);


--
-- Name: forms id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms ALTER COLUMN id SET DEFAULT nextval('public.forms_id_seq'::regclass);


--
-- Name: media id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.media ALTER COLUMN id SET DEFAULT nextval('public.media_id_seq'::regclass);


--
-- Name: navigation id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation ALTER COLUMN id SET DEFAULT nextval('public.navigation_id_seq'::regclass);


--
-- Name: newsletter_subscribers id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.newsletter_subscribers ALTER COLUMN id SET DEFAULT nextval('public.newsletter_subscribers_id_seq'::regclass);


--
-- Name: newsletter_subscribers_interests id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.newsletter_subscribers_interests ALTER COLUMN id SET DEFAULT nextval('public.newsletter_subscribers_interests_id_seq'::regclass);


--
-- Name: pages id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages ALTER COLUMN id SET DEFAULT nextval('public.pages_id_seq'::regclass);


--
-- Name: pages_blocks_newsletter_block_available_interests id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_newsletter_block_available_interests ALTER COLUMN id SET DEFAULT nextval('public.pages_blocks_newsletter_block_available_interests_id_seq'::regclass);


--
-- Name: pages_rels id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_rels ALTER COLUMN id SET DEFAULT nextval('public.pages_rels_id_seq'::regclass);


--
-- Name: payload_kv id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_kv ALTER COLUMN id SET DEFAULT nextval('public.payload_kv_id_seq'::regclass);


--
-- Name: payload_locked_documents id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents ALTER COLUMN id SET DEFAULT nextval('public.payload_locked_documents_id_seq'::regclass);


--
-- Name: payload_locked_documents_rels id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels ALTER COLUMN id SET DEFAULT nextval('public.payload_locked_documents_rels_id_seq'::regclass);


--
-- Name: payload_migrations id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_migrations ALTER COLUMN id SET DEFAULT nextval('public.payload_migrations_id_seq'::regclass);


--
-- Name: payload_preferences id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_preferences ALTER COLUMN id SET DEFAULT nextval('public.payload_preferences_id_seq'::regclass);


--
-- Name: payload_preferences_rels id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_preferences_rels ALTER COLUMN id SET DEFAULT nextval('public.payload_preferences_rels_id_seq'::regclass);


--
-- Name: posts id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts ALTER COLUMN id SET DEFAULT nextval('public.posts_id_seq'::regclass);


--
-- Name: posts_rels id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts_rels ALTER COLUMN id SET DEFAULT nextval('public.posts_rels_id_seq'::regclass);


--
-- Name: privacy_policy_settings id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.privacy_policy_settings ALTER COLUMN id SET DEFAULT nextval('public.privacy_policy_settings_id_seq'::regclass);


--
-- Name: redirects id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.redirects ALTER COLUMN id SET DEFAULT nextval('public.redirects_id_seq'::regclass);


--
-- Name: site_settings id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.site_settings ALTER COLUMN id SET DEFAULT nextval('public.site_settings_id_seq'::regclass);


--
-- Name: social_links id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.social_links ALTER COLUMN id SET DEFAULT nextval('public.social_links_id_seq'::regclass);


--
-- Name: tenants id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.tenants ALTER COLUMN id SET DEFAULT nextval('public.tenants_id_seq'::regclass);


--
-- Name: testimonials id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.testimonials ALTER COLUMN id SET DEFAULT nextval('public.testimonials_id_seq'::regclass);


--
-- Name: testimonials_rels id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.testimonials_rels ALTER COLUMN id SET DEFAULT nextval('public.testimonials_rels_id_seq'::regclass);


--
-- Name: users id; Type: DEFAULT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);


--
-- Data for Name: categories; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.categories (id, tenant_id, name, slug, description, updated_at, created_at) FROM stdin;
1	1	Whistleblowing	whistleblowing	Artikel zum Thema Whistleblowing und Zytoskandal	2025-11-27 10:01:53.601+00	2025-11-27 10:01:53.601+00
2	1	Unternehmer	unternehmer	Artikel über unternehmerische Aktivitäten	2025-11-27 10:02:09.569+00	2025-11-27 10:02:09.569+00
\.


--
-- Data for Name: consent_logs; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.consent_logs (id, consent_id, client_ref, tenant_id, categories, revision, user_agent, anonymized_ip, expires_at, updated_at, created_at) FROM stdin;
1	7a31b2ec-5574-4f31-9495-63db31abf006	test-123	1	["necessary"]	1	\N	8a954acb09b6ae94b9d1f78bdc4317f7	2028-11-28 12:06:03.435+00	2025-11-28 12:06:03.441+00	2025-11-28 12:06:03.439+00
\.


--
-- Data for Name: cookie_configurations; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.cookie_configurations (id, tenant_id, title, revision, translations_de_banner_title, translations_de_banner_description, translations_de_accept_all_button, translations_de_accept_necessary_button, translations_de_settings_button, translations_de_save_button, translations_de_privacy_policy_url, translations_de_category_labels_necessary_title, translations_de_category_labels_necessary_description, translations_de_category_labels_functional_title, translations_de_category_labels_functional_description, translations_de_category_labels_analytics_title, translations_de_category_labels_analytics_description, translations_de_category_labels_marketing_title, translations_de_category_labels_marketing_description, styling_position, styling_theme, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: cookie_configurations_enabled_categories; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.cookie_configurations_enabled_categories ("order", parent_id, value, id) FROM stdin;
\.


--
-- Data for Name: cookie_inventory; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.cookie_inventory (id, tenant_id, name, provider, category, duration, description, is_active, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: form_submissions; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.form_submissions (id, form_id, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: form_submissions_submission_data; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.form_submissions_submission_data (_order, _parent_id, id, field, value) FROM stdin;
\.


--
-- Data for Name: forms; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms (id, title, submit_button_label, confirmation_type, confirmation_message, redirect_url, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: forms_blocks_checkbox; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_checkbox (_order, _parent_id, _path, id, name, label, width, required, default_value, block_name) FROM stdin;
\.


--
-- Data for Name: forms_blocks_email; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_email (_order, _parent_id, _path, id, name, label, width, required, block_name) FROM stdin;
\.


--
-- Data for Name: forms_blocks_message; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_message (_order, _parent_id, _path, id, message, block_name) FROM stdin;
\.


--
-- Data for Name: forms_blocks_number; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_number (_order, _parent_id, _path, id, name, label, width, default_value, required, block_name) FROM stdin;
\.


--
-- Data for Name: forms_blocks_select; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_select (_order, _parent_id, _path, id, name, label, width, default_value, placeholder, required, block_name) FROM stdin;
\.


--
-- Data for Name: forms_blocks_select_options; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_select_options (_order, _parent_id, id, label, value) FROM stdin;
\.


--
-- Data for Name: forms_blocks_text; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_text (_order, _parent_id, _path, id, name, label, width, default_value, required, block_name) FROM stdin;
\.


--
-- Data for Name: forms_blocks_textarea; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_blocks_textarea (_order, _parent_id, _path, id, name, label, width, default_value, required, block_name) FROM stdin;
\.


--
-- Data for Name: forms_emails; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.forms_emails (_order, _parent_id, id, email_to, cc, bcc, reply_to, email_from, subject, message) FROM stdin;
\.


--
-- Data for Name: media; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.media (id, alt, updated_at, created_at, url, thumbnail_u_r_l, filename, mime_type, filesize, width, height, focal_x, focal_y, tenant_id) FROM stdin;
1	Favicon Porwoll	2025-11-27 09:58:48.629+00	2025-11-27 09:58:48.629+00	\N	\N	Favicon-270x270.jpg	image/jpeg	12068	270	270	50	50	1
2	gunshin Holding UG Logo	2025-11-27 10:20:21.25+00	2025-11-27 10:20:21.25+00	\N	\N	gunshin-logo-1168x487-1.webp	image/webp	29586	1168	487	50	50	1
3	Martin Porwoll - Portrait	2025-11-27 10:20:55.311+00	2025-11-27 10:20:55.311+00	\N	\N	martin-porwoll-frontal-1-1168x768-1.jpeg	image/jpeg	40379	714	768	50	50	1
4	Martin Porwoll - Portrait	2025-11-27 10:21:07.637+00	2025-11-27 10:21:07.637+00	\N	\N	martin-porwoll-frontal-1-1168x768-1.webp	image/webp	5650	714	768	50	50	1
5	Abstrakte Darstellung von Vision und Innovation	2025-11-27 10:22:04.816+00	2025-11-27 10:22:04.816+00	\N	\N	adobestock-432768272kopie-2576x2050-1-scaled.webp	image/webp	95954	2560	2037	50	50	1
6	Team-Erfolg und Zusammenarbeit	2025-11-27 10:24:47.406+00	2025-11-27 10:24:47.406+00	\N	\N	Erfolg_und_Zusammenarbeit.webp	image/webp	133848	2560	1706	50	50	1
7	porwoll.de Favicon	2025-11-27 12:44:07.743+00	2025-11-27 12:44:07.743+00	\N	\N	favicon.jpg	image/jpeg	12068	270	270	50	50	1
\.


--
-- Data for Name: navigation; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.navigation (id, updated_at, created_at) FROM stdin;
1	2025-11-27 12:46:01.591+00	2025-11-27 12:46:01.591+00
\.


--
-- Data for Name: navigation_footer_menu; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.navigation_footer_menu (_order, _parent_id, id, label, link_type, page_id, url) FROM stdin;
1	1	69284809b6871dae2fda6e82	Impressum	page	9	\N
2	1	69284809b6871dae2fda6e83	Datenschutzerklärung	page	10	\N
\.


--
-- Data for Name: navigation_main_menu; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.navigation_main_menu (_order, _parent_id, id, label, type, page_id, url, open_in_new_tab) FROM stdin;
1	1	69284809b6871dae2fda6e7c	Whistleblowing	submenu	\N	\N	f
2	1	69284809b6871dae2fda6e7f	Unternehmer	submenu	\N	\N	f
3	1	69284809b6871dae2fda6e80	Mensch	page	2	\N	f
4	1	69284809b6871dae2fda6e81	Kontakt	page	3	\N	f
\.


--
-- Data for Name: navigation_main_menu_submenu; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.navigation_main_menu_submenu (_order, _parent_id, id, label, link_type, page_id, url) FROM stdin;
1	69284809b6871dae2fda6e7c	69284809b6871dae2fda6e7a	Zytoskandal	page	5	\N
2	69284809b6871dae2fda6e7c	69284809b6871dae2fda6e7b	Whistleblowing	page	4	\N
1	69284809b6871dae2fda6e7f	69284809b6871dae2fda6e7d	gunshin Holding UG	page	6	\N
2	69284809b6871dae2fda6e7f	69284809b6871dae2fda6e7e	complex care solutions GmbH	page	7	\N
\.


--
-- Data for Name: newsletter_subscribers; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.newsletter_subscribers (id, tenant_id, email, first_name, last_name, status, source, subscribed_at, confirmed_at, unsubscribed_at, confirmation_token, ip_address, user_agent, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: newsletter_subscribers_interests; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.newsletter_subscribers_interests ("order", parent_id, value, id) FROM stdin;
\.


--
-- Data for Name: pages; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages (id, tenant_id, title, slug, hero_image_id, hero_headline, hero_subline, seo_meta_title, seo_meta_description, seo_og_image_id, status, published_at, updated_at, created_at) FROM stdin;
1	1	Startseite	home	\N	\N	\N	porwoll.de | Die Webseite von Martin Porwoll	Martin Porwoll - Whistleblower im Zytoskandal Bottrop, Unternehmer und Kämpfer für Patientenwohl. Transparenz, Gerechtigkeit und Integrität im Gesundheitswesen.	\N	published	2025-11-27 12:00:00+00	2025-11-27 12:44:07.817+00	2025-11-27 12:35:07.162+00
2	1	Mensch	mensch	\N	\N	\N	Martin Porwoll - Mensch | porwoll.de	Erfahren Sie mehr über Martin Porwoll.	\N	published	\N	2025-11-27 12:46:01.202+00	2025-11-27 12:46:01.199+00
3	1	Kontakt	kontakt	\N	\N	\N	Kontakt | porwoll.de	Kontaktieren Sie Martin Porwoll.	\N	published	\N	2025-11-27 12:46:01.271+00	2025-11-27 12:46:01.27+00
4	1	Whistleblowing	whistleblowing	\N	\N	\N	Whistleblowing | porwoll.de	Whistleblowing - Mut zur Wahrheit.	\N	published	\N	2025-11-27 12:46:01.307+00	2025-11-27 12:46:01.306+00
5	1	Zytoskandal Bottrop	zytoskandal	\N	\N	\N	Zytoskandal Bottrop | porwoll.de	Der Zytoskandal Bottrop.	\N	published	\N	2025-11-27 12:46:01.347+00	2025-11-27 12:46:01.346+00
6	1	gunshin Holding UG	gunshin-holding	\N	\N	\N	gunshin Holding UG | porwoll.de	Die gunshin Holding UG.	\N	published	\N	2025-11-27 12:46:01.389+00	2025-11-27 12:46:01.389+00
7	1	complex care solutions GmbH	complex-care-solutions	\N	\N	\N	complex care solutions GmbH | porwoll.de	Die complex care solutions GmbH.	\N	published	\N	2025-11-27 12:46:01.447+00	2025-11-27 12:46:01.447+00
8	1	Leben	leben	\N	\N	\N	Leben | porwoll.de	Das Leben von Martin Porwoll.	\N	published	\N	2025-11-27 12:46:01.485+00	2025-11-27 12:46:01.485+00
9	1	Impressum	impressum	\N	\N	\N	Impressum | porwoll.de	Impressum der Webseite porwoll.de	\N	published	\N	2025-11-27 12:46:01.508+00	2025-11-27 12:46:01.508+00
10	1	Datenschutzerklärung	datenschutz	\N	\N	\N	Datenschutzerklärung | porwoll.de	Datenschutzerklärung der Webseite porwoll.de	\N	published	\N	2025-11-27 12:46:01.539+00	2025-11-27 12:46:01.539+00
\.


--
-- Data for Name: pages_blocks_card_grid_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_card_grid_block (_order, _parent_id, _path, id, headline, columns, block_name) FROM stdin;
3	1	layout	692847971b5f1bac21eb0b66	Unternehmer	2	\N
5	2	layout	69284809b6871dae2fda6e5b	Unternehmerische Tätigkeiten	2	\N
4	6	layout	69284809b6871dae2fda6e70	Unsere Leistungen	3	\N
\.


--
-- Data for Name: pages_blocks_card_grid_block_cards; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_card_grid_block_cards (_order, _parent_id, id, image_id, title, description, link, link_text) FROM stdin;
1	692847971b5f1bac21eb0b66	692847971b5f1bac21eb0b64	2	gunshin Holding UG	Lernen Sie die Gunshin Holding kennen, die Start-ups im Gesundheitssektor unterstützt und dazu beiträgt, innovative Unternehmen auf das Wohl der Patienten auszurichten.	/gunshin-holding	mehr
2	692847971b5f1bac21eb0b66	692847971b5f1bac21eb0b65	\N	complex care solutions GmbH	Entdecken Sie das Unternehmen, das Martin Porwoll gegründet hat, um das Wohl der Patienten in den Mittelpunkt zu stellen und Übertherapie und Fehlversorgung zu bekämpfen.	/complex-care-solutions	mehr
1	69284809b6871dae2fda6e5b	69284809b6871dae2fda6e59	\N	complex care solutions GmbH	Nach dem Zytoskandal gründete Martin Porwoll die complex care solutions GmbH.	/complex-care-solutions	mehr
2	69284809b6871dae2fda6e5b	69284809b6871dae2fda6e5a	\N	gunshin Holding UG	Zusätzlich gründete Martin Porwoll die gunshin Holding, die Start-ups im Gesundheitswesen unterstützt.	/gunshin-holding	mehr
1	69284809b6871dae2fda6e70	69284809b6871dae2fda6e6d	\N	Strategische Beratung	Wertvolle strategische Beratung für Start-Ups.	\N	mehr
2	69284809b6871dae2fda6e70	69284809b6871dae2fda6e6e	\N	Netzwerk und Partnerschaften	Zugang zu einem breiten Netzwerk von Experten.	\N	mehr
3	69284809b6871dae2fda6e70	69284809b6871dae2fda6e6f	\N	Ressourcen und Infrastruktur	Büroräume, technische Infrastruktur und administrative Unterstützung.	\N	mehr
\.


--
-- Data for Name: pages_blocks_contact_form_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_contact_form_block (_order, _parent_id, _path, id, headline, description, recipient_email, show_phone, show_address, show_socials, block_name) FROM stdin;
2	3	layout	69284809b6871dae2fda6e5d	Kontakt	Schreiben Sie uns eine Nachricht	info@porwoll.de	t	t	t	\N
\.


--
-- Data for Name: pages_blocks_cta_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_cta_block (_order, _parent_id, _path, id, headline, description, background_color, block_name) FROM stdin;
5	1	layout	692847971b5f1bac21eb0b69	Kontakt aufnehmen	Haben Sie Fragen oder möchten Sie mehr erfahren?	dark	\N
3	4	layout	69284809b6871dae2fda6e61	Der Zytoskandal Bottrop	Erfahren Sie mehr über den Fall, der das deutsche Gesundheitswesen erschütterte.	dark	\N
3	7	layout	69284809b6871dae2fda6e75	Mehr erfahren	Besuchen Sie die Webseite der complex care solutions GmbH	dark	\N
\.


--
-- Data for Name: pages_blocks_cta_block_buttons; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_cta_block_buttons (_order, _parent_id, id, text, link, style) FROM stdin;
1	692847971b5f1bac21eb0b69	692847971b5f1bac21eb0b68	Kontakt	/kontakt	primary
1	69284809b6871dae2fda6e61	69284809b6871dae2fda6e60	Zum Zytoskandal	/zytoskandal	primary
1	69284809b6871dae2fda6e75	69284809b6871dae2fda6e74	Zur complexcaresolutions.de	https://complexcaresolutions.de	primary
\.


--
-- Data for Name: pages_blocks_divider_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_divider_block (_order, _parent_id, _path, id, style, spacing, block_name) FROM stdin;
\.


--
-- Data for Name: pages_blocks_hero_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_hero_block (_order, _parent_id, _path, id, background_image_id, headline, subline, alignment, "overlay", cta_text, cta_link, cta_style, block_name) FROM stdin;
1	1	layout	692847971b5f1bac21eb0b62	4	„Angst ist eine Reaktion, Mut eine Entscheidung"	Whistleblower | Unternehmer | Mensch	center	t	Mehr erfahren	/mensch	primary	\N
1	2	layout	69284809b6871dae2fda6e55	3	Martin Porwoll	Mensch	center	t	\N	\N	primary	\N
1	4	layout	69284809b6871dae2fda6e5e	\N	Whistleblowing	Mut zur Wahrheit	center	t	\N	\N	primary	\N
1	5	layout	69284809b6871dae2fda6e62	\N	Der Zytoskandal Bottrop	Der größte Pharma-Skandal der deutschen Nachkriegsgeschichte	center	t	\N	\N	primary	\N
1	6	layout	69284809b6871dae2fda6e6a	2	gunshin Holding UG	\N	center	t	\N	\N	primary	\N
1	7	layout	69284809b6871dae2fda6e72	\N	complex care solutions GmbH	Patientenwohl im Mittelpunkt	center	t	\N	\N	primary	\N
1	8	layout	69284809b6871dae2fda6e76	\N	Leben	„Angst ist eine Reaktion, Mut eine Entscheidung"	center	t	\N	\N	primary	\N
\.


--
-- Data for Name: pages_blocks_image_text_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_image_text_block (_order, _parent_id, _path, id, image_id, image_position, headline, content, cta_text, cta_link, block_name) FROM stdin;
3	2	layout	69284809b6871dae2fda6e57	3	left	Persönlicher Hintergrund	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Martin Porwoll wurde in Bottrop, Deutschland, geboren und wuchs in einer Familie auf, die Wert auf soziale Verantwortung und Integrität legte. Diese Werte prägten seine Entscheidung, im Gesundheitswesen tätig zu werden und sich dafür einzusetzen, dass das Wohl der Patienten im Mittelpunkt steht.", "type": "text"}]}], "direction": "ltr"}}	Mehr zum Leben	/leben	\N
4	2	layout	69284809b6871dae2fda6e58	3	right	Whistleblower im Zytoskandal Bottrop	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Im Jahr 2016 machte Martin Porwoll als Whistleblower im Zytoskandal Bottrop Schlagzeilen. Er war maßgeblich daran beteiligt, einen groß angelegten Betrug in der Krebsmedikamentenversorgung aufzudecken, bei dem tausende Patienten betroffen waren.", "type": "text"}]}], "direction": "ltr"}}	Zum Zytoskandal	/zytoskandal	\N
3	6	layout	69284809b6871dae2fda6e6c	5	right	Vision und Mission	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Die Vision der gunshin Holding UG ist es, durch die Förderung von Start-ups den Gesundheitssektor nachhaltig zu verändern.", "type": "text"}]}], "direction": "ltr"}}	\N	\N	\N
5	6	layout	69284809b6871dae2fda6e71	6	left	Erfolge und Referenzen	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Die gunshin Holding UG hat bereits mehrere Start-ups erfolgreich unterstützt.", "type": "text"}]}], "direction": "ltr"}}	Zur gunshin.de	https://gunshin.de	\N
\.


--
-- Data for Name: pages_blocks_newsletter_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_newsletter_block (_order, _parent_id, _path, id, title, subtitle, layout, image_id, image_position, collect_name, show_interests, button_text, placeholder_email, success_message, error_message, privacy_text, privacy_link, source, background_color, block_name) FROM stdin;
\.


--
-- Data for Name: pages_blocks_newsletter_block_available_interests; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_newsletter_block_available_interests ("order", parent_id, value, id) FROM stdin;
\.


--
-- Data for Name: pages_blocks_posts_list_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_posts_list_block (_order, _parent_id, _path, id, title, subtitle, post_type, layout, columns, "limit", show_featured_only, show_excerpt, show_date, show_author, show_category, show_pagination, show_read_more, read_more_label, read_more_link, background_color, block_name) FROM stdin;
\.


--
-- Data for Name: pages_blocks_posts_list_block_filter_by_category; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_posts_list_block_filter_by_category (_order, _parent_id, categories_id) FROM stdin;
\.


--
-- Data for Name: pages_blocks_process_steps_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_process_steps_block (_order, _parent_id, _path, id, title, subtitle, layout, show_numbers, show_icons, cta_show, cta_label, cta_href, cta_variant, background_color, block_name) FROM stdin;
\.


--
-- Data for Name: pages_blocks_process_steps_block_steps; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_process_steps_block_steps (_order, _parent_id, id, title, description, icon, image_id) FROM stdin;
\.


--
-- Data for Name: pages_blocks_quote_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_quote_block (_order, _parent_id, _path, id, quote, author, role, image_id, style, block_name) FROM stdin;
4	1	layout	692847971b5f1bac21eb0b67	Sein Motto „Angst ist eine Reaktion, Mut eine Entscheidung" spiegelt seine Entschlossenheit wider, mutig für das Wohl der Patienten einzutreten.	\N	\N	\N	highlighted	\N
\.


--
-- Data for Name: pages_blocks_testimonials_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_testimonials_block (_order, _parent_id, _path, id, title, subtitle, layout, columns, display_mode, "limit", show_rating, show_image, show_company, show_source, autoplay, autoplay_speed, background_color, block_name) FROM stdin;
\.


--
-- Data for Name: pages_blocks_testimonials_block_selected_testimonials; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_testimonials_block_selected_testimonials (_order, _parent_id, testimonials_id) FROM stdin;
\.


--
-- Data for Name: pages_blocks_text_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_text_block (_order, _parent_id, _path, id, content, width, block_name) FROM stdin;
2	1	layout	692847971b5f1bac21eb0b63	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"tag": "h2", "type": "heading", "children": [{"text": "Lebensaufgabe und Vision", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Das Patientenwohl wieder in den Mittelpunkt aller Bemühungen im Gesundheitswesen zu rücken, ist die zentrale Lebensaufgabe von Martin Porwoll.", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Er kämpft leidenschaftlich gegen Übertherapie und Fehlversorgung sowie Missbrauch im Gesundheitswesen und setzt sich für Transparenz, Gerechtigkeit und Integrität ein.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
2	2	layout	69284809b6871dae2fda6e56	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Martin Porwoll ist ein engagierter Unternehmer im Gesundheitswesen und der entscheidende Whistleblower im Zytoskandal Bottrop. Seine Erfahrungen und sein unermüdlicher Einsatz für das Patientenwohl haben ihn zu einem inspirierenden Vorbild und einem wichtigen Akteur in der Branche gemacht.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
1	3	layout	69284809b6871dae2fda6e5c	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"tag": "h2", "type": "heading", "children": [{"text": "Lassen Sie uns reden!", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Haben Sie Fragen, Anregungen oder möchten Sie mehr über die Arbeit von Martin Porwoll erfahren?", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Wir freuen uns von Ihnen zu hören!", "type": "text"}]}], "direction": "ltr"}}	medium	\N
2	4	layout	69284809b6871dae2fda6e5f	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"tag": "h2", "type": "heading", "children": [{"text": "Was ist Whistleblowing?", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Whistleblowing bezeichnet das Aufdecken von Missständen, illegalen Praktiken oder Gefahren für die Öffentlichkeit durch Insider.", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Martin Porwoll wurde 2016 zum Whistleblower, als er den größten Pharma-Skandal der deutschen Nachkriegsgeschichte aufdeckte.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
2	5	layout	69284809b6871dae2fda6e63	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"tag": "h2", "type": "heading", "children": [{"text": "Was geschah?", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Im Jahr 2016 wurde aufgedeckt, dass ein Apotheker in Bottrop über Jahre hinweg Krebsmedikamente gestreckt oder durch Kochsalzlösung ersetzt hatte.", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Martin Porwoll, damals kaufmännischer Leiter der Apotheke, war maßgeblich an der Aufdeckung dieses Skandals beteiligt.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
4	5	layout	69284809b6871dae2fda6e69	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"tag": "h2", "type": "heading", "children": [{"text": "Die Folgen", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Der Zytoskandal führte zu weitreichenden Änderungen im deutschen Gesundheitswesen.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
2	6	layout	69284809b6871dae2fda6e6b	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Die gunshin Holding UG, gegründet von Martin Porwoll, ist eine Beteiligungsgesellschaft, die sich auf die Unterstützung und Förderung von Start-ups im Gesundheitswesen konzentriert.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
2	7	layout	69284809b6871dae2fda6e73	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Die complex care solutions GmbH wurde von Martin Porwoll gegründet, um das Wohl der Patienten in den Mittelpunkt zu stellen.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
2	8	layout	69284809b6871dae2fda6e77	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"type": "paragraph", "children": [{"text": "Diese Seite wird noch mit Inhalten gefüllt.", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Hier wird Martin Porwolls persönlicher Werdegang und seine Lebensgeschichte präsentiert.", "type": "text"}]}], "direction": "ltr"}}	medium	\N
1	9	layout	69284809b6871dae2fda6e78	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"tag": "h2", "type": "heading", "children": [{"text": "Impressum", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Angaben gemäß § 5 TMG", "type": "text", "format": 1}]}, {"type": "paragraph", "children": [{"text": "Martin Porwoll", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Hans-Böckler-Str. 19", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "46236 Bottrop", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Kontakt", "type": "text", "format": 1}]}, {"type": "paragraph", "children": [{"text": "Telefon: 0800 80 44 100", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "E-Mail: info@porwoll.de", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV", "type": "text", "format": 1}]}, {"type": "paragraph", "children": [{"text": "Martin Porwoll", "type": "text"}]}], "direction": "ltr"}}	narrow	\N
1	10	layout	69284809b6871dae2fda6e79	{"root": {"type": "root", "format": "", "indent": 0, "version": 1, "children": [{"tag": "h2", "type": "heading", "children": [{"text": "Datenschutzerklärung", "type": "text"}]}, {"tag": "h3", "type": "heading", "children": [{"text": "1. Datenschutz auf einen Blick", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Die folgenden Hinweise geben einen einfachen Überblick darüber, was mit Ihren personenbezogenen Daten passiert, wenn Sie diese Website besuchen.", "type": "text"}]}, {"tag": "h3", "type": "heading", "children": [{"text": "2. Hosting", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Diese Website wird auf eigenen Servern in Deutschland gehostet.", "type": "text"}]}, {"tag": "h3", "type": "heading", "children": [{"text": "3. Kontaktformular", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "Wenn Sie uns per Kontaktformular Anfragen zukommen lassen, werden Ihre Angaben zwecks Bearbeitung der Anfrage bei uns gespeichert.", "type": "text"}]}, {"type": "paragraph", "children": [{"text": "(Diese Datenschutzerklärung ist ein Platzhalter.)", "type": "text", "format": 2}]}], "direction": "ltr"}}	narrow	\N
\.


--
-- Data for Name: pages_blocks_timeline_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_timeline_block (_order, _parent_id, _path, id, headline, block_name) FROM stdin;
3	5	layout	69284809b6871dae2fda6e68	Chronologie der Ereignisse	\N
\.


--
-- Data for Name: pages_blocks_timeline_block_items; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_timeline_block_items (_order, _parent_id, id, year, title, description, image_id) FROM stdin;
1	69284809b6871dae2fda6e68	69284809b6871dae2fda6e64	2016	Aufdeckung	Martin Porwoll bemerkt Unregelmäßigkeiten und beginnt zu recherchieren	\N
2	69284809b6871dae2fda6e68	69284809b6871dae2fda6e65	2016	Anzeige	Der Fall wird den Behörden gemeldet	\N
3	69284809b6871dae2fda6e68	69284809b6871dae2fda6e66	2017	Verhaftung	Der verantwortliche Apotheker wird verhaftet	\N
4	69284809b6871dae2fda6e68	69284809b6871dae2fda6e67	2018	Verurteilung	Verurteilung zu 12 Jahren Haft	\N
\.


--
-- Data for Name: pages_blocks_video_block; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_blocks_video_block (_order, _parent_id, _path, id, video_url, caption, aspect_ratio, block_name) FROM stdin;
\.


--
-- Data for Name: pages_rels; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.pages_rels (id, "order", parent_id, path, categories_id, testimonials_id) FROM stdin;
\.


--
-- Data for Name: payload_kv; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.payload_kv (id, key, data) FROM stdin;
\.


--
-- Data for Name: payload_locked_documents; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.payload_locked_documents (id, global_slug, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: payload_locked_documents_rels; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.payload_locked_documents_rels (id, "order", parent_id, path, users_id, media_id, tenants_id, pages_id, posts_id, categories_id, social_links_id, forms_id, form_submissions_id, redirects_id, cookie_configurations_id, cookie_inventory_id, consent_logs_id, privacy_policy_settings_id) FROM stdin;
\.


--
-- Data for Name: payload_migrations; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.payload_migrations (id, name, batch, updated_at, created_at) FROM stdin;
1	20251126_163428	1	2025-11-26 16:34:42.547+00	2025-11-26 16:34:42.546+00
2	20251126_200521	2	2025-11-26 20:05:36.195+00	2025-11-26 20:05:36.194+00
3	20251127_081206	3	2025-11-27 08:12:14.944+00	2025-11-27 08:12:14.943+00
4	20251127_085124	4	2025-11-27 08:51:33.23+00	2025-11-27 08:51:33.229+00
6	20251127_224713	5	2025-11-27 22:49:33.705+00	2025-11-27 22:49:33.704+00
7	20251128_142608	6	2025-11-28 14:28:27.621+00	2025-11-28 14:28:27.62+00
5	dev	-1	2025-11-28 14:36:30.472+00	2025-11-27 12:44:07.275+00
\.


--
-- Data for Name: payload_preferences; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.payload_preferences (id, key, value, updated_at, created_at) FROM stdin;
1	collection-media	{}	2025-11-26 16:40:35.04+00	2025-11-26 16:40:35.04+00
3	collection-tenants	{"limit": 10}	2025-11-26 20:39:26.382+00	2025-11-26 20:33:47.612+00
5	collection-users-1	{"fields": {"tenants": {"collapsed": []}}}	2025-11-26 20:47:48.229+00	2025-11-26 20:47:45.766+00
7	collection-redirects	{"limit": 10}	2025-11-27 09:46:56.043+00	2025-11-27 09:46:53.661+00
8	collection-social-links	{}	2025-11-27 09:59:26.029+00	2025-11-27 09:59:26.029+00
9	collection-categories	{}	2025-11-27 10:00:50.957+00	2025-11-27 10:00:50.957+00
6	collection-pages	{"limit": 10}	2025-11-27 12:20:13.965+00	2025-11-27 09:46:26.958+00
4	nav	{"open": true, "groups": {"Collections": {"open": true}}}	2025-11-27 12:46:30.188+00	2025-11-26 20:38:28.207+00
2	collection-users	{"limit": 10}	2025-11-27 12:46:33.073+00	2025-11-26 16:40:37.265+00
\.


--
-- Data for Name: payload_preferences_rels; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.payload_preferences_rels (id, "order", parent_id, path, users_id) FROM stdin;
1	\N	1	user	1
6	\N	3	user	1
10	\N	5	user	1
13	\N	7	user	1
14	\N	8	user	1
15	\N	9	user	1
16	\N	6	user	1
18	\N	4	user	1
19	\N	2	user	1
\.


--
-- Data for Name: posts; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.posts (id, tenant_id, title, slug, excerpt, content, featured_image_id, category_id, author_id, published_at, status, updated_at, created_at, type, is_featured, seo_meta_title, seo_meta_description, seo_og_image_id, author) FROM stdin;
\.


--
-- Data for Name: posts_rels; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.posts_rels (id, "order", parent_id, path, categories_id) FROM stdin;
\.


--
-- Data for Name: privacy_policy_settings; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.privacy_policy_settings (id, tenant_id, title, provider, alfright_tenant_id, alfright_api_key, alfright_language, alfright_iframe_height, styling_header_color, styling_header_font, styling_header_size, styling_subheader_size, styling_font_color, styling_text_font, styling_text_size, styling_link_color, styling_background_color, show_cookie_table, cookie_table_title, cookie_table_description, seo_meta_title, seo_meta_description, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: redirects; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.redirects (id, "from", to_type, to_url, updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: site_settings; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.site_settings (id, site_name, site_tagline, logo_id, favicon_id, contact_email, contact_phone, contact_address, footer_copyright_text, footer_show_social_links, seo_default_meta_title, seo_default_meta_description, seo_default_og_image_id, updated_at, created_at) FROM stdin;
1	porwoll.de	Die Webseite von Martin Porwoll	\N	1	info@porwoll.de	0800 80 44 100	Hans-Böckler-Str. 19\n46236 Bottrop	Martin Porwoll	t	porwoll.de | Die Webseite von Martin Porwoll	Martin Porwoll - Whistleblower, Unternehmer, Mensch. Engagiert für Patientenwohl und Transparenz im Gesundheitswesen.	\N	2025-11-27 12:44:07.394+00	2025-11-27 09:56:52.613+00
\.


--
-- Data for Name: social_links; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.social_links (id, tenant_id, platform, url, is_active, updated_at, created_at) FROM stdin;
1	1	facebook	https://www.facebook.com/martinporwoll	t	2025-11-27 09:59:41.9+00	2025-11-27 09:59:41.9+00
2	1	instagram	https://www.instagram.com/martinporwoll	t	2025-11-27 10:00:16.947+00	2025-11-27 10:00:16.947+00
3	1	youtube	https://www.youtube.com/@martinporwoll	t	2025-11-27 10:00:29.623+00	2025-11-27 10:00:29.623+00
4	1	linkedin	https://www.linkedin.com/in/martinporwoll	t	2025-11-27 10:00:41.713+00	2025-11-27 10:00:41.713+00
5	1	x	https://x.com/martinporwoll	t	2025-11-27 12:44:07.422+00	2025-11-27 12:44:07.422+00
\.


--
-- Data for Name: tenants; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.tenants (id, name, slug, updated_at, created_at) FROM stdin;
1	porwoll.de	porwoll	2025-11-26 20:33:47.509+00	2025-11-26 20:33:47.508+00
5	gunshin.de	gunshin	2025-11-26 20:52:12.512+00	2025-11-26 20:48:19.022+00
4	complexcaresolutions.de	c2s	2025-11-26 20:52:27.533+00	2025-11-26 20:44:51.215+00
6	zweitmein.ng	zweitmeinung	2025-11-26 22:10:55.937+00	2025-11-26 22:08:11.071+00
\.


--
-- Data for Name: tenants_domains; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.tenants_domains (_order, _parent_id, id, domain) FROM stdin;
1	1	692763ff981e6105458e2df7	porwoll.de
2	1	69276406981e6105458e2df8	www.porwoll.de
1	5	6927676fd263874f0453e3e6	gunshin.de
2	5	69276776d263874f0453e3e7	www.gunshin.de
1	4	69276697de1f95ad5e22dfb1	complexcaresolutions.de
2	4	692766a1de1f95ad5e22dfb2	www.complexcaresolutions.de
1	6	69277ac36e43b25d0271266f	zweitmeinu.ng
2	6	69277ad26e43b25d02712670	www.zweitmeinu.ng
\.


--
-- Data for Name: testimonials; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.testimonials (id, tenant_id, quote, author, role, company, image_id, rating, source, source_url, date, is_active, "order", updated_at, created_at) FROM stdin;
\.


--
-- Data for Name: testimonials_rels; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.testimonials_rels (id, "order", parent_id, path) FROM stdin;
\.


--
-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.users (id, updated_at, created_at, email, reset_password_token, reset_password_expiration, salt, hash, login_attempts, lock_until) FROM stdin;
1	2025-11-26 16:40:22.979+00	2025-11-26 16:40:22.978+00	martin.porwoll@complexcaresolutions.de	\N	\N	44198dfdd90fadbff9a9e16caa36b43b051199ad213c7569ec15ec5ede60fbe4	8acc6fb009b517a1427ff1e0f279dec5beabd349f18a61498244c9f74c2d240ebfb297abfa0296fa0c2962123c61eb47e0aaee3d1dc454f24c73c4e4b50a4f335e997e14848ee00f6c32a88d5e413dca1be5159dfad07b3b4f7579031ac814df274eda55fc037ffe659dee591f9f0c3a50a37e7eba69d6e20618094a46df3ac2b8c94701fab5834f5483f63af1390b7c54c6b6757edbc7e253e838f9c7e5e32415e7d38e5048f8b023894d027acfd1b8fddbc849ebf397336b029c00c11e69cc3dcba29888b083a25bdab24716a5132198ea97359e2c7054efa2f342814365e2dcbaf84c46a6bfc7e56557d16c38417f97ff14ea4e64037c5a5e4898aec64ea427f61a072ea34ed24ba863049a2b9918d330b0574c9294c269132e91841177c109c0bdc8e25d7d59d769af398c84b08e2c3c31c6cb3f8b108b7d70c94b62cf021f389dafc321e2167bb5553249fd64e3e980874fff9de9f6c2753090054edd515d1c39106fb7c27ceba255f37aab44f00ec1db22425d2fe84f1728358266b7ef19454bc021cf9f7c09b105debecc57c1c4b2a9e90fd4ced6320e2e9886252d5e00ef99ca158a79dd28b4edcb59c72b5d2475d91e5985be8d8277e541ba17a4524890c8544e75d1f30cbb5f4f87c2204b68862d9a98cad93f134c82b42d03bb9c5fb952c7d579fa2fe3c5a009bd7cbfc84f834ccf9b8e91e4afe7af4691d01e8b	0	\N
\.


--
-- Data for Name: users_sessions; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.users_sessions (_order, _parent_id, id, created_at, expires_at) FROM stdin;
1	1	21fc0ad0-a771-4714-b5bb-3f341462d4b7	2025-11-29 13:33:39.705+00	2025-11-29 15:33:39.705+00
\.


--
-- Data for Name: users_tenants; Type: TABLE DATA; Schema: public; Owner: payload
--

COPY public.users_tenants (_order, _parent_id, id, tenant_id) FROM stdin;
1	1	1	1
2	1	2	4
3	1	3	5
4	1	4	6
\.


--
-- Name: categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.categories_id_seq', 2, true);


--
-- Name: consent_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.consent_logs_id_seq', 1, true);


--
-- Name: cookie_configurations_enabled_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: cookie_configurations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: cookie_inventory_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: form_submissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: forms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: media_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.media_id_seq', 7, true);


--
-- Name: navigation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.navigation_id_seq', 1, true);


--
-- Name: newsletter_subscribers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: newsletter_subscribers_interests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: pages_blocks_newsletter_block_available_interests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: pages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.pages_id_seq', 10, true);


--
-- Name: pages_rels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: payload_kv_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: payload_locked_documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.payload_locked_documents_id_seq', 5, true);


--
-- Name: payload_locked_documents_rels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.payload_locked_documents_rels_id_seq', 8, true);


--
-- Name: payload_migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.payload_migrations_id_seq', 7, true);


--
-- Name: payload_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.payload_preferences_id_seq', 9, true);


--
-- Name: payload_preferences_rels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.payload_preferences_rels_id_seq', 19, true);


--
-- Name: posts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: posts_rels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: privacy_policy_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: redirects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: site_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.site_settings_id_seq', 1, true);


--
-- Name: social_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.social_links_id_seq', 5, true);


--
-- Name: tenants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.tenants_id_seq', 6, true);


--
-- Name: testimonials_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: testimonials_rels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

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


--
-- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: payload
--

SELECT pg_catalog.setval('public.users_id_seq', 1, true);


--
-- Name: categories categories_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.categories
    ADD CONSTRAINT categories_pkey PRIMARY KEY (id);


--
-- Name: consent_logs consent_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.consent_logs
    ADD CONSTRAINT consent_logs_pkey PRIMARY KEY (id);


--
-- Name: cookie_configurations_enabled_categories cookie_configurations_enabled_categories_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_configurations_enabled_categories
    ADD CONSTRAINT cookie_configurations_enabled_categories_pkey PRIMARY KEY (id);


--
-- Name: cookie_configurations cookie_configurations_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_configurations
    ADD CONSTRAINT cookie_configurations_pkey PRIMARY KEY (id);


--
-- Name: cookie_inventory cookie_inventory_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_inventory
    ADD CONSTRAINT cookie_inventory_pkey PRIMARY KEY (id);


--
-- Name: form_submissions form_submissions_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.form_submissions
    ADD CONSTRAINT form_submissions_pkey PRIMARY KEY (id);


--
-- Name: form_submissions_submission_data form_submissions_submission_data_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.form_submissions_submission_data
    ADD CONSTRAINT form_submissions_submission_data_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_checkbox forms_blocks_checkbox_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_checkbox
    ADD CONSTRAINT forms_blocks_checkbox_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_email forms_blocks_email_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_email
    ADD CONSTRAINT forms_blocks_email_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_message forms_blocks_message_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_message
    ADD CONSTRAINT forms_blocks_message_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_number forms_blocks_number_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_number
    ADD CONSTRAINT forms_blocks_number_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_select_options forms_blocks_select_options_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_select_options
    ADD CONSTRAINT forms_blocks_select_options_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_select forms_blocks_select_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_select
    ADD CONSTRAINT forms_blocks_select_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_text forms_blocks_text_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_text
    ADD CONSTRAINT forms_blocks_text_pkey PRIMARY KEY (id);


--
-- Name: forms_blocks_textarea forms_blocks_textarea_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_textarea
    ADD CONSTRAINT forms_blocks_textarea_pkey PRIMARY KEY (id);


--
-- Name: forms_emails forms_emails_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_emails
    ADD CONSTRAINT forms_emails_pkey PRIMARY KEY (id);


--
-- Name: forms forms_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms
    ADD CONSTRAINT forms_pkey PRIMARY KEY (id);


--
-- Name: media media_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.media
    ADD CONSTRAINT media_pkey PRIMARY KEY (id);


--
-- Name: navigation_footer_menu navigation_footer_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_footer_menu
    ADD CONSTRAINT navigation_footer_menu_pkey PRIMARY KEY (id);


--
-- Name: navigation_main_menu navigation_main_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_main_menu
    ADD CONSTRAINT navigation_main_menu_pkey PRIMARY KEY (id);


--
-- Name: navigation_main_menu_submenu navigation_main_menu_submenu_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_main_menu_submenu
    ADD CONSTRAINT navigation_main_menu_submenu_pkey PRIMARY KEY (id);


--
-- Name: navigation navigation_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation
    ADD CONSTRAINT navigation_pkey PRIMARY KEY (id);


--
-- Name: newsletter_subscribers_interests newsletter_subscribers_interests_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.newsletter_subscribers_interests
    ADD CONSTRAINT newsletter_subscribers_interests_pkey PRIMARY KEY (id);


--
-- Name: newsletter_subscribers newsletter_subscribers_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.newsletter_subscribers
    ADD CONSTRAINT newsletter_subscribers_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_card_grid_block_cards pages_blocks_card_grid_block_cards_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_card_grid_block_cards
    ADD CONSTRAINT pages_blocks_card_grid_block_cards_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_card_grid_block pages_blocks_card_grid_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_card_grid_block
    ADD CONSTRAINT pages_blocks_card_grid_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_contact_form_block pages_blocks_contact_form_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_contact_form_block
    ADD CONSTRAINT pages_blocks_contact_form_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_cta_block_buttons pages_blocks_cta_block_buttons_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_cta_block_buttons
    ADD CONSTRAINT pages_blocks_cta_block_buttons_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_cta_block pages_blocks_cta_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_cta_block
    ADD CONSTRAINT pages_blocks_cta_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_divider_block pages_blocks_divider_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_divider_block
    ADD CONSTRAINT pages_blocks_divider_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_hero_block pages_blocks_hero_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_hero_block
    ADD CONSTRAINT pages_blocks_hero_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_image_text_block pages_blocks_image_text_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_image_text_block
    ADD CONSTRAINT pages_blocks_image_text_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_newsletter_block_available_interests pages_blocks_newsletter_block_available_interests_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_newsletter_block_available_interests
    ADD CONSTRAINT pages_blocks_newsletter_block_available_interests_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_newsletter_block pages_blocks_newsletter_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_newsletter_block
    ADD CONSTRAINT pages_blocks_newsletter_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_posts_list_block pages_blocks_posts_list_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_posts_list_block
    ADD CONSTRAINT pages_blocks_posts_list_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_process_steps_block pages_blocks_process_steps_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_process_steps_block
    ADD CONSTRAINT pages_blocks_process_steps_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_process_steps_block_steps pages_blocks_process_steps_block_steps_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_process_steps_block_steps
    ADD CONSTRAINT pages_blocks_process_steps_block_steps_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_quote_block pages_blocks_quote_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_quote_block
    ADD CONSTRAINT pages_blocks_quote_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_testimonials_block pages_blocks_testimonials_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_testimonials_block
    ADD CONSTRAINT pages_blocks_testimonials_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_text_block pages_blocks_text_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_text_block
    ADD CONSTRAINT pages_blocks_text_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_timeline_block_items pages_blocks_timeline_block_events_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_timeline_block_items
    ADD CONSTRAINT pages_blocks_timeline_block_events_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_timeline_block pages_blocks_timeline_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_timeline_block
    ADD CONSTRAINT pages_blocks_timeline_block_pkey PRIMARY KEY (id);


--
-- Name: pages_blocks_video_block pages_blocks_video_block_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_video_block
    ADD CONSTRAINT pages_blocks_video_block_pkey PRIMARY KEY (id);


--
-- Name: pages pages_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages
    ADD CONSTRAINT pages_pkey PRIMARY KEY (id);


--
-- Name: pages_rels pages_rels_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_rels
    ADD CONSTRAINT pages_rels_pkey PRIMARY KEY (id);


--
-- Name: payload_kv payload_kv_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_kv
    ADD CONSTRAINT payload_kv_pkey PRIMARY KEY (id);


--
-- Name: payload_locked_documents payload_locked_documents_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents
    ADD CONSTRAINT payload_locked_documents_pkey PRIMARY KEY (id);


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_pkey PRIMARY KEY (id);


--
-- Name: payload_migrations payload_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_migrations
    ADD CONSTRAINT payload_migrations_pkey PRIMARY KEY (id);


--
-- Name: payload_preferences payload_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_preferences
    ADD CONSTRAINT payload_preferences_pkey PRIMARY KEY (id);


--
-- Name: payload_preferences_rels payload_preferences_rels_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_preferences_rels
    ADD CONSTRAINT payload_preferences_rels_pkey PRIMARY KEY (id);


--
-- Name: posts posts_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts
    ADD CONSTRAINT posts_pkey PRIMARY KEY (id);


--
-- Name: posts_rels posts_rels_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts_rels
    ADD CONSTRAINT posts_rels_pkey PRIMARY KEY (id);


--
-- Name: privacy_policy_settings privacy_policy_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.privacy_policy_settings
    ADD CONSTRAINT privacy_policy_settings_pkey PRIMARY KEY (id);


--
-- Name: redirects redirects_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.redirects
    ADD CONSTRAINT redirects_pkey PRIMARY KEY (id);


--
-- Name: site_settings site_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.site_settings
    ADD CONSTRAINT site_settings_pkey PRIMARY KEY (id);


--
-- Name: social_links social_links_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.social_links
    ADD CONSTRAINT social_links_pkey PRIMARY KEY (id);


--
-- Name: tenants_domains tenants_domains_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.tenants_domains
    ADD CONSTRAINT tenants_domains_pkey PRIMARY KEY (id);


--
-- Name: tenants tenants_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.tenants
    ADD CONSTRAINT tenants_pkey PRIMARY KEY (id);


--
-- Name: testimonials testimonials_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.testimonials
    ADD CONSTRAINT testimonials_pkey PRIMARY KEY (id);


--
-- Name: testimonials_rels testimonials_rels_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.testimonials_rels
    ADD CONSTRAINT testimonials_rels_pkey PRIMARY KEY (id);


--
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.users
    ADD CONSTRAINT users_pkey PRIMARY KEY (id);


--
-- Name: users_sessions users_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.users_sessions
    ADD CONSTRAINT users_sessions_pkey PRIMARY KEY (id);


--
-- Name: users_tenants users_tenants_pkey; Type: CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.users_tenants
    ADD CONSTRAINT users_tenants_pkey PRIMARY KEY (id);


--
-- Name: categories_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX categories_created_at_idx ON public.categories USING btree (created_at);


--
-- Name: categories_slug_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX categories_slug_idx ON public.categories USING btree (slug);


--
-- Name: categories_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX categories_tenant_idx ON public.categories USING btree (tenant_id);


--
-- Name: categories_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX categories_updated_at_idx ON public.categories USING btree (updated_at);


--
-- Name: consent_logs_consent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX consent_logs_consent_id_idx ON public.consent_logs USING btree (consent_id);


--
-- Name: consent_logs_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX consent_logs_created_at_idx ON public.consent_logs USING btree (created_at);


--
-- Name: consent_logs_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX consent_logs_tenant_idx ON public.consent_logs USING btree (tenant_id);


--
-- Name: consent_logs_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX consent_logs_updated_at_idx ON public.consent_logs USING btree (updated_at);


--
-- Name: cookie_configurations_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX cookie_configurations_created_at_idx ON public.cookie_configurations USING btree (created_at);


--
-- Name: cookie_configurations_enabled_categories_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX cookie_configurations_enabled_categories_order_idx ON public.cookie_configurations_enabled_categories USING btree ("order");


--
-- Name: cookie_configurations_enabled_categories_parent_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX cookie_configurations_enabled_categories_parent_idx ON public.cookie_configurations_enabled_categories USING btree (parent_id);


--
-- Name: cookie_configurations_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX cookie_configurations_tenant_idx ON public.cookie_configurations USING btree (tenant_id);


--
-- Name: cookie_configurations_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX cookie_configurations_updated_at_idx ON public.cookie_configurations USING btree (updated_at);


--
-- Name: cookie_inventory_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX cookie_inventory_created_at_idx ON public.cookie_inventory USING btree (created_at);


--
-- Name: cookie_inventory_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX cookie_inventory_tenant_idx ON public.cookie_inventory USING btree (tenant_id);


--
-- Name: cookie_inventory_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX cookie_inventory_updated_at_idx ON public.cookie_inventory USING btree (updated_at);


--
-- Name: form_submissions_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX form_submissions_created_at_idx ON public.form_submissions USING btree (created_at);


--
-- Name: form_submissions_form_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX form_submissions_form_idx ON public.form_submissions USING btree (form_id);


--
-- Name: form_submissions_submission_data_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX form_submissions_submission_data_order_idx ON public.form_submissions_submission_data USING btree (_order);


--
-- Name: form_submissions_submission_data_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX form_submissions_submission_data_parent_id_idx ON public.form_submissions_submission_data USING btree (_parent_id);


--
-- Name: form_submissions_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX form_submissions_updated_at_idx ON public.form_submissions USING btree (updated_at);


--
-- Name: forms_blocks_checkbox_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_checkbox_order_idx ON public.forms_blocks_checkbox USING btree (_order);


--
-- Name: forms_blocks_checkbox_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_checkbox_parent_id_idx ON public.forms_blocks_checkbox USING btree (_parent_id);


--
-- Name: forms_blocks_checkbox_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_checkbox_path_idx ON public.forms_blocks_checkbox USING btree (_path);


--
-- Name: forms_blocks_email_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_email_order_idx ON public.forms_blocks_email USING btree (_order);


--
-- Name: forms_blocks_email_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_email_parent_id_idx ON public.forms_blocks_email USING btree (_parent_id);


--
-- Name: forms_blocks_email_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_email_path_idx ON public.forms_blocks_email USING btree (_path);


--
-- Name: forms_blocks_message_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_message_order_idx ON public.forms_blocks_message USING btree (_order);


--
-- Name: forms_blocks_message_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_message_parent_id_idx ON public.forms_blocks_message USING btree (_parent_id);


--
-- Name: forms_blocks_message_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_message_path_idx ON public.forms_blocks_message USING btree (_path);


--
-- Name: forms_blocks_number_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_number_order_idx ON public.forms_blocks_number USING btree (_order);


--
-- Name: forms_blocks_number_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_number_parent_id_idx ON public.forms_blocks_number USING btree (_parent_id);


--
-- Name: forms_blocks_number_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_number_path_idx ON public.forms_blocks_number USING btree (_path);


--
-- Name: forms_blocks_select_options_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_select_options_order_idx ON public.forms_blocks_select_options USING btree (_order);


--
-- Name: forms_blocks_select_options_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_select_options_parent_id_idx ON public.forms_blocks_select_options USING btree (_parent_id);


--
-- Name: forms_blocks_select_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_select_order_idx ON public.forms_blocks_select USING btree (_order);


--
-- Name: forms_blocks_select_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_select_parent_id_idx ON public.forms_blocks_select USING btree (_parent_id);


--
-- Name: forms_blocks_select_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_select_path_idx ON public.forms_blocks_select USING btree (_path);


--
-- Name: forms_blocks_text_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_text_order_idx ON public.forms_blocks_text USING btree (_order);


--
-- Name: forms_blocks_text_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_text_parent_id_idx ON public.forms_blocks_text USING btree (_parent_id);


--
-- Name: forms_blocks_text_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_text_path_idx ON public.forms_blocks_text USING btree (_path);


--
-- Name: forms_blocks_textarea_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_textarea_order_idx ON public.forms_blocks_textarea USING btree (_order);


--
-- Name: forms_blocks_textarea_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_textarea_parent_id_idx ON public.forms_blocks_textarea USING btree (_parent_id);


--
-- Name: forms_blocks_textarea_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_blocks_textarea_path_idx ON public.forms_blocks_textarea USING btree (_path);


--
-- Name: forms_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_created_at_idx ON public.forms USING btree (created_at);


--
-- Name: forms_emails_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_emails_order_idx ON public.forms_emails USING btree (_order);


--
-- Name: forms_emails_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_emails_parent_id_idx ON public.forms_emails USING btree (_parent_id);


--
-- Name: forms_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX forms_updated_at_idx ON public.forms USING btree (updated_at);


--
-- Name: media_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX media_created_at_idx ON public.media USING btree (created_at);


--
-- Name: media_filename_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX media_filename_idx ON public.media USING btree (filename);


--
-- Name: media_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX media_tenant_idx ON public.media USING btree (tenant_id);


--
-- Name: media_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX media_updated_at_idx ON public.media USING btree (updated_at);


--
-- Name: navigation_footer_menu_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_footer_menu_order_idx ON public.navigation_footer_menu USING btree (_order);


--
-- Name: navigation_footer_menu_page_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_footer_menu_page_idx ON public.navigation_footer_menu USING btree (page_id);


--
-- Name: navigation_footer_menu_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_footer_menu_parent_id_idx ON public.navigation_footer_menu USING btree (_parent_id);


--
-- Name: navigation_main_menu_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_main_menu_order_idx ON public.navigation_main_menu USING btree (_order);


--
-- Name: navigation_main_menu_page_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_main_menu_page_idx ON public.navigation_main_menu USING btree (page_id);


--
-- Name: navigation_main_menu_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_main_menu_parent_id_idx ON public.navigation_main_menu USING btree (_parent_id);


--
-- Name: navigation_main_menu_submenu_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_main_menu_submenu_order_idx ON public.navigation_main_menu_submenu USING btree (_order);


--
-- Name: navigation_main_menu_submenu_page_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_main_menu_submenu_page_idx ON public.navigation_main_menu_submenu USING btree (page_id);


--
-- Name: navigation_main_menu_submenu_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX navigation_main_menu_submenu_parent_id_idx ON public.navigation_main_menu_submenu USING btree (_parent_id);


--
-- Name: newsletter_subscribers_email_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX newsletter_subscribers_email_idx ON public.newsletter_subscribers USING btree (email);


--
-- Name: newsletter_subscribers_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX newsletter_subscribers_tenant_idx ON public.newsletter_subscribers USING btree (tenant_id);


--
-- Name: pages_blocks_card_grid_block_cards_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_card_grid_block_cards_image_idx ON public.pages_blocks_card_grid_block_cards USING btree (image_id);


--
-- Name: pages_blocks_card_grid_block_cards_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_card_grid_block_cards_order_idx ON public.pages_blocks_card_grid_block_cards USING btree (_order);


--
-- Name: pages_blocks_card_grid_block_cards_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_card_grid_block_cards_parent_id_idx ON public.pages_blocks_card_grid_block_cards USING btree (_parent_id);


--
-- Name: pages_blocks_card_grid_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_card_grid_block_order_idx ON public.pages_blocks_card_grid_block USING btree (_order);


--
-- Name: pages_blocks_card_grid_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_card_grid_block_parent_id_idx ON public.pages_blocks_card_grid_block USING btree (_parent_id);


--
-- Name: pages_blocks_card_grid_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_card_grid_block_path_idx ON public.pages_blocks_card_grid_block USING btree (_path);


--
-- Name: pages_blocks_contact_form_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_contact_form_block_order_idx ON public.pages_blocks_contact_form_block USING btree (_order);


--
-- Name: pages_blocks_contact_form_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_contact_form_block_parent_id_idx ON public.pages_blocks_contact_form_block USING btree (_parent_id);


--
-- Name: pages_blocks_contact_form_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_contact_form_block_path_idx ON public.pages_blocks_contact_form_block USING btree (_path);


--
-- Name: pages_blocks_cta_block_buttons_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_cta_block_buttons_order_idx ON public.pages_blocks_cta_block_buttons USING btree (_order);


--
-- Name: pages_blocks_cta_block_buttons_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_cta_block_buttons_parent_id_idx ON public.pages_blocks_cta_block_buttons USING btree (_parent_id);


--
-- Name: pages_blocks_cta_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_cta_block_order_idx ON public.pages_blocks_cta_block USING btree (_order);


--
-- Name: pages_blocks_cta_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_cta_block_parent_id_idx ON public.pages_blocks_cta_block USING btree (_parent_id);


--
-- Name: pages_blocks_cta_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_cta_block_path_idx ON public.pages_blocks_cta_block USING btree (_path);


--
-- Name: pages_blocks_divider_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_divider_block_order_idx ON public.pages_blocks_divider_block USING btree (_order);


--
-- Name: pages_blocks_divider_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_divider_block_parent_id_idx ON public.pages_blocks_divider_block USING btree (_parent_id);


--
-- Name: pages_blocks_divider_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_divider_block_path_idx ON public.pages_blocks_divider_block USING btree (_path);


--
-- Name: pages_blocks_hero_block_background_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_hero_block_background_image_idx ON public.pages_blocks_hero_block USING btree (background_image_id);


--
-- Name: pages_blocks_hero_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_hero_block_order_idx ON public.pages_blocks_hero_block USING btree (_order);


--
-- Name: pages_blocks_hero_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_hero_block_parent_id_idx ON public.pages_blocks_hero_block USING btree (_parent_id);


--
-- Name: pages_blocks_hero_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_hero_block_path_idx ON public.pages_blocks_hero_block USING btree (_path);


--
-- Name: pages_blocks_image_text_block_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_image_text_block_image_idx ON public.pages_blocks_image_text_block USING btree (image_id);


--
-- Name: pages_blocks_image_text_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_image_text_block_order_idx ON public.pages_blocks_image_text_block USING btree (_order);


--
-- Name: pages_blocks_image_text_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_image_text_block_parent_id_idx ON public.pages_blocks_image_text_block USING btree (_parent_id);


--
-- Name: pages_blocks_image_text_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_image_text_block_path_idx ON public.pages_blocks_image_text_block USING btree (_path);


--
-- Name: pages_blocks_quote_block_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_quote_block_image_idx ON public.pages_blocks_quote_block USING btree (image_id);


--
-- Name: pages_blocks_quote_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_quote_block_order_idx ON public.pages_blocks_quote_block USING btree (_order);


--
-- Name: pages_blocks_quote_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_quote_block_parent_id_idx ON public.pages_blocks_quote_block USING btree (_parent_id);


--
-- Name: pages_blocks_quote_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_quote_block_path_idx ON public.pages_blocks_quote_block USING btree (_path);


--
-- Name: pages_blocks_text_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_text_block_order_idx ON public.pages_blocks_text_block USING btree (_order);


--
-- Name: pages_blocks_text_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_text_block_parent_id_idx ON public.pages_blocks_text_block USING btree (_parent_id);


--
-- Name: pages_blocks_text_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_text_block_path_idx ON public.pages_blocks_text_block USING btree (_path);


--
-- Name: pages_blocks_timeline_block_events_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_timeline_block_events_image_idx ON public.pages_blocks_timeline_block_items USING btree (image_id);


--
-- Name: pages_blocks_timeline_block_events_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_timeline_block_events_order_idx ON public.pages_blocks_timeline_block_items USING btree (_order);


--
-- Name: pages_blocks_timeline_block_events_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_timeline_block_events_parent_id_idx ON public.pages_blocks_timeline_block_items USING btree (_parent_id);


--
-- Name: pages_blocks_timeline_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_timeline_block_order_idx ON public.pages_blocks_timeline_block USING btree (_order);


--
-- Name: pages_blocks_timeline_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_timeline_block_parent_id_idx ON public.pages_blocks_timeline_block USING btree (_parent_id);


--
-- Name: pages_blocks_timeline_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_timeline_block_path_idx ON public.pages_blocks_timeline_block USING btree (_path);


--
-- Name: pages_blocks_video_block_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_video_block_order_idx ON public.pages_blocks_video_block USING btree (_order);


--
-- Name: pages_blocks_video_block_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_video_block_parent_id_idx ON public.pages_blocks_video_block USING btree (_parent_id);


--
-- Name: pages_blocks_video_block_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_blocks_video_block_path_idx ON public.pages_blocks_video_block USING btree (_path);


--
-- Name: pages_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_created_at_idx ON public.pages USING btree (created_at);


--
-- Name: pages_hero_hero_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_hero_hero_image_idx ON public.pages USING btree (hero_image_id);


--
-- Name: pages_rels_parent_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_rels_parent_idx ON public.pages_rels USING btree (parent_id);


--
-- Name: pages_seo_seo_og_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_seo_seo_og_image_idx ON public.pages USING btree (seo_og_image_id);


--
-- Name: pages_slug_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX pages_slug_idx ON public.pages USING btree (slug);


--
-- Name: pages_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_tenant_idx ON public.pages USING btree (tenant_id);


--
-- Name: pages_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX pages_updated_at_idx ON public.pages USING btree (updated_at);


--
-- Name: payload_kv_key_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX payload_kv_key_idx ON public.payload_kv USING btree (key);


--
-- Name: payload_locked_documents_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_created_at_idx ON public.payload_locked_documents USING btree (created_at);


--
-- Name: payload_locked_documents_global_slug_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_global_slug_idx ON public.payload_locked_documents USING btree (global_slug);


--
-- Name: payload_locked_documents_rels_categories_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_categories_id_idx ON public.payload_locked_documents_rels USING btree (categories_id);


--
-- Name: payload_locked_documents_rels_consent_logs_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_consent_logs_id_idx ON public.payload_locked_documents_rels USING btree (consent_logs_id);


--
-- Name: payload_locked_documents_rels_cookie_configurations_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_cookie_configurations_id_idx ON public.payload_locked_documents_rels USING btree (cookie_configurations_id);


--
-- Name: payload_locked_documents_rels_cookie_inventory_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_cookie_inventory_id_idx ON public.payload_locked_documents_rels USING btree (cookie_inventory_id);


--
-- Name: payload_locked_documents_rels_form_submissions_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_form_submissions_id_idx ON public.payload_locked_documents_rels USING btree (form_submissions_id);


--
-- Name: payload_locked_documents_rels_forms_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_forms_id_idx ON public.payload_locked_documents_rels USING btree (forms_id);


--
-- Name: payload_locked_documents_rels_media_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_media_id_idx ON public.payload_locked_documents_rels USING btree (media_id);


--
-- Name: payload_locked_documents_rels_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_order_idx ON public.payload_locked_documents_rels USING btree ("order");


--
-- Name: payload_locked_documents_rels_pages_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_pages_id_idx ON public.payload_locked_documents_rels USING btree (pages_id);


--
-- Name: payload_locked_documents_rels_parent_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_parent_idx ON public.payload_locked_documents_rels USING btree (parent_id);


--
-- Name: payload_locked_documents_rels_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_path_idx ON public.payload_locked_documents_rels USING btree (path);


--
-- Name: payload_locked_documents_rels_posts_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_posts_id_idx ON public.payload_locked_documents_rels USING btree (posts_id);


--
-- Name: payload_locked_documents_rels_privacy_policy_settings_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_privacy_policy_settings_id_idx ON public.payload_locked_documents_rels USING btree (privacy_policy_settings_id);


--
-- Name: payload_locked_documents_rels_redirects_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_redirects_id_idx ON public.payload_locked_documents_rels USING btree (redirects_id);


--
-- Name: payload_locked_documents_rels_social_links_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_social_links_id_idx ON public.payload_locked_documents_rels USING btree (social_links_id);


--
-- Name: payload_locked_documents_rels_tenants_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_tenants_id_idx ON public.payload_locked_documents_rels USING btree (tenants_id);


--
-- Name: payload_locked_documents_rels_users_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_rels_users_id_idx ON public.payload_locked_documents_rels USING btree (users_id);


--
-- Name: payload_locked_documents_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_locked_documents_updated_at_idx ON public.payload_locked_documents USING btree (updated_at);


--
-- Name: payload_migrations_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_migrations_created_at_idx ON public.payload_migrations USING btree (created_at);


--
-- Name: payload_migrations_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_migrations_updated_at_idx ON public.payload_migrations USING btree (updated_at);


--
-- Name: payload_preferences_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_preferences_created_at_idx ON public.payload_preferences USING btree (created_at);


--
-- Name: payload_preferences_key_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_preferences_key_idx ON public.payload_preferences USING btree (key);


--
-- Name: payload_preferences_rels_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_preferences_rels_order_idx ON public.payload_preferences_rels USING btree ("order");


--
-- Name: payload_preferences_rels_parent_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_preferences_rels_parent_idx ON public.payload_preferences_rels USING btree (parent_id);


--
-- Name: payload_preferences_rels_path_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_preferences_rels_path_idx ON public.payload_preferences_rels USING btree (path);


--
-- Name: payload_preferences_rels_users_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_preferences_rels_users_id_idx ON public.payload_preferences_rels USING btree (users_id);


--
-- Name: payload_preferences_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX payload_preferences_updated_at_idx ON public.payload_preferences USING btree (updated_at);


--
-- Name: posts_author_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_author_idx ON public.posts USING btree (author_id);


--
-- Name: posts_category_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_category_idx ON public.posts USING btree (category_id);


--
-- Name: posts_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_created_at_idx ON public.posts USING btree (created_at);


--
-- Name: posts_featured_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_featured_image_idx ON public.posts USING btree (featured_image_id);


--
-- Name: posts_rels_categories_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_rels_categories_idx ON public.posts_rels USING btree (categories_id);


--
-- Name: posts_rels_parent_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_rels_parent_idx ON public.posts_rels USING btree (parent_id);


--
-- Name: posts_slug_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX posts_slug_idx ON public.posts USING btree (slug);


--
-- Name: posts_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_tenant_idx ON public.posts USING btree (tenant_id);


--
-- Name: posts_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX posts_updated_at_idx ON public.posts USING btree (updated_at);


--
-- Name: privacy_policy_settings_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX privacy_policy_settings_created_at_idx ON public.privacy_policy_settings USING btree (created_at);


--
-- Name: privacy_policy_settings_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX privacy_policy_settings_tenant_idx ON public.privacy_policy_settings USING btree (tenant_id);


--
-- Name: privacy_policy_settings_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX privacy_policy_settings_updated_at_idx ON public.privacy_policy_settings USING btree (updated_at);


--
-- Name: redirects_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX redirects_created_at_idx ON public.redirects USING btree (created_at);


--
-- Name: redirects_from_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX redirects_from_idx ON public.redirects USING btree ("from");


--
-- Name: redirects_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX redirects_updated_at_idx ON public.redirects USING btree (updated_at);


--
-- Name: site_settings_favicon_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX site_settings_favicon_idx ON public.site_settings USING btree (favicon_id);


--
-- Name: site_settings_logo_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX site_settings_logo_idx ON public.site_settings USING btree (logo_id);


--
-- Name: site_settings_seo_seo_default_og_image_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX site_settings_seo_seo_default_og_image_idx ON public.site_settings USING btree (seo_default_og_image_id);


--
-- Name: social_links_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX social_links_created_at_idx ON public.social_links USING btree (created_at);


--
-- Name: social_links_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX social_links_tenant_idx ON public.social_links USING btree (tenant_id);


--
-- Name: social_links_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX social_links_updated_at_idx ON public.social_links USING btree (updated_at);


--
-- Name: tenants_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX tenants_created_at_idx ON public.tenants USING btree (created_at);


--
-- Name: tenants_domains_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX tenants_domains_order_idx ON public.tenants_domains USING btree (_order);


--
-- Name: tenants_domains_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX tenants_domains_parent_id_idx ON public.tenants_domains USING btree (_parent_id);


--
-- Name: tenants_slug_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX tenants_slug_idx ON public.tenants USING btree (slug);


--
-- Name: tenants_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX tenants_updated_at_idx ON public.tenants USING btree (updated_at);


--
-- Name: testimonials_is_active_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX testimonials_is_active_idx ON public.testimonials USING btree (is_active);


--
-- Name: testimonials_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX testimonials_tenant_idx ON public.testimonials USING btree (tenant_id);


--
-- Name: users_created_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX users_created_at_idx ON public.users USING btree (created_at);


--
-- Name: users_email_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE UNIQUE INDEX users_email_idx ON public.users USING btree (email);


--
-- Name: users_sessions_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX users_sessions_order_idx ON public.users_sessions USING btree (_order);


--
-- Name: users_sessions_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX users_sessions_parent_id_idx ON public.users_sessions USING btree (_parent_id);


--
-- Name: users_tenants_order_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX users_tenants_order_idx ON public.users_tenants USING btree (_order);


--
-- Name: users_tenants_parent_id_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX users_tenants_parent_id_idx ON public.users_tenants USING btree (_parent_id);


--
-- Name: users_tenants_tenant_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX users_tenants_tenant_idx ON public.users_tenants USING btree (tenant_id);


--
-- Name: users_updated_at_idx; Type: INDEX; Schema: public; Owner: payload
--

CREATE INDEX users_updated_at_idx ON public.users USING btree (updated_at);


--
-- Name: categories categories_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.categories
    ADD CONSTRAINT categories_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: consent_logs consent_logs_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.consent_logs
    ADD CONSTRAINT consent_logs_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: cookie_configurations_enabled_categories cookie_configurations_enabled_categories_parent_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_configurations_enabled_categories
    ADD CONSTRAINT cookie_configurations_enabled_categories_parent_fk FOREIGN KEY (parent_id) REFERENCES public.cookie_configurations(id) ON DELETE CASCADE;


--
-- Name: cookie_configurations cookie_configurations_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_configurations
    ADD CONSTRAINT cookie_configurations_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: cookie_inventory cookie_inventory_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.cookie_inventory
    ADD CONSTRAINT cookie_inventory_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: form_submissions form_submissions_form_id_forms_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.form_submissions
    ADD CONSTRAINT form_submissions_form_id_forms_id_fk FOREIGN KEY (form_id) REFERENCES public.forms(id) ON DELETE SET NULL;


--
-- Name: form_submissions_submission_data form_submissions_submission_data_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.form_submissions_submission_data
    ADD CONSTRAINT form_submissions_submission_data_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.form_submissions(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_checkbox forms_blocks_checkbox_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_checkbox
    ADD CONSTRAINT forms_blocks_checkbox_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_email forms_blocks_email_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_email
    ADD CONSTRAINT forms_blocks_email_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_message forms_blocks_message_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_message
    ADD CONSTRAINT forms_blocks_message_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_number forms_blocks_number_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_number
    ADD CONSTRAINT forms_blocks_number_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_select_options forms_blocks_select_options_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_select_options
    ADD CONSTRAINT forms_blocks_select_options_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms_blocks_select(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_select forms_blocks_select_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_select
    ADD CONSTRAINT forms_blocks_select_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_text forms_blocks_text_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_text
    ADD CONSTRAINT forms_blocks_text_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: forms_blocks_textarea forms_blocks_textarea_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_blocks_textarea
    ADD CONSTRAINT forms_blocks_textarea_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: forms_emails forms_emails_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.forms_emails
    ADD CONSTRAINT forms_emails_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: media media_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.media
    ADD CONSTRAINT media_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: navigation_footer_menu navigation_footer_menu_page_id_pages_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_footer_menu
    ADD CONSTRAINT navigation_footer_menu_page_id_pages_id_fk FOREIGN KEY (page_id) REFERENCES public.pages(id) ON DELETE SET NULL;


--
-- Name: navigation_footer_menu navigation_footer_menu_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_footer_menu
    ADD CONSTRAINT navigation_footer_menu_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.navigation(id) ON DELETE CASCADE;


--
-- Name: navigation_main_menu navigation_main_menu_page_id_pages_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_main_menu
    ADD CONSTRAINT navigation_main_menu_page_id_pages_id_fk FOREIGN KEY (page_id) REFERENCES public.pages(id) ON DELETE SET NULL;


--
-- Name: navigation_main_menu navigation_main_menu_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_main_menu
    ADD CONSTRAINT navigation_main_menu_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.navigation(id) ON DELETE CASCADE;


--
-- Name: navigation_main_menu_submenu navigation_main_menu_submenu_page_id_pages_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_main_menu_submenu
    ADD CONSTRAINT navigation_main_menu_submenu_page_id_pages_id_fk FOREIGN KEY (page_id) REFERENCES public.pages(id) ON DELETE SET NULL;


--
-- Name: navigation_main_menu_submenu navigation_main_menu_submenu_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.navigation_main_menu_submenu
    ADD CONSTRAINT navigation_main_menu_submenu_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.navigation_main_menu(id) ON DELETE CASCADE;


--
-- Name: newsletter_subscribers_interests newsletter_subscribers_interests_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.newsletter_subscribers_interests
    ADD CONSTRAINT newsletter_subscribers_interests_parent_id_fk FOREIGN KEY (parent_id) REFERENCES public.newsletter_subscribers(id) ON DELETE CASCADE;


--
-- Name: newsletter_subscribers newsletter_subscribers_tenant_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.newsletter_subscribers
    ADD CONSTRAINT newsletter_subscribers_tenant_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_card_grid_block_cards pages_blocks_card_grid_block_cards_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_card_grid_block_cards
    ADD CONSTRAINT pages_blocks_card_grid_block_cards_image_id_media_id_fk FOREIGN KEY (image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_card_grid_block_cards pages_blocks_card_grid_block_cards_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_card_grid_block_cards
    ADD CONSTRAINT pages_blocks_card_grid_block_cards_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages_blocks_card_grid_block(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_card_grid_block pages_blocks_card_grid_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_card_grid_block
    ADD CONSTRAINT pages_blocks_card_grid_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_contact_form_block pages_blocks_contact_form_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_contact_form_block
    ADD CONSTRAINT pages_blocks_contact_form_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_cta_block_buttons pages_blocks_cta_block_buttons_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_cta_block_buttons
    ADD CONSTRAINT pages_blocks_cta_block_buttons_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages_blocks_cta_block(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_cta_block pages_blocks_cta_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_cta_block
    ADD CONSTRAINT pages_blocks_cta_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_divider_block pages_blocks_divider_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_divider_block
    ADD CONSTRAINT pages_blocks_divider_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_hero_block pages_blocks_hero_block_background_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_hero_block
    ADD CONSTRAINT pages_blocks_hero_block_background_image_id_media_id_fk FOREIGN KEY (background_image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_hero_block pages_blocks_hero_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_hero_block
    ADD CONSTRAINT pages_blocks_hero_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_image_text_block pages_blocks_image_text_block_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_image_text_block
    ADD CONSTRAINT pages_blocks_image_text_block_image_id_media_id_fk FOREIGN KEY (image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_image_text_block pages_blocks_image_text_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_image_text_block
    ADD CONSTRAINT pages_blocks_image_text_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_newsletter_block pages_blocks_newsletter_block_image_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_newsletter_block
    ADD CONSTRAINT pages_blocks_newsletter_block_image_id_fk FOREIGN KEY (image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_newsletter_block pages_blocks_newsletter_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_newsletter_block
    ADD CONSTRAINT pages_blocks_newsletter_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_posts_list_block pages_blocks_posts_list_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_posts_list_block
    ADD CONSTRAINT pages_blocks_posts_list_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_process_steps_block pages_blocks_process_steps_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_process_steps_block
    ADD CONSTRAINT pages_blocks_process_steps_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_process_steps_block_steps pages_blocks_process_steps_block_steps_image_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_process_steps_block_steps
    ADD CONSTRAINT pages_blocks_process_steps_block_steps_image_id_fk FOREIGN KEY (image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_quote_block pages_blocks_quote_block_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_quote_block
    ADD CONSTRAINT pages_blocks_quote_block_image_id_media_id_fk FOREIGN KEY (image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_quote_block pages_blocks_quote_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_quote_block
    ADD CONSTRAINT pages_blocks_quote_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_testimonials_block pages_blocks_testimonials_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_testimonials_block
    ADD CONSTRAINT pages_blocks_testimonials_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_text_block pages_blocks_text_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_text_block
    ADD CONSTRAINT pages_blocks_text_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_timeline_block_items pages_blocks_timeline_block_events_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_timeline_block_items
    ADD CONSTRAINT pages_blocks_timeline_block_events_image_id_media_id_fk FOREIGN KEY (image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_blocks_timeline_block_items pages_blocks_timeline_block_events_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_timeline_block_items
    ADD CONSTRAINT pages_blocks_timeline_block_events_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages_blocks_timeline_block(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_timeline_block pages_blocks_timeline_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_timeline_block
    ADD CONSTRAINT pages_blocks_timeline_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_blocks_video_block pages_blocks_video_block_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_blocks_video_block
    ADD CONSTRAINT pages_blocks_video_block_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages pages_hero_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages
    ADD CONSTRAINT pages_hero_image_id_media_id_fk FOREIGN KEY (hero_image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages_rels pages_rels_categories_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_rels
    ADD CONSTRAINT pages_rels_categories_id_fk FOREIGN KEY (categories_id) REFERENCES public.categories(id) ON DELETE CASCADE;


--
-- Name: pages_rels pages_rels_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_rels
    ADD CONSTRAINT pages_rels_parent_id_fk FOREIGN KEY (parent_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: pages_rels pages_rels_testimonials_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages_rels
    ADD CONSTRAINT pages_rels_testimonials_id_fk FOREIGN KEY (testimonials_id) REFERENCES public.testimonials(id) ON DELETE CASCADE;


--
-- Name: pages pages_seo_og_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages
    ADD CONSTRAINT pages_seo_og_image_id_media_id_fk FOREIGN KEY (seo_og_image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: pages pages_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.pages
    ADD CONSTRAINT pages_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_categories_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_categories_fk FOREIGN KEY (categories_id) REFERENCES public.categories(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_consent_logs_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_consent_logs_fk FOREIGN KEY (consent_logs_id) REFERENCES public.consent_logs(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_cookie_configurations_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_cookie_configurations_fk FOREIGN KEY (cookie_configurations_id) REFERENCES public.cookie_configurations(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_cookie_inventory_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_cookie_inventory_fk FOREIGN KEY (cookie_inventory_id) REFERENCES public.cookie_inventory(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_form_submissions_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_form_submissions_fk FOREIGN KEY (form_submissions_id) REFERENCES public.form_submissions(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_forms_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_forms_fk FOREIGN KEY (forms_id) REFERENCES public.forms(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_media_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_media_fk FOREIGN KEY (media_id) REFERENCES public.media(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_pages_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_pages_fk FOREIGN KEY (pages_id) REFERENCES public.pages(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_parent_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_parent_fk FOREIGN KEY (parent_id) REFERENCES public.payload_locked_documents(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_posts_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_posts_fk FOREIGN KEY (posts_id) REFERENCES public.posts(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_privacy_policy_settings_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_privacy_policy_settings_fk FOREIGN KEY (privacy_policy_settings_id) REFERENCES public.privacy_policy_settings(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_redirects_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_redirects_fk FOREIGN KEY (redirects_id) REFERENCES public.redirects(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_social_links_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_social_links_fk FOREIGN KEY (social_links_id) REFERENCES public.social_links(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_tenants_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_tenants_fk FOREIGN KEY (tenants_id) REFERENCES public.tenants(id) ON DELETE CASCADE;


--
-- Name: payload_locked_documents_rels payload_locked_documents_rels_users_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_locked_documents_rels
    ADD CONSTRAINT payload_locked_documents_rels_users_fk FOREIGN KEY (users_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: payload_preferences_rels payload_preferences_rels_parent_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_preferences_rels
    ADD CONSTRAINT payload_preferences_rels_parent_fk FOREIGN KEY (parent_id) REFERENCES public.payload_preferences(id) ON DELETE CASCADE;


--
-- Name: payload_preferences_rels payload_preferences_rels_users_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.payload_preferences_rels
    ADD CONSTRAINT payload_preferences_rels_users_fk FOREIGN KEY (users_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: posts posts_author_id_users_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts
    ADD CONSTRAINT posts_author_id_users_id_fk FOREIGN KEY (author_id) REFERENCES public.users(id) ON DELETE SET NULL;


--
-- Name: posts posts_category_id_categories_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts
    ADD CONSTRAINT posts_category_id_categories_id_fk FOREIGN KEY (category_id) REFERENCES public.categories(id) ON DELETE SET NULL;


--
-- Name: posts posts_featured_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts
    ADD CONSTRAINT posts_featured_image_id_media_id_fk FOREIGN KEY (featured_image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: posts_rels posts_rels_categories_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts_rels
    ADD CONSTRAINT posts_rels_categories_id_fk FOREIGN KEY (categories_id) REFERENCES public.categories(id) ON DELETE CASCADE;


--
-- Name: posts_rels posts_rels_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts_rels
    ADD CONSTRAINT posts_rels_parent_id_fk FOREIGN KEY (parent_id) REFERENCES public.posts(id) ON DELETE CASCADE;


--
-- Name: posts posts_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.posts
    ADD CONSTRAINT posts_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: privacy_policy_settings privacy_policy_settings_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.privacy_policy_settings
    ADD CONSTRAINT privacy_policy_settings_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: site_settings site_settings_favicon_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.site_settings
    ADD CONSTRAINT site_settings_favicon_id_media_id_fk FOREIGN KEY (favicon_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: site_settings site_settings_logo_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.site_settings
    ADD CONSTRAINT site_settings_logo_id_media_id_fk FOREIGN KEY (logo_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: site_settings site_settings_seo_default_og_image_id_media_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.site_settings
    ADD CONSTRAINT site_settings_seo_default_og_image_id_media_id_fk FOREIGN KEY (seo_default_og_image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: social_links social_links_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.social_links
    ADD CONSTRAINT social_links_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: tenants_domains tenants_domains_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.tenants_domains
    ADD CONSTRAINT tenants_domains_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.tenants(id) ON DELETE CASCADE;


--
-- Name: testimonials testimonials_image_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.testimonials
    ADD CONSTRAINT testimonials_image_id_fk FOREIGN KEY (image_id) REFERENCES public.media(id) ON DELETE SET NULL;


--
-- Name: testimonials testimonials_tenant_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.testimonials
    ADD CONSTRAINT testimonials_tenant_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- Name: users_sessions users_sessions_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.users_sessions
    ADD CONSTRAINT users_sessions_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: users_tenants users_tenants_parent_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.users_tenants
    ADD CONSTRAINT users_tenants_parent_id_fk FOREIGN KEY (_parent_id) REFERENCES public.users(id) ON DELETE CASCADE;


--
-- Name: users_tenants users_tenants_tenant_id_tenants_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: payload
--

ALTER TABLE ONLY public.users_tenants
    ADD CONSTRAINT users_tenants_tenant_id_tenants_id_fk FOREIGN KEY (tenant_id) REFERENCES public.tenants(id) ON DELETE SET NULL;


--
-- PostgreSQL database dump complete
--

\unrestrict g7zb5P7iAvkJ5wobd5qMqPK83xFa80TBHIpJ4UGIygA21Y31DtRT2bSADEqSoKt

