From 9383c62c45588c83aadc1e019ef07f2395bf5493 Mon Sep 17 00:00:00 2001 From: mvriu5 Date: Mon, 20 Jul 2026 15:06:39 +0200 Subject: [PATCH 1/6] feat: flow example section init --- src/blocks/FlowExampleBlock.ts | 113 + src/collections/pages.ts | 2 + src/components/PageBlockRenderer.tsx | 2 + .../sections/FlowExampleSection.tsx | 71 + .../sections/client/FlowExampleDiagram.tsx | 74 + src/lib/cms.ts | 1 + ...20260720_123334_20260720_flow_example.json | 13946 ++++++++++++++++ .../20260720_123334_20260720_flow_example.ts | 50 + src/migrations/index.ts | 8 +- src/payload-types.ts | 63 + 10 files changed, 14329 insertions(+), 1 deletion(-) create mode 100644 src/blocks/FlowExampleBlock.ts create mode 100644 src/components/sections/FlowExampleSection.tsx create mode 100644 src/components/sections/client/FlowExampleDiagram.tsx create mode 100644 src/migrations/20260720_123334_20260720_flow_example.json create mode 100644 src/migrations/20260720_123334_20260720_flow_example.ts diff --git a/src/blocks/FlowExampleBlock.ts b/src/blocks/FlowExampleBlock.ts new file mode 100644 index 00000000..5e256e2f --- /dev/null +++ b/src/blocks/FlowExampleBlock.ts @@ -0,0 +1,113 @@ +import { iconField } from "@mvriu5/payload-icon-picker" +import type { Block, Field } from "payload" + +function flowIconField(): Field { + return iconField({ + name: "icon", + label: "Icon", + required: true, + placeholder: "Search icons", + noResultsLabel: "No icons found", + admin: { position: "sidebar" }, + }) +} + +export const FlowExampleBlock: Block = { + slug: "flowExample", + labels: { + singular: "Flow Example", + plural: "Flow Examples", + }, + fields: [ + { + type: "collapsible", + label: "Section", + fields: [ + { + name: "sectionHeading", + label: "Section Heading", + type: "text", + localized: true, + }, + { + name: "sectionLayout", + label: "Flow Layout", + type: "select", + required: true, + defaultValue: "flowCenter", + options: [ + { label: "Flow center", value: "flowCenter" }, + { label: "Flow left", value: "flowLeft" }, + { label: "Flow right", value: "flowRight" }, + ], + }, + { + name: "sectionDescription", + label: "Section Description", + type: "textarea", + localized: true, + }, + { + name: "sectionLinkButton", + label: "Section Link Button", + type: "group", + fields: [ + { name: "label", type: "text", localized: true }, + { name: "url", type: "text" }, + ], + }, + ], + }, + { + name: "contentHeading", + label: "Content Heading", + type: "text", + localized: true, + }, + { + name: "contentDescription", + label: "Content Description", + type: "textarea", + localized: true, + }, + { + name: "flow", + type: "group", + fields: [ + { + name: "trigger", + type: "group", + fields: [ + flowIconField(), + { + name: "name", + type: "text", + required: true, + localized: true, + }, + ], + }, + { + name: "items", + label: "Flow items", + type: "array", + fields: [ + flowIconField(), + { + name: "text", + type: "text", + required: true, + localized: true, + }, + ], + }, + ], + }, + { + name: "showBorder", + label: "Show Border", + type: "checkbox", + defaultValue: false, + }, + ], +} diff --git a/src/collections/pages.ts b/src/collections/pages.ts index bc112aa4..f836e198 100644 --- a/src/collections/pages.ts +++ b/src/collections/pages.ts @@ -23,6 +23,7 @@ import { StandaloneBlock } from "@/blocks/StandaloneBlock" import { VideoBlock } from "@/blocks/VideoBlock" import { WideHeroBlock } from "@/blocks/WideHeroBlock" import { StatsBlock } from "@/blocks/StatsBlock" +import { FlowExampleBlock } from "@/blocks/FlowExampleBlock" export const Pages: CollectionConfig = { slug: "pages", @@ -95,6 +96,7 @@ export const Pages: CollectionConfig = { WideHeroBlock, ListFeatureSection, StatsBlock, + FlowExampleBlock, ], required: false, localized: true, diff --git a/src/components/PageBlockRenderer.tsx b/src/components/PageBlockRenderer.tsx index 215d115e..9c05b676 100644 --- a/src/components/PageBlockRenderer.tsx +++ b/src/components/PageBlockRenderer.tsx @@ -20,6 +20,7 @@ import { StandaloneCardSection } from "./sections/StandaloneCardSection" import { VideoSection } from "./sections/VideoSection" import { WideHeroSection } from "./sections/WideHeroSection" import { StatsSection } from "./sections/StatsSection" +import { FlowExampleSection } from "./sections/FlowExampleSection" type PageBlock = NonNullable[number] @@ -53,6 +54,7 @@ const pageBlockRenderers: Partial> widehero: (block) => } />, listFeature: (block) => } />, stats: (block) => } />, + flowExample: (block) => } />, } function renderPageBlock(block: PageBlock, options: PageBlockRenderOptions) { diff --git a/src/components/sections/FlowExampleSection.tsx b/src/components/sections/FlowExampleSection.tsx new file mode 100644 index 00000000..5743124a --- /dev/null +++ b/src/components/sections/FlowExampleSection.tsx @@ -0,0 +1,71 @@ +import { getIcon } from "@/components/IconRenderer" +import { StaggerContainer, StaggerItem } from "@/components/animations/Stagger" +import { Card } from "@/components/ui/Card" +import { Section } from "@/components/ui/Section" +import type { FlowExampleLayoutBlock } from "@/lib/cms" +import { cn } from "@/lib/utils" +import { FlowExampleDiagram, type FlowDiagramNode } from "./client/FlowExampleDiagram" + +interface FlowExampleSectionProps { + content?: FlowExampleLayoutBlock | null +} + +export function FlowExampleSection({ content }: FlowExampleSectionProps) { + const trigger = content?.flow?.trigger + if (!content || !trigger?.name) return null + + const triggerNode: FlowDiagramNode = { + id: "trigger", + icon: getIcon(trigger.icon, 20), + text: trigger.name, + } + const items: FlowDiagramNode[] = + content.flow?.items?.map((item, index) => ({ + id: String(item.id ?? index), + icon: getIcon(item.icon, 20, item.id ?? index), + text: item.text, + })) ?? [] + const isCenter = content.sectionLayout === "flowCenter" + const isRight = content.sectionLayout === "flowRight" + const flow = ( +
+ +
+ ) + const body = ( + + {content.contentHeading && ( + + {content.contentHeading} + + )} + {content.contentDescription && ( + + {content.contentDescription} + + )} + + ) + + const example =
{isCenter ? <>{flow}{(content.contentHeading || content.contentDescription) && body} : <>{flow}{body}}
+ + return ( +
+
+ {content.showBorder ? {example} : example} +
+
+ ) +} diff --git a/src/components/sections/client/FlowExampleDiagram.tsx b/src/components/sections/client/FlowExampleDiagram.tsx new file mode 100644 index 00000000..1e0e871c --- /dev/null +++ b/src/components/sections/client/FlowExampleDiagram.tsx @@ -0,0 +1,74 @@ +"use client" + +import { Card, Flex, Text } from "@code0-tech/pictor" +import { m as motion, useReducedMotion } from "motion/react" +import type { ReactNode } from "react" + +export interface FlowDiagramNode { + icon: ReactNode + text: string + id: string +} + +function FlowNode({ node, trigger }: { node: FlowDiagramNode; trigger?: boolean }) { + return ( + + + {node.icon} + + + {node.text} + + + + + ) +} + +export function FlowExampleDiagram({ trigger, items }: { trigger: FlowDiagramNode; items: FlowDiagramNode[] }) { + const reducedMotion = useReducedMotion() + const nodes = [trigger, ...items] + + return ( + + {nodes.map((node, index) => ( +
+ {index > 0 && ( + + )} + + + +
+ ))} +
+ ) +} diff --git a/src/lib/cms.ts b/src/lib/cms.ts index ae27c348..e5ba4c3b 100644 --- a/src/lib/cms.ts +++ b/src/lib/cms.ts @@ -33,6 +33,7 @@ export type VideoLayoutBlock = Extract export type WideHeroLayoutBlock = Extract export type ListFeatureLayoutBlock = Extract export type StatsLayoutBlock = Extract +export type FlowExampleLayoutBlock = Extract type FeatureSlug = Feature["slug"] interface FeatureItem { diff --git a/src/migrations/20260720_123334_20260720_flow_example.json b/src/migrations/20260720_123334_20260720_flow_example.json new file mode 100644 index 00000000..315a40e5 --- /dev/null +++ b/src/migrations/20260720_123334_20260720_flow_example.json @@ -0,0 +1,13946 @@ +{ + "version": "7", + "dialect": "postgresql", + "tables": { + "public.users_sessions": { + "name": "users_sessions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "users_sessions_order_idx": { + "name": "users_sessions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_sessions_parent_id_idx": { + "name": "users_sessions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_sessions_parent_id_fk": { + "name": "users_sessions_parent_id_fk", + "tableFrom": "users_sessions", + "tableTo": "users", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.users": { + "name": "users", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "ai_provider": { + "name": "ai_provider", + "type": "enum_users_ai_provider", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'openai'" + }, + "ai_api_key": { + "name": "ai_api_key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "email": { + "name": "email", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "reset_password_token": { + "name": "reset_password_token", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "reset_password_expiration": { + "name": "reset_password_expiration", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "salt": { + "name": "salt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hash": { + "name": "hash", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "login_attempts": { + "name": "login_attempts", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "lock_until": { + "name": "lock_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "users_image_idx": { + "name": "users_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_updated_at_idx": { + "name": "users_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_created_at_idx": { + "name": "users_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_email_idx": { + "name": "users_email_idx", + "columns": [ + { + "expression": "email", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_image_id_media_id_fk": { + "name": "users_image_id_media_id_fk", + "tableFrom": "users", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.media": { + "name": "media", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "alt": { + "name": "alt", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "media_updated_at_idx": { + "name": "media_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_created_at_idx": { + "name": "media_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_filename_idx": { + "name": "media_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_texts": { + "name": "pages_blocks_hero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_hero_texts_order_idx": { + "name": "pages_blocks_hero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_parent_id_idx": { + "name": "pages_blocks_hero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_locale_idx": { + "name": "pages_blocks_hero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_texts_parent_id_fk": { + "name": "pages_blocks_hero_texts_parent_id_fk", + "tableFrom": "pages_blocks_hero_texts", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_buttons": { + "name": "pages_blocks_hero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_hero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_hero_buttons_order_idx": { + "name": "pages_blocks_hero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_parent_id_idx": { + "name": "pages_blocks_hero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_locale_idx": { + "name": "pages_blocks_hero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_buttons_parent_id_fk": { + "name": "pages_blocks_hero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_hero_buttons", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero": { + "name": "pages_blocks_hero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "centered": { + "name": "centered", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color1": { + "name": "grainient_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color2": { + "name": "grainient_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color3": { + "name": "grainient_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_background_color": { + "name": "grainient_colors_background_color", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_hero_order_idx": { + "name": "pages_blocks_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_parent_id_idx": { + "name": "pages_blocks_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_path_idx": { + "name": "pages_blocks_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_locale_idx": { + "name": "pages_blocks_hero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_image_idx": { + "name": "pages_blocks_hero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_image_id_media_id_fk": { + "name": "pages_blocks_hero_image_id_media_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_hero_parent_id_fk": { + "name": "pages_blocks_hero_parent_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_bento": { + "name": "pages_blocks_bento", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_bento_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_bento_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'feature'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_bento_order_idx": { + "name": "pages_blocks_bento_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_parent_id_idx": { + "name": "pages_blocks_bento_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_path_idx": { + "name": "pages_blocks_bento_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_locale_idx": { + "name": "pages_blocks_bento_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_bento_parent_id_fk": { + "name": "pages_blocks_bento_parent_id_fk", + "tableFrom": "pages_blocks_bento", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards_mask": { + "name": "pages_blocks_offset_cards_cards_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_offset_cards_cards_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_mask_order_idx": { + "name": "pages_blocks_offset_cards_cards_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_parent_idx": { + "name": "pages_blocks_offset_cards_cards_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_locale_idx": { + "name": "pages_blocks_offset_cards_cards_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_mask_parent_fk": { + "name": "pages_blocks_offset_cards_cards_mask_parent_fk", + "tableFrom": "pages_blocks_offset_cards_cards_mask", + "tableTo": "pages_blocks_offset_cards_cards", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards": { + "name": "pages_blocks_offset_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_order_idx": { + "name": "pages_blocks_offset_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_locale_idx": { + "name": "pages_blocks_offset_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_image_idx": { + "name": "pages_blocks_offset_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_offset_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_offset_cards_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "pages_blocks_offset_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards": { + "name": "pages_blocks_offset_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_offset_cards_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "card_placement": { + "name": "card_placement", + "type": "enum_pages_blocks_offset_cards_card_placement", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'alternate'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_order_idx": { + "name": "pages_blocks_offset_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_path_idx": { + "name": "pages_blocks_offset_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_locale_idx": { + "name": "pages_blocks_offset_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_install": { + "name": "pages_blocks_install", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "language": { + "name": "language", + "type": "enum_pages_blocks_install_language", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "code": { + "name": "code", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_install_order_idx": { + "name": "pages_blocks_install_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_parent_id_idx": { + "name": "pages_blocks_install_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_path_idx": { + "name": "pages_blocks_install_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_locale_idx": { + "name": "pages_blocks_install_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_install_parent_id_fk": { + "name": "pages_blocks_install_parent_id_fk", + "tableFrom": "pages_blocks_install", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards_cards": { + "name": "pages_blocks_swipe_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_cards_order_idx": { + "name": "pages_blocks_swipe_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_image_idx": { + "name": "pages_blocks_swipe_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_swipe_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_swipe_cards_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "pages_blocks_swipe_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards": { + "name": "pages_blocks_swipe_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_order_idx": { + "name": "pages_blocks_swipe_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_path_idx": { + "name": "pages_blocks_swipe_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand_logos": { + "name": "pages_blocks_brand_logos", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_brand_logos_order_idx": { + "name": "pages_blocks_brand_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_parent_id_idx": { + "name": "pages_blocks_brand_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_locale_idx": { + "name": "pages_blocks_brand_logos_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_logo_idx": { + "name": "pages_blocks_brand_logos_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_logos_logo_id_media_id_fk": { + "name": "pages_blocks_brand_logos_logo_id_media_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_brand_logos_parent_id_fk": { + "name": "pages_blocks_brand_logos_parent_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "pages_blocks_brand", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand": { + "name": "pages_blocks_brand", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_brand_order_idx": { + "name": "pages_blocks_brand_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_parent_id_idx": { + "name": "pages_blocks_brand_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_path_idx": { + "name": "pages_blocks_brand_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_locale_idx": { + "name": "pages_blocks_brand_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_parent_id_fk": { + "name": "pages_blocks_brand_parent_id_fk", + "tableFrom": "pages_blocks_brand", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq_items": { + "name": "pages_blocks_faq_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "answer": { + "name": "answer", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_faq_items_order_idx": { + "name": "pages_blocks_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_parent_id_idx": { + "name": "pages_blocks_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_locale_idx": { + "name": "pages_blocks_faq_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_items_parent_id_fk": { + "name": "pages_blocks_faq_items_parent_id_fk", + "tableFrom": "pages_blocks_faq_items", + "tableTo": "pages_blocks_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq": { + "name": "pages_blocks_faq", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_faq_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_faq_order_idx": { + "name": "pages_blocks_faq_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_parent_id_idx": { + "name": "pages_blocks_faq_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_path_idx": { + "name": "pages_blocks_faq_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_locale_idx": { + "name": "pages_blocks_faq_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_parent_id_fk": { + "name": "pages_blocks_faq_parent_id_fk", + "tableFrom": "pages_blocks_faq", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta": { + "name": "pages_blocks_cta", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_label": { + "name": "cta_link_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_url": { + "name": "cta_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_order_idx": { + "name": "pages_blocks_cta_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_parent_id_idx": { + "name": "pages_blocks_cta_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_path_idx": { + "name": "pages_blocks_cta_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_locale_idx": { + "name": "pages_blocks_cta_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_parent_id_fk": { + "name": "pages_blocks_cta_parent_id_fk", + "tableFrom": "pages_blocks_cta", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_texts": { + "name": "pages_blocks_cta_image_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_texts_order_idx": { + "name": "pages_blocks_cta_image_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_parent_id_idx": { + "name": "pages_blocks_cta_image_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_locale_idx": { + "name": "pages_blocks_cta_image_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_texts_parent_id_fk": { + "name": "pages_blocks_cta_image_texts_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_texts", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_buttons": { + "name": "pages_blocks_cta_image_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_cta_image_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_cta_image_buttons_order_idx": { + "name": "pages_blocks_cta_image_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_parent_id_idx": { + "name": "pages_blocks_cta_image_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_locale_idx": { + "name": "pages_blocks_cta_image_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_buttons_parent_id_fk": { + "name": "pages_blocks_cta_image_buttons_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_buttons", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_image_mask": { + "name": "pages_blocks_cta_image_image_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_cta_image_image_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_image_mask_order_idx": { + "name": "pages_blocks_cta_image_image_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_parent_idx": { + "name": "pages_blocks_cta_image_image_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_locale_idx": { + "name": "pages_blocks_cta_image_image_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_mask_parent_fk": { + "name": "pages_blocks_cta_image_image_mask_parent_fk", + "tableFrom": "pages_blocks_cta_image_image_mask", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image": { + "name": "pages_blocks_cta_image", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_card": { + "name": "show_card", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_image_order_idx": { + "name": "pages_blocks_cta_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_parent_id_idx": { + "name": "pages_blocks_cta_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_path_idx": { + "name": "pages_blocks_cta_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_locale_idx": { + "name": "pages_blocks_cta_image_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_idx": { + "name": "pages_blocks_cta_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_id_media_id_fk": { + "name": "pages_blocks_cta_image_image_id_media_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_cta_image_parent_id_fk": { + "name": "pages_blocks_cta_image_parent_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_jobs": { + "name": "pages_blocks_jobs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Join Our Team'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search jobs'" + }, + "all_locations_label": { + "name": "all_locations_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All locations'" + }, + "all_job_types_label": { + "name": "all_job_types_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All job types'" + }, + "all_categories_label": { + "name": "all_categories_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All categories'" + }, + "no_jobs_found_label": { + "name": "no_jobs_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No jobs found for your filter.'" + }, + "application_heading": { + "name": "application_heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Apply now'" + }, + "application_name_label": { + "name": "application_name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "application_name_placeholder": { + "name": "application_name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "application_email_label": { + "name": "application_email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "application_email_placeholder": { + "name": "application_email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "application_message_label": { + "name": "application_message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "application_message_placeholder": { + "name": "application_message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Tell us a bit about yourself...'" + }, + "application_submit_label": { + "name": "application_submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send application'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_jobs_order_idx": { + "name": "pages_blocks_jobs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_parent_id_idx": { + "name": "pages_blocks_jobs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_path_idx": { + "name": "pages_blocks_jobs_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_locale_idx": { + "name": "pages_blocks_jobs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_jobs_parent_id_fk": { + "name": "pages_blocks_jobs_parent_id_fk", + "tableFrom": "pages_blocks_jobs", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog": { + "name": "pages_blocks_blog", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "view_other_blogs_label": { + "name": "view_other_blogs_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'View other blog posts'" + }, + "no_posts_label": { + "name": "no_posts_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No blog posts available.'" + }, + "load_more_label": { + "name": "load_more_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Load more'" + }, + "loading_label": { + "name": "loading_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Loading...'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_order_idx": { + "name": "pages_blocks_blog_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_parent_id_idx": { + "name": "pages_blocks_blog_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_path_idx": { + "name": "pages_blocks_blog_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_locale_idx": { + "name": "pages_blocks_blog_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_parent_id_fk": { + "name": "pages_blocks_blog_parent_id_fk", + "tableFrom": "pages_blocks_blog", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog_preview": { + "name": "pages_blocks_blog_preview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_blog_preview_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageCenter'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_preview_order_idx": { + "name": "pages_blocks_blog_preview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_parent_id_idx": { + "name": "pages_blocks_blog_preview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_path_idx": { + "name": "pages_blocks_blog_preview_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_locale_idx": { + "name": "pages_blocks_blog_preview_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_blog_idx": { + "name": "pages_blocks_blog_preview_blog_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_preview_blog_id_blog_id_fk": { + "name": "pages_blocks_blog_preview_blog_id_blog_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_blog_preview_parent_id_fk": { + "name": "pages_blocks_blog_preview_parent_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_border": { + "name": "pages_blocks_border", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "padding_top": { + "name": "padding_top", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "padding_bottom": { + "name": "padding_bottom", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_border_order_idx": { + "name": "pages_blocks_border_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_parent_id_idx": { + "name": "pages_blocks_border_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_path_idx": { + "name": "pages_blocks_border_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_locale_idx": { + "name": "pages_blocks_border_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_border_parent_id_fk": { + "name": "pages_blocks_border_parent_id_fk", + "tableFrom": "pages_blocks_border", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_actions": { + "name": "pages_blocks_actions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Actions'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Browse available actions and integrations.'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search actions'" + }, + "no_actions_found_label": { + "name": "no_actions_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No actions found for your search.'" + }, + "references_label": { + "name": "references_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'References'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_actions_order_idx": { + "name": "pages_blocks_actions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_parent_id_idx": { + "name": "pages_blocks_actions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_path_idx": { + "name": "pages_blocks_actions_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_locale_idx": { + "name": "pages_blocks_actions_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_actions_parent_id_fk": { + "name": "pages_blocks_actions_parent_id_fk", + "tableFrom": "pages_blocks_actions", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_markdown": { + "name": "pages_blocks_markdown", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_markdown_order_idx": { + "name": "pages_blocks_markdown_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_parent_id_idx": { + "name": "pages_blocks_markdown_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_path_idx": { + "name": "pages_blocks_markdown_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_locale_idx": { + "name": "pages_blocks_markdown_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_markdown_parent_id_fk": { + "name": "pages_blocks_markdown_parent_id_fk", + "tableFrom": "pages_blocks_markdown", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_contact": { + "name": "pages_blocks_contact", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Contact us'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "name_label": { + "name": "name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "name_placeholder": { + "name": "name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "email_label": { + "name": "email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "email_placeholder": { + "name": "email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "message_label": { + "name": "message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "message_placeholder": { + "name": "message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'How can we help you?'" + }, + "submit_label": { + "name": "submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send message'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_contact_order_idx": { + "name": "pages_blocks_contact_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_parent_id_idx": { + "name": "pages_blocks_contact_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_path_idx": { + "name": "pages_blocks_contact_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_locale_idx": { + "name": "pages_blocks_contact_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_contact_parent_id_fk": { + "name": "pages_blocks_contact_parent_id_fk", + "tableFrom": "pages_blocks_contact", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row_cards": { + "name": "pages_blocks_card_row_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_cards_order_idx": { + "name": "pages_blocks_card_row_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_parent_id_idx": { + "name": "pages_blocks_card_row_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_locale_idx": { + "name": "pages_blocks_card_row_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_image_idx": { + "name": "pages_blocks_card_row_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_cards_image_id_media_id_fk": { + "name": "pages_blocks_card_row_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_card_row_cards_parent_id_fk": { + "name": "pages_blocks_card_row_cards_parent_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "pages_blocks_card_row", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row": { + "name": "pages_blocks_card_row", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_card_row_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_order_idx": { + "name": "pages_blocks_card_row_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_parent_id_idx": { + "name": "pages_blocks_card_row_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_path_idx": { + "name": "pages_blocks_card_row_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_locale_idx": { + "name": "pages_blocks_card_row_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_parent_id_fk": { + "name": "pages_blocks_card_row_parent_id_fk", + "tableFrom": "pages_blocks_card_row", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap_items": { + "name": "pages_blocks_roadmap_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "time": { + "name": "time", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_roadmap_items_order_idx": { + "name": "pages_blocks_roadmap_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_parent_id_idx": { + "name": "pages_blocks_roadmap_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_locale_idx": { + "name": "pages_blocks_roadmap_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_items_parent_id_fk": { + "name": "pages_blocks_roadmap_items_parent_id_fk", + "tableFrom": "pages_blocks_roadmap_items", + "tableTo": "pages_blocks_roadmap", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap": { + "name": "pages_blocks_roadmap", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_roadmap_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_roadmap_order_idx": { + "name": "pages_blocks_roadmap_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_parent_id_idx": { + "name": "pages_blocks_roadmap_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_path_idx": { + "name": "pages_blocks_roadmap_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_locale_idx": { + "name": "pages_blocks_roadmap_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_parent_id_fk": { + "name": "pages_blocks_roadmap_parent_id_fk", + "tableFrom": "pages_blocks_roadmap", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards_items": { + "name": "pages_blocks_scroll_cards_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_scroll_cards_items_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_scroll_cards_items_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_items_order_idx": { + "name": "pages_blocks_scroll_cards_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_parent_id_idx": { + "name": "pages_blocks_scroll_cards_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_locale_idx": { + "name": "pages_blocks_scroll_cards_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_image_idx": { + "name": "pages_blocks_scroll_cards_items_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_items_image_id_media_id_fk": { + "name": "pages_blocks_scroll_cards_items_image_id_media_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_scroll_cards_items_parent_id_fk": { + "name": "pages_blocks_scroll_cards_items_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "pages_blocks_scroll_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards": { + "name": "pages_blocks_scroll_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_order_idx": { + "name": "pages_blocks_scroll_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_parent_id_idx": { + "name": "pages_blocks_scroll_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_path_idx": { + "name": "pages_blocks_scroll_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_locale_idx": { + "name": "pages_blocks_scroll_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_parent_id_fk": { + "name": "pages_blocks_scroll_cards_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_standalone_card": { + "name": "pages_blocks_standalone_card", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_standalone_card_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_standalone_card_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_standalone_card_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_standalone_card_order_idx": { + "name": "pages_blocks_standalone_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_parent_id_idx": { + "name": "pages_blocks_standalone_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_path_idx": { + "name": "pages_blocks_standalone_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_locale_idx": { + "name": "pages_blocks_standalone_card_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_image_idx": { + "name": "pages_blocks_standalone_card_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_standalone_card_image_id_media_id_fk": { + "name": "pages_blocks_standalone_card_image_id_media_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_standalone_card_parent_id_fk": { + "name": "pages_blocks_standalone_card_parent_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_video": { + "name": "pages_blocks_video", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "source_type": { + "name": "source_type", + "type": "enum_pages_blocks_video_source_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'url'" + }, + "video_url": { + "name": "video_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "video_id": { + "name": "video_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "poster_id": { + "name": "poster_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "controls": { + "name": "controls", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "auto_play": { + "name": "auto_play", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "muted": { + "name": "muted", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "loop": { + "name": "loop", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "plays_inline": { + "name": "plays_inline", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_video_order_idx": { + "name": "pages_blocks_video_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_parent_id_idx": { + "name": "pages_blocks_video_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_path_idx": { + "name": "pages_blocks_video_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_locale_idx": { + "name": "pages_blocks_video_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_video_idx": { + "name": "pages_blocks_video_video_idx", + "columns": [ + { + "expression": "video_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_poster_idx": { + "name": "pages_blocks_video_poster_idx", + "columns": [ + { + "expression": "poster_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_video_video_id_media_id_fk": { + "name": "pages_blocks_video_video_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "video_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_poster_id_media_id_fk": { + "name": "pages_blocks_video_poster_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "poster_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_parent_id_fk": { + "name": "pages_blocks_video_parent_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_mask": { + "name": "pages_blocks_widehero_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_widehero_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_mask_order_idx": { + "name": "pages_blocks_widehero_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_parent_idx": { + "name": "pages_blocks_widehero_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_locale_idx": { + "name": "pages_blocks_widehero_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_mask_parent_fk": { + "name": "pages_blocks_widehero_mask_parent_fk", + "tableFrom": "pages_blocks_widehero_mask", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_texts": { + "name": "pages_blocks_widehero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_texts_order_idx": { + "name": "pages_blocks_widehero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_parent_id_idx": { + "name": "pages_blocks_widehero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_locale_idx": { + "name": "pages_blocks_widehero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_texts_parent_id_fk": { + "name": "pages_blocks_widehero_texts_parent_id_fk", + "tableFrom": "pages_blocks_widehero_texts", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_buttons": { + "name": "pages_blocks_widehero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_widehero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_widehero_buttons_order_idx": { + "name": "pages_blocks_widehero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_parent_id_idx": { + "name": "pages_blocks_widehero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_locale_idx": { + "name": "pages_blocks_widehero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_buttons_parent_id_fk": { + "name": "pages_blocks_widehero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_widehero_buttons", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero": { + "name": "pages_blocks_widehero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "shine_colors_color1": { + "name": "shine_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color2": { + "name": "shine_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color3": { + "name": "shine_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_widehero_order_idx": { + "name": "pages_blocks_widehero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_parent_id_idx": { + "name": "pages_blocks_widehero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_path_idx": { + "name": "pages_blocks_widehero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_locale_idx": { + "name": "pages_blocks_widehero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_image_idx": { + "name": "pages_blocks_widehero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_image_id_media_id_fk": { + "name": "pages_blocks_widehero_image_id_media_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_widehero_parent_id_fk": { + "name": "pages_blocks_widehero_parent_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature_features": { + "name": "pages_blocks_list_feature_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_features_order_idx": { + "name": "pages_blocks_list_feature_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_parent_id_idx": { + "name": "pages_blocks_list_feature_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_locale_idx": { + "name": "pages_blocks_list_feature_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_features_parent_id_fk": { + "name": "pages_blocks_list_feature_features_parent_id_fk", + "tableFrom": "pages_blocks_list_feature_features", + "tableTo": "pages_blocks_list_feature", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature": { + "name": "pages_blocks_list_feature", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_list_feature_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_order_idx": { + "name": "pages_blocks_list_feature_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_parent_id_idx": { + "name": "pages_blocks_list_feature_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_path_idx": { + "name": "pages_blocks_list_feature_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_locale_idx": { + "name": "pages_blocks_list_feature_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_parent_id_fk": { + "name": "pages_blocks_list_feature_parent_id_fk", + "tableFrom": "pages_blocks_list_feature", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats_items": { + "name": "pages_blocks_stats_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "number": { + "name": "number", + "type": "numeric", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "enable_number_flow": { + "name": "enable_number_flow", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_plus": { + "name": "show_plus", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + } + }, + "indexes": { + "pages_blocks_stats_items_order_idx": { + "name": "pages_blocks_stats_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_parent_id_idx": { + "name": "pages_blocks_stats_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_locale_idx": { + "name": "pages_blocks_stats_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_items_parent_id_fk": { + "name": "pages_blocks_stats_items_parent_id_fk", + "tableFrom": "pages_blocks_stats_items", + "tableTo": "pages_blocks_stats", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats": { + "name": "pages_blocks_stats", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_stats_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_stats_order_idx": { + "name": "pages_blocks_stats_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_parent_id_idx": { + "name": "pages_blocks_stats_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_path_idx": { + "name": "pages_blocks_stats_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_locale_idx": { + "name": "pages_blocks_stats_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_parent_id_fk": { + "name": "pages_blocks_stats_parent_id_fk", + "tableFrom": "pages_blocks_stats", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example_flow_items": { + "name": "pages_blocks_flow_example_flow_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_flow_example_flow_items_order_idx": { + "name": "pages_blocks_flow_example_flow_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_parent_id_idx": { + "name": "pages_blocks_flow_example_flow_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_locale_idx": { + "name": "pages_blocks_flow_example_flow_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_flow_items_parent_id_fk": { + "name": "pages_blocks_flow_example_flow_items_parent_id_fk", + "tableFrom": "pages_blocks_flow_example_flow_items", + "tableTo": "pages_blocks_flow_example", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example": { + "name": "pages_blocks_flow_example", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_flow_example_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'flowCenter'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_heading": { + "name": "content_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_description": { + "name": "content_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "flow_trigger_icon": { + "name": "flow_trigger_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "flow_trigger_name": { + "name": "flow_trigger_name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_flow_example_order_idx": { + "name": "pages_blocks_flow_example_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_parent_id_idx": { + "name": "pages_blocks_flow_example_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_path_idx": { + "name": "pages_blocks_flow_example_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_locale_idx": { + "name": "pages_blocks_flow_example_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_parent_id_fk": { + "name": "pages_blocks_flow_example_parent_id_fk", + "tableFrom": "pages_blocks_flow_example", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages": { + "name": "pages", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_pages_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "pages_slug_idx": { + "name": "pages_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_updated_at_idx": { + "name": "pages_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_created_at_idx": { + "name": "pages_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_locales": { + "name": "pages_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_meta_meta_image_idx": { + "name": "pages_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_locales_locale_parent_id_unique": { + "name": "pages_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_locales_meta_image_id_media_id_fk": { + "name": "pages_locales_meta_image_id_media_id_fk", + "tableFrom": "pages_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_locales_parent_id_fk": { + "name": "pages_locales_parent_id_fk", + "tableFrom": "pages_locales", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_texts": { + "name": "pages_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_texts_order_parent": { + "name": "pages_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_texts_locale_parent": { + "name": "pages_texts_locale_parent", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_texts_parent_fk": { + "name": "pages_texts_parent_fk", + "tableFrom": "pages_texts", + "tableTo": "pages", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features": { + "name": "features", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_features_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "features_slug_idx": { + "name": "features_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_updated_at_idx": { + "name": "features_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_created_at_idx": { + "name": "features_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features_locales": { + "name": "features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "features_locales_locale_parent_id_unique": { + "name": "features_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "features_locales_parent_id_fk": { + "name": "features_locales_parent_id_fk", + "tableFrom": "features_locales", + "tableTo": "features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions": { + "name": "actions", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "trigger_id": { + "name": "trigger_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "functiondefinitions_id": { + "name": "functiondefinitions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "documentation_url": { + "name": "documentation_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "actions_slug_idx": { + "name": "actions_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_icon_idx": { + "name": "actions_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_trigger_idx": { + "name": "actions_trigger_idx", + "columns": [ + { + "expression": "trigger_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_functiondefinitions_idx": { + "name": "actions_functiondefinitions_idx", + "columns": [ + { + "expression": "functiondefinitions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_updated_at_idx": { + "name": "actions_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_created_at_idx": { + "name": "actions_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_icon_id_media_id_fk": { + "name": "actions_icon_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_trigger_id_media_id_fk": { + "name": "actions_trigger_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "trigger_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_functiondefinitions_id_media_id_fk": { + "name": "actions_functiondefinitions_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "functiondefinitions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_locales": { + "name": "actions_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "documentation_label": { + "name": "documentation_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "actions_locales_locale_parent_id_unique": { + "name": "actions_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_locales_parent_id_fk": { + "name": "actions_locales_parent_id_fk", + "tableFrom": "actions_locales", + "tableTo": "actions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_texts": { + "name": "actions_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_texts_order_parent": { + "name": "actions_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_texts_parent_fk": { + "name": "actions_texts_parent_fk", + "tableFrom": "actions_texts", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_rels": { + "name": "actions_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_rels_order_idx": { + "name": "actions_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_parent_idx": { + "name": "actions_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_path_idx": { + "name": "actions_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_actions_id_idx": { + "name": "actions_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_rels_parent_fk": { + "name": "actions_rels_parent_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "actions_rels_actions_fk": { + "name": "actions_rels_actions_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs": { + "name": "jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "category": { + "name": "category", + "type": "enum_jobs_category", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_jobs_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "location": { + "name": "location", + "type": "enum_jobs_location", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "jobs_slug_idx": { + "name": "jobs_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_updated_at_idx": { + "name": "jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_created_at_idx": { + "name": "jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs_locales": { + "name": "jobs_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "jobs_locales_locale_parent_id_unique": { + "name": "jobs_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "jobs_locales_parent_id_fk": { + "name": "jobs_locales_parent_id_fk", + "tableFrom": "jobs_locales", + "tableTo": "jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog": { + "name": "blog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "is_pinned": { + "name": "is_pinned", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "author_id": { + "name": "author_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "hero_image_id": { + "name": "hero_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "blog_slug_idx": { + "name": "blog_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_is_pinned_idx": { + "name": "blog_is_pinned_idx", + "columns": [ + { + "expression": "is_pinned", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_author_idx": { + "name": "blog_author_idx", + "columns": [ + { + "expression": "author_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_hero_image_idx": { + "name": "blog_hero_image_idx", + "columns": [ + { + "expression": "hero_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_updated_at_idx": { + "name": "blog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_created_at_idx": { + "name": "blog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_author_id_team_members_id_fk": { + "name": "blog_author_id_team_members_id_fk", + "tableFrom": "blog", + "tableTo": "team_members", + "columnsFrom": [ + "author_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_hero_image_id_media_id_fk": { + "name": "blog_hero_image_id_media_id_fk", + "tableFrom": "blog", + "tableTo": "media", + "columnsFrom": [ + "hero_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog_locales": { + "name": "blog_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "blog_meta_meta_image_idx": { + "name": "blog_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_locales_locale_parent_id_unique": { + "name": "blog_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_locales_meta_image_id_media_id_fk": { + "name": "blog_locales_meta_image_id_media_id_fk", + "tableFrom": "blog_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_locales_parent_id_fk": { + "name": "blog_locales_parent_id_fk", + "tableFrom": "blog_locales", + "tableTo": "blog", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members": { + "name": "team_members", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "joined_at": { + "name": "joined_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "team_members_image_idx": { + "name": "team_members_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_updated_at_idx": { + "name": "team_members_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_created_at_idx": { + "name": "team_members_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_image_id_media_id_fk": { + "name": "team_members_image_id_media_id_fk", + "tableFrom": "team_members", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members_locales": { + "name": "team_members_locales", + "schema": "", + "columns": { + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "about": { + "name": "about", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "role": { + "name": "role", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "team_members_locales_locale_parent_id_unique": { + "name": "team_members_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_locales_parent_id_fk": { + "name": "team_members_locales_parent_id_fk", + "tableFrom": "team_members_locales", + "tableTo": "team_members", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports": { + "name": "exports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "format": { + "name": "format", + "type": "enum_exports_format", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'csv'" + }, + "limit": { + "name": "limit", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "page": { + "name": "page", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + }, + "sort": { + "name": "sort", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sort_order": { + "name": "sort_order", + "type": "enum_exports_sort_order", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "enum_exports_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'all'" + }, + "drafts": { + "name": "drafts", + "type": "enum_exports_drafts", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yes'" + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "where": { + "name": "where", + "type": "jsonb", + "primaryKey": false, + "notNull": false, + "default": "'{}'::jsonb" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_updated_at_idx": { + "name": "exports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_created_at_idx": { + "name": "exports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_filename_idx": { + "name": "exports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports_texts": { + "name": "exports_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_texts_order_parent": { + "name": "exports_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "exports_texts_parent_fk": { + "name": "exports_texts_parent_fk", + "tableFrom": "exports_texts", + "tableTo": "exports", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.imports": { + "name": "imports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "import_mode": { + "name": "import_mode", + "type": "enum_imports_import_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "match_field": { + "name": "match_field", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'id'" + }, + "status": { + "name": "status", + "type": "enum_imports_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pending'" + }, + "summary_imported": { + "name": "summary_imported", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_updated": { + "name": "summary_updated", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_total": { + "name": "summary_total", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issues": { + "name": "summary_issues", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issue_details": { + "name": "summary_issue_details", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "imports_updated_at_idx": { + "name": "imports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_created_at_idx": { + "name": "imports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_filename_idx": { + "name": "imports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_ai_auditlog": { + "name": "payload_ai_auditlog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "action": { + "name": "action", + "type": "enum_payload_ai_auditlog_action", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "target_type": { + "name": "target_type", + "type": "enum_payload_ai_auditlog_target_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "collection": { + "name": "collection", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "document_i_d": { + "name": "document_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "target_u_r_l": { + "name": "target_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "additions": { + "name": "additions", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "removals": { + "name": "removals", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "before": { + "name": "before", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "after": { + "name": "after", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "proposal": { + "name": "proposal", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "prompt": { + "name": "prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "input_tokens": { + "name": "input_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "output_tokens": { + "name": "output_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "total_tokens": { + "name": "total_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "ai_response": { + "name": "ai_response", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_i_d": { + "name": "user_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_label": { + "name": "user_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_ai_auditlog_updated_at_idx": { + "name": "payload_ai_auditlog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_ai_auditlog_created_at_idx": { + "name": "payload_ai_auditlog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_kv": { + "name": "payload_kv", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "jsonb", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "payload_kv_key_idx": { + "name": "payload_kv_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs_log": { + "name": "payload_jobs_log", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "executed_at": { + "name": "executed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_log_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "task_i_d": { + "name": "task_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "output": { + "name": "output", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "enum_payload_jobs_log_state", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_jobs_log_order_idx": { + "name": "payload_jobs_log_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_log_parent_id_idx": { + "name": "payload_jobs_log_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_jobs_log_parent_id_fk": { + "name": "payload_jobs_log_parent_id_fk", + "tableFrom": "payload_jobs_log", + "tableTo": "payload_jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs": { + "name": "payload_jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "total_tried": { + "name": "total_tried", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "has_error": { + "name": "has_error", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "queue": { + "name": "queue", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "wait_until": { + "name": "wait_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "processing": { + "name": "processing", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_jobs_completed_at_idx": { + "name": "payload_jobs_completed_at_idx", + "columns": [ + { + "expression": "completed_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_total_tried_idx": { + "name": "payload_jobs_total_tried_idx", + "columns": [ + { + "expression": "total_tried", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_has_error_idx": { + "name": "payload_jobs_has_error_idx", + "columns": [ + { + "expression": "has_error", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_task_slug_idx": { + "name": "payload_jobs_task_slug_idx", + "columns": [ + { + "expression": "task_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_queue_idx": { + "name": "payload_jobs_queue_idx", + "columns": [ + { + "expression": "queue", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_wait_until_idx": { + "name": "payload_jobs_wait_until_idx", + "columns": [ + { + "expression": "wait_until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_processing_idx": { + "name": "payload_jobs_processing_idx", + "columns": [ + { + "expression": "processing", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_updated_at_idx": { + "name": "payload_jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_created_at_idx": { + "name": "payload_jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents": { + "name": "payload_locked_documents", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "global_slug": { + "name": "global_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_locked_documents_global_slug_idx": { + "name": "payload_locked_documents_global_slug_idx", + "columns": [ + { + "expression": "global_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_updated_at_idx": { + "name": "payload_locked_documents_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_created_at_idx": { + "name": "payload_locked_documents_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents_rels": { + "name": "payload_locked_documents_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "media_id": { + "name": "media_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "features_id": { + "name": "features_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "jobs_id": { + "name": "jobs_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "team_members_id": { + "name": "team_members_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "payload_ai_auditlog_id": { + "name": "payload_ai_auditlog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_locked_documents_rels_order_idx": { + "name": "payload_locked_documents_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_parent_idx": { + "name": "payload_locked_documents_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_path_idx": { + "name": "payload_locked_documents_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_users_id_idx": { + "name": "payload_locked_documents_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_media_id_idx": { + "name": "payload_locked_documents_rels_media_id_idx", + "columns": [ + { + "expression": "media_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_pages_id_idx": { + "name": "payload_locked_documents_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_features_id_idx": { + "name": "payload_locked_documents_rels_features_id_idx", + "columns": [ + { + "expression": "features_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_actions_id_idx": { + "name": "payload_locked_documents_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_jobs_id_idx": { + "name": "payload_locked_documents_rels_jobs_id_idx", + "columns": [ + { + "expression": "jobs_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_blog_id_idx": { + "name": "payload_locked_documents_rels_blog_id_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_team_members_id_idx": { + "name": "payload_locked_documents_rels_team_members_id_idx", + "columns": [ + { + "expression": "team_members_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_payload_ai_auditlog_id_idx": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_id_idx", + "columns": [ + { + "expression": "payload_ai_auditlog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_locked_documents_rels_parent_fk": { + "name": "payload_locked_documents_rels_parent_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_locked_documents", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_users_fk": { + "name": "payload_locked_documents_rels_users_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_media_fk": { + "name": "payload_locked_documents_rels_media_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "media", + "columnsFrom": [ + "media_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_pages_fk": { + "name": "payload_locked_documents_rels_pages_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_features_fk": { + "name": "payload_locked_documents_rels_features_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "features", + "columnsFrom": [ + "features_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_actions_fk": { + "name": "payload_locked_documents_rels_actions_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_jobs_fk": { + "name": "payload_locked_documents_rels_jobs_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "jobs", + "columnsFrom": [ + "jobs_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_blog_fk": { + "name": "payload_locked_documents_rels_blog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_team_members_fk": { + "name": "payload_locked_documents_rels_team_members_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "team_members", + "columnsFrom": [ + "team_members_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_payload_ai_auditlog_fk": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_ai_auditlog", + "columnsFrom": [ + "payload_ai_auditlog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences": { + "name": "payload_preferences", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "value": { + "name": "value", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_preferences_key_idx": { + "name": "payload_preferences_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_updated_at_idx": { + "name": "payload_preferences_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_created_at_idx": { + "name": "payload_preferences_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences_rels": { + "name": "payload_preferences_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_preferences_rels_order_idx": { + "name": "payload_preferences_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_parent_idx": { + "name": "payload_preferences_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_path_idx": { + "name": "payload_preferences_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_users_id_idx": { + "name": "payload_preferences_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_preferences_rels_parent_fk": { + "name": "payload_preferences_rels_parent_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "payload_preferences", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_preferences_rels_users_fk": { + "name": "payload_preferences_rels_users_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_migrations": { + "name": "payload_migrations", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "batch": { + "name": "batch", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_migrations_updated_at_idx": { + "name": "payload_migrations_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_migrations_created_at_idx": { + "name": "payload_migrations_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu": { + "name": "navigation_items_items_sub_menu", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_order_idx": { + "name": "navigation_items_items_sub_menu_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_sub_menu_parent_id_idx": { + "name": "navigation_items_items_sub_menu_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_parent_id_fk": { + "name": "navigation_items_items_sub_menu_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu_locales": { + "name": "navigation_items_items_sub_menu_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_locales_locale_parent_id_uni": { + "name": "navigation_items_items_sub_menu_locales_locale_parent_id_uni", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_locales_parent_id_fk": { + "name": "navigation_items_items_sub_menu_locales_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu_locales", + "tableTo": "navigation_items_items_sub_menu", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items": { + "name": "navigation_items_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + } + }, + "indexes": { + "navigation_items_items_order_idx": { + "name": "navigation_items_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_parent_id_idx": { + "name": "navigation_items_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_parent_id_fk": { + "name": "navigation_items_items_parent_id_fk", + "tableFrom": "navigation_items_items", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_locales": { + "name": "navigation_items_items_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_locales_locale_parent_id_unique": { + "name": "navigation_items_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_locales_parent_id_fk": { + "name": "navigation_items_items_locales_parent_id_fk", + "tableFrom": "navigation_items_items_locales", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons": { + "name": "navigation_buttons_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "new_tab": { + "name": "new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "variant": { + "name": "variant", + "type": "enum_navigation_buttons_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'normal'" + } + }, + "indexes": { + "navigation_buttons_buttons_order_idx": { + "name": "navigation_buttons_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_buttons_buttons_parent_id_idx": { + "name": "navigation_buttons_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_parent_id_fk": { + "name": "navigation_buttons_buttons_parent_id_fk", + "tableFrom": "navigation_buttons_buttons", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons_locales": { + "name": "navigation_buttons_buttons_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_buttons_buttons_locales_locale_parent_id_unique": { + "name": "navigation_buttons_buttons_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_locales_parent_id_fk": { + "name": "navigation_buttons_buttons_locales_parent_id_fk", + "tableFrom": "navigation_buttons_buttons_locales", + "tableTo": "navigation_buttons_buttons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation": { + "name": "navigation", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "navigation_logo_idx": { + "name": "navigation_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_logo_id_media_id_fk": { + "name": "navigation_logo_id_media_id_fk", + "tableFrom": "navigation", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_social_links": { + "name": "footer_social_links", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "platform": { + "name": "platform", + "type": "enum_footer_social_links_platform", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_social_links_order_idx": { + "name": "footer_social_links_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_social_links_parent_id_idx": { + "name": "footer_social_links_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_social_links_parent_id_fk": { + "name": "footer_social_links_parent_id_fk", + "tableFrom": "footer_social_links", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items": { + "name": "footer_groups_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_order_idx": { + "name": "footer_groups_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_items_parent_id_idx": { + "name": "footer_groups_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_parent_id_fk": { + "name": "footer_groups_items_parent_id_fk", + "tableFrom": "footer_groups_items", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items_locales": { + "name": "footer_groups_items_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_locales_locale_parent_id_unique": { + "name": "footer_groups_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_locales_parent_id_fk": { + "name": "footer_groups_items_locales_parent_id_fk", + "tableFrom": "footer_groups_items_locales", + "tableTo": "footer_groups_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups": { + "name": "footer_groups", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "footer_groups_order_idx": { + "name": "footer_groups_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_parent_id_idx": { + "name": "footer_groups_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_parent_id_fk": { + "name": "footer_groups_parent_id_fk", + "tableFrom": "footer_groups", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_locales": { + "name": "footer_groups_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_locales_locale_parent_id_unique": { + "name": "footer_groups_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_locales_parent_id_fk": { + "name": "footer_groups_locales_parent_id_fk", + "tableFrom": "footer_groups_locales", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer": { + "name": "footer", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "contact_email": { + "name": "contact_email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_url": { + "name": "legal_links_privacy_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/privacy'" + }, + "legal_links_legal_notice_url": { + "name": "legal_links_legal_notice_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/legal-notice'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "footer_image_idx": { + "name": "footer_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_image_id_media_id_fk": { + "name": "footer_image_id_media_id_fk", + "tableFrom": "footer", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_locales": { + "name": "footer_locales", + "schema": "", + "columns": { + "company_name": { + "name": "company_name", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'CodeZero GmbH'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_label": { + "name": "legal_links_privacy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Privacy Policy'" + }, + "legal_links_legal_notice_label": { + "name": "legal_links_legal_notice_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Legal Notice'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_locales_locale_parent_id_unique": { + "name": "footer_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_locales_parent_id_fk": { + "name": "footer_locales_parent_id_fk", + "tableFrom": "footer_locales", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner": { + "name": "cookie_banner", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner_locales": { + "name": "cookie_banner_locales", + "schema": "", + "columns": { + "common_accept_all": { + "name": "common_accept_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_reject_all": { + "name": "common_reject_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_customize": { + "name": "common_customize", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_save": { + "name": "common_save", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_title": { + "name": "cookie_banner_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_description": { + "name": "cookie_banner_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_title": { + "name": "consent_manager_dialog_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_description": { + "name": "consent_manager_dialog_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_title": { + "name": "consent_types_necessary_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_description": { + "name": "consent_types_necessary_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_title": { + "name": "consent_types_measurement_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_description": { + "name": "consent_types_measurement_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_title": { + "name": "consent_types_marketing_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_description": { + "name": "consent_types_marketing_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_label": { + "name": "legal_links_privacy_policy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_href": { + "name": "legal_links_privacy_policy_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_label": { + "name": "legal_links_terms_of_service_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_href": { + "name": "legal_links_terms_of_service_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "cookie_banner_locales_locale_parent_id_unique": { + "name": "cookie_banner_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "cookie_banner_locales_parent_id_fk": { + "name": "cookie_banner_locales_parent_id_fk", + "tableFrom": "cookie_banner_locales", + "tableTo": "cookie_banner", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview": { + "name": "subscription_config_feature_overview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_order_idx": { + "name": "subscription_config_feature_overview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_feature_overview_parent_id_idx": { + "name": "subscription_config_feature_overview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_parent_id_fk": { + "name": "subscription_config_feature_overview_parent_id_fk", + "tableFrom": "subscription_config_feature_overview", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview_locales": { + "name": "subscription_config_feature_overview_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_locales_locale_parent_i": { + "name": "subscription_config_feature_overview_locales_locale_parent_i", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_locales_parent_id_fk": { + "name": "subscription_config_feature_overview_locales_parent_id_fk", + "tableFrom": "subscription_config_feature_overview_locales", + "tableTo": "subscription_config_feature_overview", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types": { + "name": "subscription_config_workflow_calculator_business_types", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building'" + }, + "conversion_rate": { + "name": "conversion_rate", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_order_idx": { + "name": "subscription_config_workflow_calculator_business_types_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_workflow_calculator_business_types_parent_id_idx": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_parent_id_fk": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types_locales": { + "name": "subscription_config_workflow_calculator_business_types_locales", + "schema": "", + "columns": { + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "conversion_unit": { + "name": "conversion_unit", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'executions'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_local": { + "name": "subscription_config_workflow_calculator_business_types_local", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_lo_fk": { + "name": "subscription_config_workflow_calculator_business_types_lo_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types_locales", + "tableTo": "subscription_config_workflow_calculator_business_types", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features": { + "name": "subscription_config_additional_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + } + }, + "indexes": { + "subscription_config_additional_features_order_idx": { + "name": "subscription_config_additional_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_additional_features_parent_id_idx": { + "name": "subscription_config_additional_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_parent_id_fk": { + "name": "subscription_config_additional_features_parent_id_fk", + "tableFrom": "subscription_config_additional_features", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features_locales": { + "name": "subscription_config_additional_features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_additional_features_locales_locale_paren": { + "name": "subscription_config_additional_features_locales_locale_paren", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_locales_parent_id_fk": { + "name": "subscription_config_additional_features_locales_parent_id_fk", + "tableFrom": "subscription_config_additional_features_locales", + "tableTo": "subscription_config_additional_features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config": { + "name": "subscription_config", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription Config'" + }, + "defaults_deployment": { + "name": "defaults_deployment", + "type": "enum_subscription_config_defaults_deployment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'self-hosted'" + }, + "defaults_customer_type": { + "name": "defaults_customer_type", + "type": "enum_subscription_config_defaults_customer_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'b2b'" + }, + "defaults_payment_period": { + "name": "defaults_payment_period", + "type": "enum_subscription_config_defaults_payment_period", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'monthly'" + }, + "defaults_workflow_executions_b2b": { + "name": "defaults_workflow_executions_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "defaults_workflow_executions_b2c": { + "name": "defaults_workflow_executions_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "defaults_ai_tokens_b2b": { + "name": "defaults_ai_tokens_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "defaults_ai_tokens_b2c": { + "name": "defaults_ai_tokens_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "deployment_self_hosted_icon": { + "name": "deployment_self_hosted_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'server'" + }, + "deployment_self_hosted_color": { + "name": "deployment_self_hosted_color", + "type": "enum_subscription_config_deployment_self_hosted_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "deployment_cloud_icon": { + "name": "deployment_cloud_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'cloud'" + }, + "deployment_cloud_color": { + "name": "deployment_cloud_color", + "type": "enum_subscription_config_deployment_cloud_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "customer_type_b2b_icon": { + "name": "customer_type_b2b_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'briefcase-2'" + }, + "customer_type_b2b_color": { + "name": "customer_type_b2b_color", + "type": "enum_subscription_config_customer_type_b2b_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "customer_type_b2c_icon": { + "name": "customer_type_b2c_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building-store'" + }, + "customer_type_b2c_color": { + "name": "customer_type_b2c_color", + "type": "enum_subscription_config_customer_type_b2c_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pink'" + }, + "subscription_tier_pro_icon": { + "name": "subscription_tier_pro_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'sparkles'" + }, + "subscription_tier_pro_color": { + "name": "subscription_tier_pro_color", + "type": "enum_subscription_config_subscription_tier_pro_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'brand'" + }, + "subscription_tier_team_icon": { + "name": "subscription_tier_team_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users-group'" + }, + "subscription_tier_team_color": { + "name": "subscription_tier_team_color", + "type": "enum_subscription_config_subscription_tier_team_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "payment_period_quarterly_discount": { + "name": "payment_period_quarterly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "payment_period_yearly_discount": { + "name": "payment_period_yearly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "workflow_executions_b2b_step": { + "name": "workflow_executions_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "workflow_executions_b2b_min": { + "name": "workflow_executions_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 200 + }, + "workflow_executions_b2b_max": { + "name": "workflow_executions_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "workflow_executions_b2c_step": { + "name": "workflow_executions_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_min": { + "name": "workflow_executions_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_max": { + "name": "workflow_executions_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "workflow_execution_price_factor": { + "name": "workflow_execution_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.001 + }, + "ai_tokens_b2b_step": { + "name": "ai_tokens_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_min": { + "name": "ai_tokens_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_max": { + "name": "ai_tokens_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000000 + }, + "ai_tokens_b2c_step": { + "name": "ai_tokens_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_min": { + "name": "ai_tokens_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_max": { + "name": "ai_tokens_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "ai_token_price_factor": { + "name": "ai_token_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.000001 + }, + "contact_sales_href": { + "name": "contact_sales_href", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/contact'" + }, + "subscribe_base_url": { + "name": "subscribe_base_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "''" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_locales": { + "name": "subscription_config_locales", + "schema": "", + "columns": { + "page_intro_heading": { + "name": "page_intro_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Configure your setup before you talk pricing.'" + }, + "page_intro_description": { + "name": "page_intro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Pick your operating model, customer shape, and usage pattern. The right-hand side updates into a purchase-ready configuration flow instead of a generic pricing table.'" + }, + "options_panel_heading": { + "name": "options_panel_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Build the subscription shape'" + }, + "deployment_label": { + "name": "deployment_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deployment'" + }, + "deployment_self_hosted_title": { + "name": "deployment_self_hosted_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Self-hosted'" + }, + "deployment_self_hosted_description": { + "name": "deployment_self_hosted_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deploy on your own infrastructure with full operational control.'" + }, + "deployment_cloud_title": { + "name": "deployment_cloud_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cloud'" + }, + "deployment_cloud_description": { + "name": "deployment_cloud_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Use managed infrastructure with selectable runtime consumption.'" + }, + "customer_type_label": { + "name": "customer_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Customer Type'" + }, + "customer_type_b2b_title": { + "name": "customer_type_b2b_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2B'" + }, + "customer_type_b2b_description": { + "name": "customer_type_b2b_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Organization purchase flow with tailored commercial handling.'" + }, + "customer_type_b2c_title": { + "name": "customer_type_b2c_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2C'" + }, + "customer_type_b2c_description": { + "name": "customer_type_b2c_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Standardized subscription flow with directly selectable plans.'" + }, + "subscription_tier_label": { + "name": "subscription_tier_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription tier'" + }, + "subscription_tier_pro_title": { + "name": "subscription_tier_pro_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'PRO'" + }, + "subscription_tier_pro_description": { + "name": "subscription_tier_pro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Single-owner setup for advanced personal or expert workflows.'" + }, + "subscription_tier_team_title": { + "name": "subscription_tier_team_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'TEAM'" + }, + "subscription_tier_team_description": { + "name": "subscription_tier_team_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Shared workspace model with seat-based team access.'" + }, + "payment_period_label": { + "name": "payment_period_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Payment period'" + }, + "payment_period_description": { + "name": "payment_period_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Choose how often you want to be billed.'" + }, + "payment_period_monthly_text": { + "name": "payment_period_monthly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Monthly'" + }, + "payment_period_quarterly_text": { + "name": "payment_period_quarterly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Quarterly'" + }, + "payment_period_yearly_text": { + "name": "payment_period_yearly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Yearly'" + }, + "payment_period_monthly_period_suffix": { + "name": "payment_period_monthly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "payment_period_quarterly_period_suffix": { + "name": "payment_period_quarterly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per quarter'" + }, + "payment_period_yearly_period_suffix": { + "name": "payment_period_yearly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per year'" + }, + "workflow_executions_title": { + "name": "workflow_executions_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Workflow Executions'" + }, + "workflow_executions_description": { + "name": "workflow_executions_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many workflow executions do you expect per month?'" + }, + "workflow_executions_suffix": { + "name": "workflow_executions_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'exec'" + }, + "workflow_calculator_trigger_label": { + "name": "workflow_calculator_trigger_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate'" + }, + "workflow_calculator_title": { + "name": "workflow_calculator_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate workflow executions'" + }, + "workflow_calculator_description": { + "name": "workflow_calculator_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimate monthly volume from your active workflows and their average execution frequency.'" + }, + "workflow_calculator_close_label": { + "name": "workflow_calculator_close_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Close dialog'" + }, + "workflow_calculator_business_type_label": { + "name": "workflow_calculator_business_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Business type'" + }, + "workflow_calculator_business_type_search_placeholder": { + "name": "workflow_calculator_business_type_search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Search business types'" + }, + "workflow_calculator_no_business_types_found_label": { + "name": "workflow_calculator_no_business_types_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'No business types found.'" + }, + "workflow_calculator_active_workflows_label": { + "name": "workflow_calculator_active_workflows_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Active workflows'" + }, + "workflow_calculator_runs_per_day_label": { + "name": "workflow_calculator_runs_per_day_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Runs per month'" + }, + "workflow_calculator_days_per_month_label": { + "name": "workflow_calculator_days_per_month_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Days per month'" + }, + "workflow_calculator_estimate_label": { + "name": "workflow_calculator_estimate_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimated monthly volume'" + }, + "workflow_calculator_cancel_label": { + "name": "workflow_calculator_cancel_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cancel'" + }, + "workflow_calculator_apply_label": { + "name": "workflow_calculator_apply_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Apply value'" + }, + "ai_tokens_title": { + "name": "ai_tokens_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'AI Tokens'" + }, + "ai_tokens_description": { + "name": "ai_tokens_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many AI tokens do you expect to consume per month?'" + }, + "ai_tokens_suffix": { + "name": "ai_tokens_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'tokens'" + }, + "contact_sales_prompt": { + "name": "contact_sales_prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Need more?'" + }, + "contact_sales_label": { + "name": "contact_sales_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Contact sales'" + }, + "subscribe_label": { + "name": "subscribe_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Buy now'" + }, + "price_heading": { + "name": "price_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Price'" + }, + "price_caption": { + "name": "price_caption", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "additional_features_label": { + "name": "additional_features_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_locales_locale_parent_id_unique": { + "name": "subscription_config_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_locales_parent_id_fk": { + "name": "subscription_config_locales_parent_id_fk", + "tableFrom": "subscription_config_locales", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": { + "public._locales": { + "name": "_locales", + "schema": "public", + "values": [ + "en", + "de" + ] + }, + "public.enum_users_ai_provider": { + "name": "enum_users_ai_provider", + "schema": "public", + "values": [ + "claude", + "google", + "mistral", + "openai", + "openrouter" + ] + }, + "public.enum_pages_blocks_hero_buttons_variant": { + "name": "enum_pages_blocks_hero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_bento_section_layout": { + "name": "enum_pages_blocks_bento_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_bento_variant": { + "name": "enum_pages_blocks_bento_variant", + "schema": "public", + "values": [ + "feature", + "runtime" + ] + }, + "public.enum_pages_blocks_offset_cards_cards_mask": { + "name": "enum_pages_blocks_offset_cards_cards_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_section_layout": { + "name": "enum_pages_blocks_offset_cards_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_card_placement": { + "name": "enum_pages_blocks_offset_cards_card_placement", + "schema": "public", + "values": [ + "alternate", + "right", + "left" + ] + }, + "public.enum_pages_blocks_install_language": { + "name": "enum_pages_blocks_install_language", + "schema": "public", + "values": [ + "bsl", + "sdbl", + "abap", + "actionscript-3", + "ada", + "angular-html", + "angular-ts", + "apache", + "apex", + "apl", + "applescript", + "ara", + "asciidoc", + "razor", + "asm", + "astro", + "awk", + "ballerina", + "bat", + "beancount", + "berry", + "bibtex", + "bicep", + "bird2", + "blade", + "c", + "csharp", + "cpp", + "c3", + "cadence", + "cairo", + "clarity", + "clojure", + "soy", + "cmake", + "cobol", + "codeowners", + "codeql", + "coffee", + "common-lisp", + "coq", + "crystal", + "css", + "csv", + "cue", + "cypher", + "d", + "dart", + "dax", + "desktop", + "diff", + "docker", + "dotenv", + "dream-maker", + "edge", + "elixir", + "elm", + "emacs-lisp", + "erb", + "erlang", + "fsharp", + "fennel", + "fish", + "fluent", + "fortran-fixed-form", + "fortran-free-form", + "gdresource", + "gdscript", + "gdshader", + "genie", + "po", + "gherkin", + "git-commit", + "git-rebase", + "gleam", + "glimmer-js", + "glimmer-ts", + "glsl", + "gn", + "gnuplot", + "go", + "graphql", + "groovy", + "hack", + "handlebars", + "hcl", + "haskell", + "haxe", + "hjson", + "hlsl", + "html", + "html-derivative", + "http", + "hurl", + "hxml", + "hy", + "imba", + "ini", + "java", + "javascript", + "jinja", + "jison", + "json", + "jsonl", + "jsonc", + "json5", + "jsonnet", + "jssm", + "jsx", + "julia", + "just", + "kdl", + "kotlin", + "kusto", + "latex", + "lean", + "less", + "liquid", + "llvm", + "log", + "logo", + "lua", + "luau", + "make", + "markdown", + "marko", + "matlab", + "mdc", + "mdx", + "mermaid", + "mipsasm", + "mojo", + "moonbit", + "move", + "narrat", + "nextflow", + "nextflow-groovy", + "nginx", + "nim", + "nix", + "nushell", + "objective-c", + "objective-cpp", + "ocaml", + "odin", + "openscad", + "pascal", + "perl", + "php", + "pkl", + "plsql", + "polar", + "postcss", + "powerquery", + "powershell", + "prisma", + "prolog", + "proto", + "pug", + "puppet", + "purescript", + "python", + "qml", + "qmldir", + "qss", + "r", + "racket", + "raku", + "regexp", + "rel", + "rst", + "riscv", + "ron", + "rosmsg", + "ruby", + "haml", + "rust", + "sas", + "sass", + "scala", + "scheme", + "scss", + "shaderlab", + "shellscript", + "shellsession", + "smalltalk", + "solidity", + "sparql", + "splunk", + "sql", + "ssh-config", + "stata", + "stylus", + "surrealql", + "svelte", + "swift", + "systemd", + "system-verilog", + "talonscript", + "tasl", + "tcl", + "templ", + "terraform", + "tex", + "toml", + "tsv", + "tsx", + "turtle", + "twig", + "typescript", + "ts-tags", + "typespec", + "typst", + "v", + "vala", + "verilog", + "vhdl", + "viml", + "vb", + "vue", + "vue-html", + "vue-vine", + "vyper", + "wasm", + "wit", + "wenyan", + "wgsl", + "wikitext", + "reg", + "wolfram", + "xml", + "xsl", + "yaml", + "zenscript", + "zig" + ] + }, + "public.enum_pages_blocks_faq_section_layout": { + "name": "enum_pages_blocks_faq_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_cta_image_buttons_variant": { + "name": "enum_pages_blocks_cta_image_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_cta_image_image_mask": { + "name": "enum_pages_blocks_cta_image_image_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_blog_preview_section_layout": { + "name": "enum_pages_blocks_blog_preview_section_layout", + "schema": "public", + "values": [ + "imageCenter", + "imageLeft", + "imageRight" + ] + }, + "public.enum_pages_blocks_card_row_section_layout": { + "name": "enum_pages_blocks_card_row_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_roadmap_section_layout": { + "name": "enum_pages_blocks_roadmap_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_section_layout": { + "name": "enum_pages_blocks_scroll_cards_items_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient": { + "name": "enum_pages_blocks_scroll_cards_items_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient_direction": { + "name": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_standalone_card_section_layout": { + "name": "enum_pages_blocks_standalone_card_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient": { + "name": "enum_pages_blocks_standalone_card_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient_direction": { + "name": "enum_pages_blocks_standalone_card_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_video_source_type": { + "name": "enum_pages_blocks_video_source_type", + "schema": "public", + "values": [ + "url", + "media" + ] + }, + "public.enum_pages_blocks_widehero_mask": { + "name": "enum_pages_blocks_widehero_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_widehero_buttons_variant": { + "name": "enum_pages_blocks_widehero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_list_feature_section_layout": { + "name": "enum_pages_blocks_list_feature_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_stats_section_layout": { + "name": "enum_pages_blocks_stats_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_flow_example_section_layout": { + "name": "enum_pages_blocks_flow_example_section_layout", + "schema": "public", + "values": [ + "flowCenter", + "flowLeft", + "flowRight" + ] + }, + "public.enum_pages_slug": { + "name": "enum_pages_slug", + "schema": "public", + "values": [ + "main", + "jobs", + "blog", + "features", + "about-us", + "legal-notice", + "privacy", + "terms", + "open-source-no-code-automation", + "contact", + "actions", + "community-edition", + "enterprise-edition", + "subscription" + ] + }, + "public.enum_features_slug": { + "name": "enum_features_slug", + "schema": "public", + "values": [ + "projects", + "role-system", + "member-management", + "organizations", + "suggestion-menu", + "nodes", + "runtime-types", + "action-list" + ] + }, + "public.enum_jobs_category": { + "name": "enum_jobs_category", + "schema": "public", + "values": [ + "engineering", + "marketing", + "design", + "product", + "sales", + "operations" + ] + }, + "public.enum_jobs_type": { + "name": "enum_jobs_type", + "schema": "public", + "values": [ + "full-time", + "part-time", + "contract", + "internship", + "working-student", + "freelance" + ] + }, + "public.enum_jobs_location": { + "name": "enum_jobs_location", + "schema": "public", + "values": [ + "remote", + "hybrid", + "leipzig", + "solingen" + ] + }, + "public.enum_exports_format": { + "name": "enum_exports_format", + "schema": "public", + "values": [ + "csv", + "json" + ] + }, + "public.enum_exports_sort_order": { + "name": "enum_exports_sort_order", + "schema": "public", + "values": [ + "asc", + "desc" + ] + }, + "public.enum_exports_locale": { + "name": "enum_exports_locale", + "schema": "public", + "values": [ + "all", + "en", + "de" + ] + }, + "public.enum_exports_drafts": { + "name": "enum_exports_drafts", + "schema": "public", + "values": [ + "yes", + "no" + ] + }, + "public.enum_imports_import_mode": { + "name": "enum_imports_import_mode", + "schema": "public", + "values": [ + "create", + "update", + "upsert" + ] + }, + "public.enum_imports_status": { + "name": "enum_imports_status", + "schema": "public", + "values": [ + "pending", + "completed", + "partial", + "failed" + ] + }, + "public.enum_payload_ai_auditlog_action": { + "name": "enum_payload_ai_auditlog_action", + "schema": "public", + "values": [ + "create", + "update", + "delete", + "updateGlobal" + ] + }, + "public.enum_payload_ai_auditlog_target_type": { + "name": "enum_payload_ai_auditlog_target_type", + "schema": "public", + "values": [ + "collection", + "global" + ] + }, + "public.enum_payload_jobs_log_task_slug": { + "name": "enum_payload_jobs_log_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_payload_jobs_log_state": { + "name": "enum_payload_jobs_log_state", + "schema": "public", + "values": [ + "failed", + "succeeded" + ] + }, + "public.enum_payload_jobs_task_slug": { + "name": "enum_payload_jobs_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_navigation_buttons_buttons_variant": { + "name": "enum_navigation_buttons_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_footer_social_links_platform": { + "name": "enum_footer_social_links_platform", + "schema": "public", + "values": [ + "instagram", + "discord", + "x", + "linkedin", + "github" + ] + }, + "public.enum_subscription_config_defaults_deployment": { + "name": "enum_subscription_config_defaults_deployment", + "schema": "public", + "values": [ + "self-hosted", + "cloud" + ] + }, + "public.enum_subscription_config_defaults_customer_type": { + "name": "enum_subscription_config_defaults_customer_type", + "schema": "public", + "values": [ + "b2b", + "b2c" + ] + }, + "public.enum_subscription_config_defaults_payment_period": { + "name": "enum_subscription_config_defaults_payment_period", + "schema": "public", + "values": [ + "monthly", + "quarterly", + "yearly" + ] + }, + "public.enum_subscription_config_deployment_self_hosted_color": { + "name": "enum_subscription_config_deployment_self_hosted_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_deployment_cloud_color": { + "name": "enum_subscription_config_deployment_cloud_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2b_color": { + "name": "enum_subscription_config_customer_type_b2b_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2c_color": { + "name": "enum_subscription_config_customer_type_b2c_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_pro_color": { + "name": "enum_subscription_config_subscription_tier_pro_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_team_color": { + "name": "enum_subscription_config_subscription_tier_team_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + } + }, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "schemas": {}, + "tables": {}, + "columns": {} + }, + "id": "e664a874-346b-4234-b36a-baf93e411b63", + "prevId": "00000000-0000-0000-0000-000000000000" +} \ No newline at end of file diff --git a/src/migrations/20260720_123334_20260720_flow_example.ts b/src/migrations/20260720_123334_20260720_flow_example.ts new file mode 100644 index 00000000..d0cad524 --- /dev/null +++ b/src/migrations/20260720_123334_20260720_flow_example.ts @@ -0,0 +1,50 @@ +import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres' + +export async function up({ db, payload, req }: MigrateUpArgs): Promise { + await db.execute(sql` + CREATE TYPE "public"."enum_pages_blocks_flow_example_section_layout" AS ENUM('flowCenter', 'flowLeft', 'flowRight'); + CREATE TABLE "pages_blocks_flow_example_flow_items" ( + "_order" integer NOT NULL, + "_parent_id" varchar NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "icon" varchar NOT NULL, + "text" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_flow_example" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "section_heading" varchar, + "section_layout" "enum_pages_blocks_flow_example_section_layout" DEFAULT 'flowCenter' NOT NULL, + "section_description" varchar, + "section_link_button_label" varchar, + "section_link_button_url" varchar, + "content_heading" varchar, + "content_description" varchar, + "flow_trigger_icon" varchar NOT NULL, + "flow_trigger_name" varchar NOT NULL, + "show_border" boolean DEFAULT false, + "block_name" varchar + ); + + ALTER TABLE "pages_blocks_flow_example_flow_items" ADD CONSTRAINT "pages_blocks_flow_example_flow_items_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_flow_example"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_flow_example" ADD CONSTRAINT "pages_blocks_flow_example_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + CREATE INDEX "pages_blocks_flow_example_flow_items_order_idx" ON "pages_blocks_flow_example_flow_items" USING btree ("_order"); + CREATE INDEX "pages_blocks_flow_example_flow_items_parent_id_idx" ON "pages_blocks_flow_example_flow_items" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_flow_example_flow_items_locale_idx" ON "pages_blocks_flow_example_flow_items" USING btree ("_locale"); + CREATE INDEX "pages_blocks_flow_example_order_idx" ON "pages_blocks_flow_example" USING btree ("_order"); + CREATE INDEX "pages_blocks_flow_example_parent_id_idx" ON "pages_blocks_flow_example" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_flow_example_path_idx" ON "pages_blocks_flow_example" USING btree ("_path"); + CREATE INDEX "pages_blocks_flow_example_locale_idx" ON "pages_blocks_flow_example" USING btree ("_locale");`) +} + +export async function down({ db, payload, req }: MigrateDownArgs): Promise { + await db.execute(sql` + DROP TABLE "pages_blocks_flow_example_flow_items" CASCADE; + DROP TABLE "pages_blocks_flow_example" CASCADE; + DROP TYPE "public"."enum_pages_blocks_flow_example_section_layout";`) +} diff --git a/src/migrations/index.ts b/src/migrations/index.ts index dd2e904c..a2ac5d5b 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -38,6 +38,7 @@ import * as migration_20260709_183358_subscription_configurator_defaults from '. import * as migration_20260710_052024_subscription_payment_period_suffixes from './20260710_052024_subscription_payment_period_suffixes'; import * as migration_20260720_105407_20260720_stats_block from './20260720_105407_20260720_stats_block'; import * as migration_20260720_111300_20260720_stats_show_plus from './20260720_111300_20260720_stats_show_plus'; +import * as migration_20260720_123334_20260720_flow_example from './20260720_123334_20260720_flow_example'; export const migrations = [ { @@ -238,6 +239,11 @@ export const migrations = [ { up: migration_20260720_111300_20260720_stats_show_plus.up, down: migration_20260720_111300_20260720_stats_show_plus.down, - name: '20260720_111300_20260720_stats_show_plus' + name: '20260720_111300_20260720_stats_show_plus', + }, + { + up: migration_20260720_123334_20260720_flow_example.up, + down: migration_20260720_123334_20260720_flow_example.down, + name: '20260720_123334_20260720_flow_example' }, ]; diff --git a/src/payload-types.ts b/src/payload-types.ts index 6fb30683..ac28e90f 100644 --- a/src/payload-types.ts +++ b/src/payload-types.ts @@ -897,6 +897,34 @@ export interface Page { blockName?: string | null; blockType: 'stats'; } + | { + sectionHeading?: string | null; + sectionLayout: 'flowCenter' | 'flowLeft' | 'flowRight'; + sectionDescription?: string | null; + sectionLinkButton?: { + label?: string | null; + url?: string | null; + }; + contentHeading?: string | null; + contentDescription?: string | null; + flow: { + trigger: { + icon: string; + name: string; + }; + items?: + | { + icon: string; + text: string; + id?: string | null; + }[] + | null; + }; + showBorder?: boolean | null; + id?: string | null; + blockName?: string | null; + blockType: 'flowExample'; + } )[] | null; meta?: { @@ -1894,6 +1922,41 @@ export interface PagesSelect { id?: T; blockName?: T; }; + flowExample?: + | T + | { + sectionHeading?: T; + sectionLayout?: T; + sectionDescription?: T; + sectionLinkButton?: + | T + | { + label?: T; + url?: T; + }; + contentHeading?: T; + contentDescription?: T; + flow?: + | T + | { + trigger?: + | T + | { + icon?: T; + name?: T; + }; + items?: + | T + | { + icon?: T; + text?: T; + id?: T; + }; + }; + showBorder?: T; + id?: T; + blockName?: T; + }; }; meta?: | T From 5d604f23492e4c2ada7ed9095b0b17d742753064 Mon Sep 17 00:00:00 2001 From: mvriu5 Date: Tue, 21 Jul 2026 12:44:17 +0200 Subject: [PATCH 2/6] feat: improve exampleflow section --- src/blocks/FlowExampleBlock.ts | 45 +- src/components/animations/NodesAnimation.tsx | 83 +- src/components/blog/TriggerMarkdownBlock.tsx | 3 +- src/components/nodes/NodeDisplay.tsx | 83 + .../sections/FlowExampleSection.tsx | 76 +- .../sections/client/FlowExampleDiagram.tsx | 109 +- ...092035_20260721_flow_example_segments.json | 14082 ++++++++++++++++ ...1_092035_20260721_flow_example_segments.ts | 36 + src/migrations/index.ts | 8 +- src/payload-types.ts | 20 +- 10 files changed, 14406 insertions(+), 139 deletions(-) create mode 100644 src/components/nodes/NodeDisplay.tsx create mode 100644 src/migrations/20260721_092035_20260721_flow_example_segments.json create mode 100644 src/migrations/20260721_092035_20260721_flow_example_segments.ts diff --git a/src/blocks/FlowExampleBlock.ts b/src/blocks/FlowExampleBlock.ts index 5e256e2f..81f4e7ed 100644 --- a/src/blocks/FlowExampleBlock.ts +++ b/src/blocks/FlowExampleBlock.ts @@ -92,12 +92,49 @@ export const FlowExampleBlock: Block = { label: "Flow items", type: "array", fields: [ - flowIconField(), { - name: "text", - type: "text", + name: "color", + type: "select", required: true, - localized: true, + defaultValue: "brand", + options: [ + { label: "Brand", value: "brand" }, + { label: "Yellow", value: "yellow" }, + { label: "Aqua", value: "aqua" }, + { label: "Blue", value: "blue" }, + { label: "Pink", value: "pink" }, + ], + }, + { + name: "outline", + type: "checkbox", + defaultValue: true, + }, + { + name: "segments", + type: "array", + required: true, + minRows: 1, + fields: [ + { + name: "type", + type: "select", + required: true, + defaultValue: "text", + options: [ + { label: "Text", value: "text" }, + { label: "Literal", value: "literal" }, + { label: "Reference", value: "reference" }, + { label: "Node", value: "node" }, + ], + }, + { + name: "value", + type: "text", + required: true, + localized: true, + }, + ], }, ], }, diff --git a/src/components/animations/NodesAnimation.tsx b/src/components/animations/NodesAnimation.tsx index 0d45ebc8..51dc880a 100644 --- a/src/components/animations/NodesAnimation.tsx +++ b/src/components/animations/NodesAnimation.tsx @@ -1,71 +1,8 @@ "use client" -import { Card, Flex, Text } from "@code0-tech/pictor" -import { IconNote, IconVariable } from "@tabler/icons-react" +import { NodeDisplay, type NodeItem } from "@/components/nodes/NodeDisplay" import { useInView, useReducedMotion } from "motion/react" import { useEffect, useRef } from "react" -import { StableBadge } from "../ui/StableBadge" - -type NodeSegmentType = "text" | "literal" | "reference" | "node" -type NodeAccent = "brand" | "yellow" | "aqua" | "blue" | "pink" - -const ICON_COLOR_MAP: Record = { - brand: "var(--bg-brand)", - yellow: "var(--bg-yellow)", - aqua: "var(--bg-aqua)", - blue: "var(--bg-blue)", - pink: "var(--bg-pink)", -} - -export interface NodeSegment { - type: NodeSegmentType - value: string -} - -export interface NodeItem { - color: NodeAccent - segments: NodeSegment[] - outline: boolean -} - -function displayMessage(segments: NodeSegment[]) { - return segments.map((segment, index) => { - switch (segment.type) { - case "literal": - return ( - - - {segment.value} - - - ) - case "reference": - return ( - - - - {segment.value} - - - ) - case "node": - return ( - - - - {segment.value} - - - ) - case "text": - return ( - - {segment.value} - - ) - } - }) -} function NodeRow({ nodes, direction, active }: { nodes: NodeItem[]; direction: "left" | "right"; active: boolean }) { const animationRef = useRef(null) @@ -105,26 +42,12 @@ function NodeRow({ nodes, direction, active }: { nodes: NodeItem[]; direction: " >
{nodes.map((node, index) => ( - - - - - {displayMessage(node.segments)} - - - + ))}
diff --git a/src/components/blog/TriggerMarkdownBlock.tsx b/src/components/blog/TriggerMarkdownBlock.tsx index 8707f316..03d2d6d2 100644 --- a/src/components/blog/TriggerMarkdownBlock.tsx +++ b/src/components/blog/TriggerMarkdownBlock.tsx @@ -1,4 +1,5 @@ -import { NodesAnimation, type NodeItem, type NodeSegment } from "../animations/NodesAnimation" +import { NodesAnimation } from "../animations/NodesAnimation" +import type { NodeItem, NodeSegment } from "../nodes/NodeDisplay" interface TriggerMarkdownBlockProps { source: string diff --git a/src/components/nodes/NodeDisplay.tsx b/src/components/nodes/NodeDisplay.tsx new file mode 100644 index 00000000..634f54f8 --- /dev/null +++ b/src/components/nodes/NodeDisplay.tsx @@ -0,0 +1,83 @@ +"use client" + +import { StableBadge } from "@/components/ui/StableBadge" +import { Card, Flex, Text } from "@code0-tech/pictor" +import { IconNote, IconVariable } from "@tabler/icons-react" + +export type NodeSegmentType = "text" | "literal" | "reference" | "node" +export type NodeAccent = "brand" | "yellow" | "aqua" | "blue" | "pink" + +const ICON_COLOR_MAP: Record = { + brand: "var(--bg-brand)", + yellow: "var(--bg-yellow)", + aqua: "var(--bg-aqua)", + blue: "var(--bg-blue)", + pink: "var(--bg-pink)", +} + +export function getNodeAccentColor(accent: NodeAccent) { + return ICON_COLOR_MAP[accent] +} + +export interface NodeSegment { + type: NodeSegmentType + value: string +} + +export interface NodeItem { + color: NodeAccent + segments: NodeSegment[] + outline: boolean +} + +export function NodeMessage({ segments }: { segments: NodeSegment[] }) { + return segments.map((segment, index) => { + switch (segment.type) { + case "literal": + return ( + + + {segment.value} + + + ) + case "reference": + return ( + + + + {segment.value} + + + ) + case "node": + return ( + + + + {segment.value} + + + ) + case "text": + return ( + + {segment.value} + + ) + } + }) +} + +export function NodeDisplay({ node }: { node: NodeItem }) { + return ( + + + + + + + + + ) +} diff --git a/src/components/sections/FlowExampleSection.tsx b/src/components/sections/FlowExampleSection.tsx index 5743124a..f29506c1 100644 --- a/src/components/sections/FlowExampleSection.tsx +++ b/src/components/sections/FlowExampleSection.tsx @@ -1,10 +1,12 @@ import { getIcon } from "@/components/IconRenderer" import { StaggerContainer, StaggerItem } from "@/components/animations/Stagger" import { Card } from "@/components/ui/Card" +import { DotBackground } from "@/components/ui/DotBackground" import { Section } from "@/components/ui/Section" import type { FlowExampleLayoutBlock } from "@/lib/cms" import { cn } from "@/lib/utils" -import { FlowExampleDiagram, type FlowDiagramNode } from "./client/FlowExampleDiagram" +import type { NodeAccent, NodeSegmentType } from "@/components/nodes/NodeDisplay" +import { FlowExampleDiagram, type FlowDiagramItem, type FlowDiagramNode } from "./client/FlowExampleDiagram" interface FlowExampleSectionProps { content?: FlowExampleLayoutBlock | null @@ -19,27 +21,45 @@ export function FlowExampleSection({ content }: FlowExampleSectionProps) { icon: getIcon(trigger.icon, 20), text: trigger.name, } - const items: FlowDiagramNode[] = + const items: FlowDiagramItem[] = content.flow?.items?.map((item, index) => ({ id: String(item.id ?? index), - icon: getIcon(item.icon, 20, item.id ?? index), - text: item.text, + node: { + color: item.color as NodeAccent, + outline: item.outline !== false, + segments: item.segments.map((segment) => ({ + type: segment.type as NodeSegmentType, + value: segment.value, + })), + }, })) ?? [] const isCenter = content.sectionLayout === "flowCenter" const isRight = content.sectionLayout === "flowRight" + const showBorder = Boolean(content.showBorder) const flow = ( -
+
+
) const body = ( - + {content.contentHeading && ( {content.contentHeading} @@ -53,18 +73,32 @@ export function FlowExampleSection({ content }: FlowExampleSectionProps) { ) - const example =
{isCenter ? <>{flow}{(content.contentHeading || content.contentDescription) && body} : <>{flow}{body}}
+ const example = ( +
+ {isCenter ? ( + <> + {flow} + {(content.contentHeading || content.contentDescription) && body} + + ) : ( + <> + {flow} + {body} + + )} +
+ ) return ( -
+
- {content.showBorder ? {example} : example} + {showBorder ? ( + + {example} + + ) : ( + example + )}
) diff --git a/src/components/sections/client/FlowExampleDiagram.tsx b/src/components/sections/client/FlowExampleDiagram.tsx index 1e0e871c..68b3d176 100644 --- a/src/components/sections/client/FlowExampleDiagram.tsx +++ b/src/components/sections/client/FlowExampleDiagram.tsx @@ -1,6 +1,7 @@ "use client" -import { Card, Flex, Text } from "@code0-tech/pictor" +import { Text } from "@code0-tech/pictor" +import { getNodeAccentColor, NodeDisplay, type NodeItem } from "@/components/nodes/NodeDisplay" import { m as motion, useReducedMotion } from "motion/react" import type { ReactNode } from "react" @@ -10,28 +11,37 @@ export interface FlowDiagramNode { id: string } -function FlowNode({ node, trigger }: { node: FlowDiagramNode; trigger?: boolean }) { +export interface FlowDiagramItem { + id: string + node: NodeItem +} + +function FlowNode({ node }: { node: FlowDiagramNode }) { return ( - - - {node.icon} - - - {node.text} - - - - +
+
+ {node.icon} +
+ + {node.text} + +
) } -export function FlowExampleDiagram({ trigger, items }: { trigger: FlowDiagramNode; items: FlowDiagramNode[] }) { +export function FlowExampleDiagram({ trigger, items }: { trigger: FlowDiagramNode; items: FlowDiagramItem[] }) { const reducedMotion = useReducedMotion() - const nodes = [trigger, ...items] + const nodes = [{ id: trigger.id, trigger }, ...items] + const travelDuration = 1.2 + const stepDuration = 1.55 + const resetDuration = 0.25 + const cycleDuration = Math.max((items.length - 1) * stepDuration + travelDuration + 1.5, travelDuration + 1.5) + const resetStart = cycleDuration - resetDuration + const resetEnd = resetStart + 0.01 return (
)} @@ -65,7 +83,42 @@ export function FlowExampleDiagram({ trigger, items }: { trigger: FlowDiagramNod }} transition={{ duration: 0.38, delay: index * 0.2, ease: [0.22, 1, 0.36, 1] }} > - + {"trigger" in node ? ( + + ) : ( + + +
+ +
+
+ )}
))} diff --git a/src/migrations/20260721_092035_20260721_flow_example_segments.json b/src/migrations/20260721_092035_20260721_flow_example_segments.json new file mode 100644 index 00000000..0e9b3fd0 --- /dev/null +++ b/src/migrations/20260721_092035_20260721_flow_example_segments.json @@ -0,0 +1,14082 @@ +{ + "version": "7", + "dialect": "postgresql", + "tables": { + "public.users_sessions": { + "name": "users_sessions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "users_sessions_order_idx": { + "name": "users_sessions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_sessions_parent_id_idx": { + "name": "users_sessions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_sessions_parent_id_fk": { + "name": "users_sessions_parent_id_fk", + "tableFrom": "users_sessions", + "tableTo": "users", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.users": { + "name": "users", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "ai_provider": { + "name": "ai_provider", + "type": "enum_users_ai_provider", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'openai'" + }, + "ai_api_key": { + "name": "ai_api_key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "email": { + "name": "email", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "reset_password_token": { + "name": "reset_password_token", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "reset_password_expiration": { + "name": "reset_password_expiration", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "salt": { + "name": "salt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hash": { + "name": "hash", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "login_attempts": { + "name": "login_attempts", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "lock_until": { + "name": "lock_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "users_image_idx": { + "name": "users_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_updated_at_idx": { + "name": "users_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_created_at_idx": { + "name": "users_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_email_idx": { + "name": "users_email_idx", + "columns": [ + { + "expression": "email", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_image_id_media_id_fk": { + "name": "users_image_id_media_id_fk", + "tableFrom": "users", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.media": { + "name": "media", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "alt": { + "name": "alt", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "media_updated_at_idx": { + "name": "media_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_created_at_idx": { + "name": "media_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_filename_idx": { + "name": "media_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_texts": { + "name": "pages_blocks_hero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_hero_texts_order_idx": { + "name": "pages_blocks_hero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_parent_id_idx": { + "name": "pages_blocks_hero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_locale_idx": { + "name": "pages_blocks_hero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_texts_parent_id_fk": { + "name": "pages_blocks_hero_texts_parent_id_fk", + "tableFrom": "pages_blocks_hero_texts", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_buttons": { + "name": "pages_blocks_hero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_hero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_hero_buttons_order_idx": { + "name": "pages_blocks_hero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_parent_id_idx": { + "name": "pages_blocks_hero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_locale_idx": { + "name": "pages_blocks_hero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_buttons_parent_id_fk": { + "name": "pages_blocks_hero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_hero_buttons", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero": { + "name": "pages_blocks_hero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "centered": { + "name": "centered", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color1": { + "name": "grainient_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color2": { + "name": "grainient_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color3": { + "name": "grainient_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_background_color": { + "name": "grainient_colors_background_color", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_hero_order_idx": { + "name": "pages_blocks_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_parent_id_idx": { + "name": "pages_blocks_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_path_idx": { + "name": "pages_blocks_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_locale_idx": { + "name": "pages_blocks_hero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_image_idx": { + "name": "pages_blocks_hero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_image_id_media_id_fk": { + "name": "pages_blocks_hero_image_id_media_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_hero_parent_id_fk": { + "name": "pages_blocks_hero_parent_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_bento": { + "name": "pages_blocks_bento", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_bento_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_bento_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'feature'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_bento_order_idx": { + "name": "pages_blocks_bento_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_parent_id_idx": { + "name": "pages_blocks_bento_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_path_idx": { + "name": "pages_blocks_bento_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_locale_idx": { + "name": "pages_blocks_bento_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_bento_parent_id_fk": { + "name": "pages_blocks_bento_parent_id_fk", + "tableFrom": "pages_blocks_bento", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards_mask": { + "name": "pages_blocks_offset_cards_cards_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_offset_cards_cards_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_mask_order_idx": { + "name": "pages_blocks_offset_cards_cards_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_parent_idx": { + "name": "pages_blocks_offset_cards_cards_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_locale_idx": { + "name": "pages_blocks_offset_cards_cards_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_mask_parent_fk": { + "name": "pages_blocks_offset_cards_cards_mask_parent_fk", + "tableFrom": "pages_blocks_offset_cards_cards_mask", + "tableTo": "pages_blocks_offset_cards_cards", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards": { + "name": "pages_blocks_offset_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_order_idx": { + "name": "pages_blocks_offset_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_locale_idx": { + "name": "pages_blocks_offset_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_image_idx": { + "name": "pages_blocks_offset_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_offset_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_offset_cards_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "pages_blocks_offset_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards": { + "name": "pages_blocks_offset_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_offset_cards_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "card_placement": { + "name": "card_placement", + "type": "enum_pages_blocks_offset_cards_card_placement", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'alternate'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_order_idx": { + "name": "pages_blocks_offset_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_path_idx": { + "name": "pages_blocks_offset_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_locale_idx": { + "name": "pages_blocks_offset_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_install": { + "name": "pages_blocks_install", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "language": { + "name": "language", + "type": "enum_pages_blocks_install_language", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "code": { + "name": "code", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_install_order_idx": { + "name": "pages_blocks_install_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_parent_id_idx": { + "name": "pages_blocks_install_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_path_idx": { + "name": "pages_blocks_install_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_locale_idx": { + "name": "pages_blocks_install_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_install_parent_id_fk": { + "name": "pages_blocks_install_parent_id_fk", + "tableFrom": "pages_blocks_install", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards_cards": { + "name": "pages_blocks_swipe_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_cards_order_idx": { + "name": "pages_blocks_swipe_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_image_idx": { + "name": "pages_blocks_swipe_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_swipe_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_swipe_cards_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "pages_blocks_swipe_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards": { + "name": "pages_blocks_swipe_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_order_idx": { + "name": "pages_blocks_swipe_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_path_idx": { + "name": "pages_blocks_swipe_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand_logos": { + "name": "pages_blocks_brand_logos", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_brand_logos_order_idx": { + "name": "pages_blocks_brand_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_parent_id_idx": { + "name": "pages_blocks_brand_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_locale_idx": { + "name": "pages_blocks_brand_logos_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_logo_idx": { + "name": "pages_blocks_brand_logos_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_logos_logo_id_media_id_fk": { + "name": "pages_blocks_brand_logos_logo_id_media_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_brand_logos_parent_id_fk": { + "name": "pages_blocks_brand_logos_parent_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "pages_blocks_brand", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand": { + "name": "pages_blocks_brand", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_brand_order_idx": { + "name": "pages_blocks_brand_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_parent_id_idx": { + "name": "pages_blocks_brand_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_path_idx": { + "name": "pages_blocks_brand_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_locale_idx": { + "name": "pages_blocks_brand_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_parent_id_fk": { + "name": "pages_blocks_brand_parent_id_fk", + "tableFrom": "pages_blocks_brand", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq_items": { + "name": "pages_blocks_faq_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "answer": { + "name": "answer", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_faq_items_order_idx": { + "name": "pages_blocks_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_parent_id_idx": { + "name": "pages_blocks_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_locale_idx": { + "name": "pages_blocks_faq_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_items_parent_id_fk": { + "name": "pages_blocks_faq_items_parent_id_fk", + "tableFrom": "pages_blocks_faq_items", + "tableTo": "pages_blocks_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq": { + "name": "pages_blocks_faq", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_faq_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_faq_order_idx": { + "name": "pages_blocks_faq_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_parent_id_idx": { + "name": "pages_blocks_faq_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_path_idx": { + "name": "pages_blocks_faq_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_locale_idx": { + "name": "pages_blocks_faq_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_parent_id_fk": { + "name": "pages_blocks_faq_parent_id_fk", + "tableFrom": "pages_blocks_faq", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta": { + "name": "pages_blocks_cta", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_label": { + "name": "cta_link_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_url": { + "name": "cta_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_order_idx": { + "name": "pages_blocks_cta_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_parent_id_idx": { + "name": "pages_blocks_cta_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_path_idx": { + "name": "pages_blocks_cta_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_locale_idx": { + "name": "pages_blocks_cta_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_parent_id_fk": { + "name": "pages_blocks_cta_parent_id_fk", + "tableFrom": "pages_blocks_cta", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_texts": { + "name": "pages_blocks_cta_image_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_texts_order_idx": { + "name": "pages_blocks_cta_image_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_parent_id_idx": { + "name": "pages_blocks_cta_image_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_locale_idx": { + "name": "pages_blocks_cta_image_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_texts_parent_id_fk": { + "name": "pages_blocks_cta_image_texts_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_texts", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_buttons": { + "name": "pages_blocks_cta_image_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_cta_image_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_cta_image_buttons_order_idx": { + "name": "pages_blocks_cta_image_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_parent_id_idx": { + "name": "pages_blocks_cta_image_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_locale_idx": { + "name": "pages_blocks_cta_image_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_buttons_parent_id_fk": { + "name": "pages_blocks_cta_image_buttons_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_buttons", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_image_mask": { + "name": "pages_blocks_cta_image_image_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_cta_image_image_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_image_mask_order_idx": { + "name": "pages_blocks_cta_image_image_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_parent_idx": { + "name": "pages_blocks_cta_image_image_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_locale_idx": { + "name": "pages_blocks_cta_image_image_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_mask_parent_fk": { + "name": "pages_blocks_cta_image_image_mask_parent_fk", + "tableFrom": "pages_blocks_cta_image_image_mask", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image": { + "name": "pages_blocks_cta_image", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_card": { + "name": "show_card", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_image_order_idx": { + "name": "pages_blocks_cta_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_parent_id_idx": { + "name": "pages_blocks_cta_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_path_idx": { + "name": "pages_blocks_cta_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_locale_idx": { + "name": "pages_blocks_cta_image_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_idx": { + "name": "pages_blocks_cta_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_id_media_id_fk": { + "name": "pages_blocks_cta_image_image_id_media_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_cta_image_parent_id_fk": { + "name": "pages_blocks_cta_image_parent_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_jobs": { + "name": "pages_blocks_jobs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Join Our Team'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search jobs'" + }, + "all_locations_label": { + "name": "all_locations_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All locations'" + }, + "all_job_types_label": { + "name": "all_job_types_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All job types'" + }, + "all_categories_label": { + "name": "all_categories_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All categories'" + }, + "no_jobs_found_label": { + "name": "no_jobs_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No jobs found for your filter.'" + }, + "application_heading": { + "name": "application_heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Apply now'" + }, + "application_name_label": { + "name": "application_name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "application_name_placeholder": { + "name": "application_name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "application_email_label": { + "name": "application_email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "application_email_placeholder": { + "name": "application_email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "application_message_label": { + "name": "application_message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "application_message_placeholder": { + "name": "application_message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Tell us a bit about yourself...'" + }, + "application_submit_label": { + "name": "application_submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send application'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_jobs_order_idx": { + "name": "pages_blocks_jobs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_parent_id_idx": { + "name": "pages_blocks_jobs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_path_idx": { + "name": "pages_blocks_jobs_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_locale_idx": { + "name": "pages_blocks_jobs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_jobs_parent_id_fk": { + "name": "pages_blocks_jobs_parent_id_fk", + "tableFrom": "pages_blocks_jobs", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog": { + "name": "pages_blocks_blog", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "view_other_blogs_label": { + "name": "view_other_blogs_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'View other blog posts'" + }, + "no_posts_label": { + "name": "no_posts_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No blog posts available.'" + }, + "load_more_label": { + "name": "load_more_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Load more'" + }, + "loading_label": { + "name": "loading_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Loading...'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_order_idx": { + "name": "pages_blocks_blog_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_parent_id_idx": { + "name": "pages_blocks_blog_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_path_idx": { + "name": "pages_blocks_blog_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_locale_idx": { + "name": "pages_blocks_blog_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_parent_id_fk": { + "name": "pages_blocks_blog_parent_id_fk", + "tableFrom": "pages_blocks_blog", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog_preview": { + "name": "pages_blocks_blog_preview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_blog_preview_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageCenter'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_preview_order_idx": { + "name": "pages_blocks_blog_preview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_parent_id_idx": { + "name": "pages_blocks_blog_preview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_path_idx": { + "name": "pages_blocks_blog_preview_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_locale_idx": { + "name": "pages_blocks_blog_preview_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_blog_idx": { + "name": "pages_blocks_blog_preview_blog_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_preview_blog_id_blog_id_fk": { + "name": "pages_blocks_blog_preview_blog_id_blog_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_blog_preview_parent_id_fk": { + "name": "pages_blocks_blog_preview_parent_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_border": { + "name": "pages_blocks_border", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "padding_top": { + "name": "padding_top", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "padding_bottom": { + "name": "padding_bottom", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_border_order_idx": { + "name": "pages_blocks_border_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_parent_id_idx": { + "name": "pages_blocks_border_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_path_idx": { + "name": "pages_blocks_border_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_locale_idx": { + "name": "pages_blocks_border_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_border_parent_id_fk": { + "name": "pages_blocks_border_parent_id_fk", + "tableFrom": "pages_blocks_border", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_actions": { + "name": "pages_blocks_actions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Actions'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Browse available actions and integrations.'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search actions'" + }, + "no_actions_found_label": { + "name": "no_actions_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No actions found for your search.'" + }, + "references_label": { + "name": "references_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'References'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_actions_order_idx": { + "name": "pages_blocks_actions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_parent_id_idx": { + "name": "pages_blocks_actions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_path_idx": { + "name": "pages_blocks_actions_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_locale_idx": { + "name": "pages_blocks_actions_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_actions_parent_id_fk": { + "name": "pages_blocks_actions_parent_id_fk", + "tableFrom": "pages_blocks_actions", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_markdown": { + "name": "pages_blocks_markdown", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_markdown_order_idx": { + "name": "pages_blocks_markdown_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_parent_id_idx": { + "name": "pages_blocks_markdown_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_path_idx": { + "name": "pages_blocks_markdown_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_locale_idx": { + "name": "pages_blocks_markdown_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_markdown_parent_id_fk": { + "name": "pages_blocks_markdown_parent_id_fk", + "tableFrom": "pages_blocks_markdown", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_contact": { + "name": "pages_blocks_contact", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Contact us'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "name_label": { + "name": "name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "name_placeholder": { + "name": "name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "email_label": { + "name": "email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "email_placeholder": { + "name": "email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "message_label": { + "name": "message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "message_placeholder": { + "name": "message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'How can we help you?'" + }, + "submit_label": { + "name": "submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send message'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_contact_order_idx": { + "name": "pages_blocks_contact_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_parent_id_idx": { + "name": "pages_blocks_contact_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_path_idx": { + "name": "pages_blocks_contact_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_locale_idx": { + "name": "pages_blocks_contact_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_contact_parent_id_fk": { + "name": "pages_blocks_contact_parent_id_fk", + "tableFrom": "pages_blocks_contact", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row_cards": { + "name": "pages_blocks_card_row_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_cards_order_idx": { + "name": "pages_blocks_card_row_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_parent_id_idx": { + "name": "pages_blocks_card_row_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_locale_idx": { + "name": "pages_blocks_card_row_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_image_idx": { + "name": "pages_blocks_card_row_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_cards_image_id_media_id_fk": { + "name": "pages_blocks_card_row_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_card_row_cards_parent_id_fk": { + "name": "pages_blocks_card_row_cards_parent_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "pages_blocks_card_row", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row": { + "name": "pages_blocks_card_row", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_card_row_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_order_idx": { + "name": "pages_blocks_card_row_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_parent_id_idx": { + "name": "pages_blocks_card_row_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_path_idx": { + "name": "pages_blocks_card_row_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_locale_idx": { + "name": "pages_blocks_card_row_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_parent_id_fk": { + "name": "pages_blocks_card_row_parent_id_fk", + "tableFrom": "pages_blocks_card_row", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap_items": { + "name": "pages_blocks_roadmap_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "time": { + "name": "time", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_roadmap_items_order_idx": { + "name": "pages_blocks_roadmap_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_parent_id_idx": { + "name": "pages_blocks_roadmap_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_locale_idx": { + "name": "pages_blocks_roadmap_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_items_parent_id_fk": { + "name": "pages_blocks_roadmap_items_parent_id_fk", + "tableFrom": "pages_blocks_roadmap_items", + "tableTo": "pages_blocks_roadmap", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap": { + "name": "pages_blocks_roadmap", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_roadmap_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_roadmap_order_idx": { + "name": "pages_blocks_roadmap_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_parent_id_idx": { + "name": "pages_blocks_roadmap_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_path_idx": { + "name": "pages_blocks_roadmap_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_locale_idx": { + "name": "pages_blocks_roadmap_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_parent_id_fk": { + "name": "pages_blocks_roadmap_parent_id_fk", + "tableFrom": "pages_blocks_roadmap", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards_items": { + "name": "pages_blocks_scroll_cards_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_scroll_cards_items_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_scroll_cards_items_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_items_order_idx": { + "name": "pages_blocks_scroll_cards_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_parent_id_idx": { + "name": "pages_blocks_scroll_cards_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_locale_idx": { + "name": "pages_blocks_scroll_cards_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_image_idx": { + "name": "pages_blocks_scroll_cards_items_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_items_image_id_media_id_fk": { + "name": "pages_blocks_scroll_cards_items_image_id_media_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_scroll_cards_items_parent_id_fk": { + "name": "pages_blocks_scroll_cards_items_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "pages_blocks_scroll_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards": { + "name": "pages_blocks_scroll_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_order_idx": { + "name": "pages_blocks_scroll_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_parent_id_idx": { + "name": "pages_blocks_scroll_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_path_idx": { + "name": "pages_blocks_scroll_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_locale_idx": { + "name": "pages_blocks_scroll_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_parent_id_fk": { + "name": "pages_blocks_scroll_cards_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_standalone_card": { + "name": "pages_blocks_standalone_card", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_standalone_card_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_standalone_card_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_standalone_card_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_standalone_card_order_idx": { + "name": "pages_blocks_standalone_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_parent_id_idx": { + "name": "pages_blocks_standalone_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_path_idx": { + "name": "pages_blocks_standalone_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_locale_idx": { + "name": "pages_blocks_standalone_card_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_image_idx": { + "name": "pages_blocks_standalone_card_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_standalone_card_image_id_media_id_fk": { + "name": "pages_blocks_standalone_card_image_id_media_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_standalone_card_parent_id_fk": { + "name": "pages_blocks_standalone_card_parent_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_video": { + "name": "pages_blocks_video", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "source_type": { + "name": "source_type", + "type": "enum_pages_blocks_video_source_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'url'" + }, + "video_url": { + "name": "video_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "video_id": { + "name": "video_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "poster_id": { + "name": "poster_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "controls": { + "name": "controls", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "auto_play": { + "name": "auto_play", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "muted": { + "name": "muted", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "loop": { + "name": "loop", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "plays_inline": { + "name": "plays_inline", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_video_order_idx": { + "name": "pages_blocks_video_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_parent_id_idx": { + "name": "pages_blocks_video_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_path_idx": { + "name": "pages_blocks_video_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_locale_idx": { + "name": "pages_blocks_video_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_video_idx": { + "name": "pages_blocks_video_video_idx", + "columns": [ + { + "expression": "video_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_poster_idx": { + "name": "pages_blocks_video_poster_idx", + "columns": [ + { + "expression": "poster_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_video_video_id_media_id_fk": { + "name": "pages_blocks_video_video_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "video_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_poster_id_media_id_fk": { + "name": "pages_blocks_video_poster_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "poster_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_parent_id_fk": { + "name": "pages_blocks_video_parent_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_mask": { + "name": "pages_blocks_widehero_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_widehero_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_mask_order_idx": { + "name": "pages_blocks_widehero_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_parent_idx": { + "name": "pages_blocks_widehero_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_locale_idx": { + "name": "pages_blocks_widehero_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_mask_parent_fk": { + "name": "pages_blocks_widehero_mask_parent_fk", + "tableFrom": "pages_blocks_widehero_mask", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_texts": { + "name": "pages_blocks_widehero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_texts_order_idx": { + "name": "pages_blocks_widehero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_parent_id_idx": { + "name": "pages_blocks_widehero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_locale_idx": { + "name": "pages_blocks_widehero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_texts_parent_id_fk": { + "name": "pages_blocks_widehero_texts_parent_id_fk", + "tableFrom": "pages_blocks_widehero_texts", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_buttons": { + "name": "pages_blocks_widehero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_widehero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_widehero_buttons_order_idx": { + "name": "pages_blocks_widehero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_parent_id_idx": { + "name": "pages_blocks_widehero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_locale_idx": { + "name": "pages_blocks_widehero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_buttons_parent_id_fk": { + "name": "pages_blocks_widehero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_widehero_buttons", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero": { + "name": "pages_blocks_widehero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "shine_colors_color1": { + "name": "shine_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color2": { + "name": "shine_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color3": { + "name": "shine_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_widehero_order_idx": { + "name": "pages_blocks_widehero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_parent_id_idx": { + "name": "pages_blocks_widehero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_path_idx": { + "name": "pages_blocks_widehero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_locale_idx": { + "name": "pages_blocks_widehero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_image_idx": { + "name": "pages_blocks_widehero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_image_id_media_id_fk": { + "name": "pages_blocks_widehero_image_id_media_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_widehero_parent_id_fk": { + "name": "pages_blocks_widehero_parent_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature_features": { + "name": "pages_blocks_list_feature_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_features_order_idx": { + "name": "pages_blocks_list_feature_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_parent_id_idx": { + "name": "pages_blocks_list_feature_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_locale_idx": { + "name": "pages_blocks_list_feature_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_features_parent_id_fk": { + "name": "pages_blocks_list_feature_features_parent_id_fk", + "tableFrom": "pages_blocks_list_feature_features", + "tableTo": "pages_blocks_list_feature", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature": { + "name": "pages_blocks_list_feature", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_list_feature_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_order_idx": { + "name": "pages_blocks_list_feature_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_parent_id_idx": { + "name": "pages_blocks_list_feature_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_path_idx": { + "name": "pages_blocks_list_feature_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_locale_idx": { + "name": "pages_blocks_list_feature_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_parent_id_fk": { + "name": "pages_blocks_list_feature_parent_id_fk", + "tableFrom": "pages_blocks_list_feature", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats_items": { + "name": "pages_blocks_stats_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "number": { + "name": "number", + "type": "numeric", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "enable_number_flow": { + "name": "enable_number_flow", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_plus": { + "name": "show_plus", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + } + }, + "indexes": { + "pages_blocks_stats_items_order_idx": { + "name": "pages_blocks_stats_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_parent_id_idx": { + "name": "pages_blocks_stats_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_locale_idx": { + "name": "pages_blocks_stats_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_items_parent_id_fk": { + "name": "pages_blocks_stats_items_parent_id_fk", + "tableFrom": "pages_blocks_stats_items", + "tableTo": "pages_blocks_stats", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats": { + "name": "pages_blocks_stats", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_stats_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_stats_order_idx": { + "name": "pages_blocks_stats_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_parent_id_idx": { + "name": "pages_blocks_stats_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_path_idx": { + "name": "pages_blocks_stats_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_locale_idx": { + "name": "pages_blocks_stats_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_parent_id_fk": { + "name": "pages_blocks_stats_parent_id_fk", + "tableFrom": "pages_blocks_stats", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example_flow_items_segments": { + "name": "pages_blocks_flow_example_flow_items_segments", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_pages_blocks_flow_example_flow_items_segments_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'text'" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_flow_example_flow_items_segments_order_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_segments_parent_id_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_segments_locale_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_flow_items_segments_parent_id_fk": { + "name": "pages_blocks_flow_example_flow_items_segments_parent_id_fk", + "tableFrom": "pages_blocks_flow_example_flow_items_segments", + "tableTo": "pages_blocks_flow_example_flow_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example_flow_items": { + "name": "pages_blocks_flow_example_flow_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "color": { + "name": "color", + "type": "enum_pages_blocks_flow_example_flow_items_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'brand'" + }, + "outline": { + "name": "outline", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + } + }, + "indexes": { + "pages_blocks_flow_example_flow_items_order_idx": { + "name": "pages_blocks_flow_example_flow_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_parent_id_idx": { + "name": "pages_blocks_flow_example_flow_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_locale_idx": { + "name": "pages_blocks_flow_example_flow_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_flow_items_parent_id_fk": { + "name": "pages_blocks_flow_example_flow_items_parent_id_fk", + "tableFrom": "pages_blocks_flow_example_flow_items", + "tableTo": "pages_blocks_flow_example", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example": { + "name": "pages_blocks_flow_example", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_flow_example_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'flowCenter'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_heading": { + "name": "content_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_description": { + "name": "content_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "flow_trigger_icon": { + "name": "flow_trigger_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "flow_trigger_name": { + "name": "flow_trigger_name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_flow_example_order_idx": { + "name": "pages_blocks_flow_example_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_parent_id_idx": { + "name": "pages_blocks_flow_example_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_path_idx": { + "name": "pages_blocks_flow_example_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_locale_idx": { + "name": "pages_blocks_flow_example_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_parent_id_fk": { + "name": "pages_blocks_flow_example_parent_id_fk", + "tableFrom": "pages_blocks_flow_example", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages": { + "name": "pages", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_pages_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "pages_slug_idx": { + "name": "pages_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_updated_at_idx": { + "name": "pages_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_created_at_idx": { + "name": "pages_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_locales": { + "name": "pages_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_meta_meta_image_idx": { + "name": "pages_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_locales_locale_parent_id_unique": { + "name": "pages_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_locales_meta_image_id_media_id_fk": { + "name": "pages_locales_meta_image_id_media_id_fk", + "tableFrom": "pages_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_locales_parent_id_fk": { + "name": "pages_locales_parent_id_fk", + "tableFrom": "pages_locales", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_texts": { + "name": "pages_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_texts_order_parent": { + "name": "pages_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_texts_locale_parent": { + "name": "pages_texts_locale_parent", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_texts_parent_fk": { + "name": "pages_texts_parent_fk", + "tableFrom": "pages_texts", + "tableTo": "pages", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features": { + "name": "features", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_features_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "features_slug_idx": { + "name": "features_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_updated_at_idx": { + "name": "features_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_created_at_idx": { + "name": "features_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features_locales": { + "name": "features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "features_locales_locale_parent_id_unique": { + "name": "features_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "features_locales_parent_id_fk": { + "name": "features_locales_parent_id_fk", + "tableFrom": "features_locales", + "tableTo": "features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions": { + "name": "actions", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "trigger_id": { + "name": "trigger_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "functiondefinitions_id": { + "name": "functiondefinitions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "documentation_url": { + "name": "documentation_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "actions_slug_idx": { + "name": "actions_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_icon_idx": { + "name": "actions_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_trigger_idx": { + "name": "actions_trigger_idx", + "columns": [ + { + "expression": "trigger_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_functiondefinitions_idx": { + "name": "actions_functiondefinitions_idx", + "columns": [ + { + "expression": "functiondefinitions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_updated_at_idx": { + "name": "actions_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_created_at_idx": { + "name": "actions_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_icon_id_media_id_fk": { + "name": "actions_icon_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_trigger_id_media_id_fk": { + "name": "actions_trigger_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "trigger_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_functiondefinitions_id_media_id_fk": { + "name": "actions_functiondefinitions_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "functiondefinitions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_locales": { + "name": "actions_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "documentation_label": { + "name": "documentation_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "actions_locales_locale_parent_id_unique": { + "name": "actions_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_locales_parent_id_fk": { + "name": "actions_locales_parent_id_fk", + "tableFrom": "actions_locales", + "tableTo": "actions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_texts": { + "name": "actions_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_texts_order_parent": { + "name": "actions_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_texts_parent_fk": { + "name": "actions_texts_parent_fk", + "tableFrom": "actions_texts", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_rels": { + "name": "actions_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_rels_order_idx": { + "name": "actions_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_parent_idx": { + "name": "actions_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_path_idx": { + "name": "actions_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_actions_id_idx": { + "name": "actions_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_rels_parent_fk": { + "name": "actions_rels_parent_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "actions_rels_actions_fk": { + "name": "actions_rels_actions_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs": { + "name": "jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "category": { + "name": "category", + "type": "enum_jobs_category", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_jobs_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "location": { + "name": "location", + "type": "enum_jobs_location", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "jobs_slug_idx": { + "name": "jobs_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_updated_at_idx": { + "name": "jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_created_at_idx": { + "name": "jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs_locales": { + "name": "jobs_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "jobs_locales_locale_parent_id_unique": { + "name": "jobs_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "jobs_locales_parent_id_fk": { + "name": "jobs_locales_parent_id_fk", + "tableFrom": "jobs_locales", + "tableTo": "jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog": { + "name": "blog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "is_pinned": { + "name": "is_pinned", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "author_id": { + "name": "author_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "hero_image_id": { + "name": "hero_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "blog_slug_idx": { + "name": "blog_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_is_pinned_idx": { + "name": "blog_is_pinned_idx", + "columns": [ + { + "expression": "is_pinned", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_author_idx": { + "name": "blog_author_idx", + "columns": [ + { + "expression": "author_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_hero_image_idx": { + "name": "blog_hero_image_idx", + "columns": [ + { + "expression": "hero_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_updated_at_idx": { + "name": "blog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_created_at_idx": { + "name": "blog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_author_id_team_members_id_fk": { + "name": "blog_author_id_team_members_id_fk", + "tableFrom": "blog", + "tableTo": "team_members", + "columnsFrom": [ + "author_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_hero_image_id_media_id_fk": { + "name": "blog_hero_image_id_media_id_fk", + "tableFrom": "blog", + "tableTo": "media", + "columnsFrom": [ + "hero_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog_locales": { + "name": "blog_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "blog_meta_meta_image_idx": { + "name": "blog_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_locales_locale_parent_id_unique": { + "name": "blog_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_locales_meta_image_id_media_id_fk": { + "name": "blog_locales_meta_image_id_media_id_fk", + "tableFrom": "blog_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_locales_parent_id_fk": { + "name": "blog_locales_parent_id_fk", + "tableFrom": "blog_locales", + "tableTo": "blog", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members": { + "name": "team_members", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "joined_at": { + "name": "joined_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "team_members_image_idx": { + "name": "team_members_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_updated_at_idx": { + "name": "team_members_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_created_at_idx": { + "name": "team_members_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_image_id_media_id_fk": { + "name": "team_members_image_id_media_id_fk", + "tableFrom": "team_members", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members_locales": { + "name": "team_members_locales", + "schema": "", + "columns": { + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "about": { + "name": "about", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "role": { + "name": "role", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "team_members_locales_locale_parent_id_unique": { + "name": "team_members_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_locales_parent_id_fk": { + "name": "team_members_locales_parent_id_fk", + "tableFrom": "team_members_locales", + "tableTo": "team_members", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports": { + "name": "exports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "format": { + "name": "format", + "type": "enum_exports_format", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'csv'" + }, + "limit": { + "name": "limit", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "page": { + "name": "page", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + }, + "sort": { + "name": "sort", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sort_order": { + "name": "sort_order", + "type": "enum_exports_sort_order", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "enum_exports_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'all'" + }, + "drafts": { + "name": "drafts", + "type": "enum_exports_drafts", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yes'" + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "where": { + "name": "where", + "type": "jsonb", + "primaryKey": false, + "notNull": false, + "default": "'{}'::jsonb" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_updated_at_idx": { + "name": "exports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_created_at_idx": { + "name": "exports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_filename_idx": { + "name": "exports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports_texts": { + "name": "exports_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_texts_order_parent": { + "name": "exports_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "exports_texts_parent_fk": { + "name": "exports_texts_parent_fk", + "tableFrom": "exports_texts", + "tableTo": "exports", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.imports": { + "name": "imports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "import_mode": { + "name": "import_mode", + "type": "enum_imports_import_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "match_field": { + "name": "match_field", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'id'" + }, + "status": { + "name": "status", + "type": "enum_imports_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pending'" + }, + "summary_imported": { + "name": "summary_imported", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_updated": { + "name": "summary_updated", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_total": { + "name": "summary_total", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issues": { + "name": "summary_issues", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issue_details": { + "name": "summary_issue_details", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "imports_updated_at_idx": { + "name": "imports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_created_at_idx": { + "name": "imports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_filename_idx": { + "name": "imports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_ai_auditlog": { + "name": "payload_ai_auditlog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "action": { + "name": "action", + "type": "enum_payload_ai_auditlog_action", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "target_type": { + "name": "target_type", + "type": "enum_payload_ai_auditlog_target_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "collection": { + "name": "collection", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "document_i_d": { + "name": "document_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "target_u_r_l": { + "name": "target_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "additions": { + "name": "additions", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "removals": { + "name": "removals", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "before": { + "name": "before", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "after": { + "name": "after", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "proposal": { + "name": "proposal", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "prompt": { + "name": "prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "input_tokens": { + "name": "input_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "output_tokens": { + "name": "output_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "total_tokens": { + "name": "total_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "ai_response": { + "name": "ai_response", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_i_d": { + "name": "user_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_label": { + "name": "user_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_ai_auditlog_updated_at_idx": { + "name": "payload_ai_auditlog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_ai_auditlog_created_at_idx": { + "name": "payload_ai_auditlog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_kv": { + "name": "payload_kv", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "jsonb", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "payload_kv_key_idx": { + "name": "payload_kv_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs_log": { + "name": "payload_jobs_log", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "executed_at": { + "name": "executed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_log_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "task_i_d": { + "name": "task_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "output": { + "name": "output", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "enum_payload_jobs_log_state", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_jobs_log_order_idx": { + "name": "payload_jobs_log_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_log_parent_id_idx": { + "name": "payload_jobs_log_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_jobs_log_parent_id_fk": { + "name": "payload_jobs_log_parent_id_fk", + "tableFrom": "payload_jobs_log", + "tableTo": "payload_jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs": { + "name": "payload_jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "total_tried": { + "name": "total_tried", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "has_error": { + "name": "has_error", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "queue": { + "name": "queue", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "wait_until": { + "name": "wait_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "processing": { + "name": "processing", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_jobs_completed_at_idx": { + "name": "payload_jobs_completed_at_idx", + "columns": [ + { + "expression": "completed_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_total_tried_idx": { + "name": "payload_jobs_total_tried_idx", + "columns": [ + { + "expression": "total_tried", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_has_error_idx": { + "name": "payload_jobs_has_error_idx", + "columns": [ + { + "expression": "has_error", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_task_slug_idx": { + "name": "payload_jobs_task_slug_idx", + "columns": [ + { + "expression": "task_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_queue_idx": { + "name": "payload_jobs_queue_idx", + "columns": [ + { + "expression": "queue", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_wait_until_idx": { + "name": "payload_jobs_wait_until_idx", + "columns": [ + { + "expression": "wait_until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_processing_idx": { + "name": "payload_jobs_processing_idx", + "columns": [ + { + "expression": "processing", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_updated_at_idx": { + "name": "payload_jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_created_at_idx": { + "name": "payload_jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents": { + "name": "payload_locked_documents", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "global_slug": { + "name": "global_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_locked_documents_global_slug_idx": { + "name": "payload_locked_documents_global_slug_idx", + "columns": [ + { + "expression": "global_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_updated_at_idx": { + "name": "payload_locked_documents_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_created_at_idx": { + "name": "payload_locked_documents_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents_rels": { + "name": "payload_locked_documents_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "media_id": { + "name": "media_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "features_id": { + "name": "features_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "jobs_id": { + "name": "jobs_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "team_members_id": { + "name": "team_members_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "payload_ai_auditlog_id": { + "name": "payload_ai_auditlog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_locked_documents_rels_order_idx": { + "name": "payload_locked_documents_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_parent_idx": { + "name": "payload_locked_documents_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_path_idx": { + "name": "payload_locked_documents_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_users_id_idx": { + "name": "payload_locked_documents_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_media_id_idx": { + "name": "payload_locked_documents_rels_media_id_idx", + "columns": [ + { + "expression": "media_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_pages_id_idx": { + "name": "payload_locked_documents_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_features_id_idx": { + "name": "payload_locked_documents_rels_features_id_idx", + "columns": [ + { + "expression": "features_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_actions_id_idx": { + "name": "payload_locked_documents_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_jobs_id_idx": { + "name": "payload_locked_documents_rels_jobs_id_idx", + "columns": [ + { + "expression": "jobs_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_blog_id_idx": { + "name": "payload_locked_documents_rels_blog_id_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_team_members_id_idx": { + "name": "payload_locked_documents_rels_team_members_id_idx", + "columns": [ + { + "expression": "team_members_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_payload_ai_auditlog_id_idx": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_id_idx", + "columns": [ + { + "expression": "payload_ai_auditlog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_locked_documents_rels_parent_fk": { + "name": "payload_locked_documents_rels_parent_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_locked_documents", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_users_fk": { + "name": "payload_locked_documents_rels_users_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_media_fk": { + "name": "payload_locked_documents_rels_media_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "media", + "columnsFrom": [ + "media_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_pages_fk": { + "name": "payload_locked_documents_rels_pages_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_features_fk": { + "name": "payload_locked_documents_rels_features_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "features", + "columnsFrom": [ + "features_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_actions_fk": { + "name": "payload_locked_documents_rels_actions_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_jobs_fk": { + "name": "payload_locked_documents_rels_jobs_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "jobs", + "columnsFrom": [ + "jobs_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_blog_fk": { + "name": "payload_locked_documents_rels_blog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_team_members_fk": { + "name": "payload_locked_documents_rels_team_members_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "team_members", + "columnsFrom": [ + "team_members_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_payload_ai_auditlog_fk": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_ai_auditlog", + "columnsFrom": [ + "payload_ai_auditlog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences": { + "name": "payload_preferences", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "value": { + "name": "value", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_preferences_key_idx": { + "name": "payload_preferences_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_updated_at_idx": { + "name": "payload_preferences_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_created_at_idx": { + "name": "payload_preferences_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences_rels": { + "name": "payload_preferences_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_preferences_rels_order_idx": { + "name": "payload_preferences_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_parent_idx": { + "name": "payload_preferences_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_path_idx": { + "name": "payload_preferences_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_users_id_idx": { + "name": "payload_preferences_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_preferences_rels_parent_fk": { + "name": "payload_preferences_rels_parent_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "payload_preferences", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_preferences_rels_users_fk": { + "name": "payload_preferences_rels_users_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_migrations": { + "name": "payload_migrations", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "batch": { + "name": "batch", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_migrations_updated_at_idx": { + "name": "payload_migrations_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_migrations_created_at_idx": { + "name": "payload_migrations_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu": { + "name": "navigation_items_items_sub_menu", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_order_idx": { + "name": "navigation_items_items_sub_menu_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_sub_menu_parent_id_idx": { + "name": "navigation_items_items_sub_menu_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_parent_id_fk": { + "name": "navigation_items_items_sub_menu_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu_locales": { + "name": "navigation_items_items_sub_menu_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_locales_locale_parent_id_uni": { + "name": "navigation_items_items_sub_menu_locales_locale_parent_id_uni", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_locales_parent_id_fk": { + "name": "navigation_items_items_sub_menu_locales_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu_locales", + "tableTo": "navigation_items_items_sub_menu", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items": { + "name": "navigation_items_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + } + }, + "indexes": { + "navigation_items_items_order_idx": { + "name": "navigation_items_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_parent_id_idx": { + "name": "navigation_items_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_parent_id_fk": { + "name": "navigation_items_items_parent_id_fk", + "tableFrom": "navigation_items_items", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_locales": { + "name": "navigation_items_items_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_locales_locale_parent_id_unique": { + "name": "navigation_items_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_locales_parent_id_fk": { + "name": "navigation_items_items_locales_parent_id_fk", + "tableFrom": "navigation_items_items_locales", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons": { + "name": "navigation_buttons_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "new_tab": { + "name": "new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "variant": { + "name": "variant", + "type": "enum_navigation_buttons_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'normal'" + } + }, + "indexes": { + "navigation_buttons_buttons_order_idx": { + "name": "navigation_buttons_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_buttons_buttons_parent_id_idx": { + "name": "navigation_buttons_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_parent_id_fk": { + "name": "navigation_buttons_buttons_parent_id_fk", + "tableFrom": "navigation_buttons_buttons", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons_locales": { + "name": "navigation_buttons_buttons_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_buttons_buttons_locales_locale_parent_id_unique": { + "name": "navigation_buttons_buttons_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_locales_parent_id_fk": { + "name": "navigation_buttons_buttons_locales_parent_id_fk", + "tableFrom": "navigation_buttons_buttons_locales", + "tableTo": "navigation_buttons_buttons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation": { + "name": "navigation", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "navigation_logo_idx": { + "name": "navigation_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_logo_id_media_id_fk": { + "name": "navigation_logo_id_media_id_fk", + "tableFrom": "navigation", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_social_links": { + "name": "footer_social_links", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "platform": { + "name": "platform", + "type": "enum_footer_social_links_platform", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_social_links_order_idx": { + "name": "footer_social_links_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_social_links_parent_id_idx": { + "name": "footer_social_links_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_social_links_parent_id_fk": { + "name": "footer_social_links_parent_id_fk", + "tableFrom": "footer_social_links", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items": { + "name": "footer_groups_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_order_idx": { + "name": "footer_groups_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_items_parent_id_idx": { + "name": "footer_groups_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_parent_id_fk": { + "name": "footer_groups_items_parent_id_fk", + "tableFrom": "footer_groups_items", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items_locales": { + "name": "footer_groups_items_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_locales_locale_parent_id_unique": { + "name": "footer_groups_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_locales_parent_id_fk": { + "name": "footer_groups_items_locales_parent_id_fk", + "tableFrom": "footer_groups_items_locales", + "tableTo": "footer_groups_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups": { + "name": "footer_groups", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "footer_groups_order_idx": { + "name": "footer_groups_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_parent_id_idx": { + "name": "footer_groups_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_parent_id_fk": { + "name": "footer_groups_parent_id_fk", + "tableFrom": "footer_groups", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_locales": { + "name": "footer_groups_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_locales_locale_parent_id_unique": { + "name": "footer_groups_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_locales_parent_id_fk": { + "name": "footer_groups_locales_parent_id_fk", + "tableFrom": "footer_groups_locales", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer": { + "name": "footer", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "contact_email": { + "name": "contact_email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_url": { + "name": "legal_links_privacy_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/privacy'" + }, + "legal_links_legal_notice_url": { + "name": "legal_links_legal_notice_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/legal-notice'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "footer_image_idx": { + "name": "footer_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_image_id_media_id_fk": { + "name": "footer_image_id_media_id_fk", + "tableFrom": "footer", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_locales": { + "name": "footer_locales", + "schema": "", + "columns": { + "company_name": { + "name": "company_name", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'CodeZero GmbH'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_label": { + "name": "legal_links_privacy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Privacy Policy'" + }, + "legal_links_legal_notice_label": { + "name": "legal_links_legal_notice_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Legal Notice'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_locales_locale_parent_id_unique": { + "name": "footer_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_locales_parent_id_fk": { + "name": "footer_locales_parent_id_fk", + "tableFrom": "footer_locales", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner": { + "name": "cookie_banner", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner_locales": { + "name": "cookie_banner_locales", + "schema": "", + "columns": { + "common_accept_all": { + "name": "common_accept_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_reject_all": { + "name": "common_reject_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_customize": { + "name": "common_customize", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_save": { + "name": "common_save", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_title": { + "name": "cookie_banner_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_description": { + "name": "cookie_banner_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_title": { + "name": "consent_manager_dialog_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_description": { + "name": "consent_manager_dialog_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_title": { + "name": "consent_types_necessary_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_description": { + "name": "consent_types_necessary_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_title": { + "name": "consent_types_measurement_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_description": { + "name": "consent_types_measurement_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_title": { + "name": "consent_types_marketing_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_description": { + "name": "consent_types_marketing_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_label": { + "name": "legal_links_privacy_policy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_href": { + "name": "legal_links_privacy_policy_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_label": { + "name": "legal_links_terms_of_service_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_href": { + "name": "legal_links_terms_of_service_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "cookie_banner_locales_locale_parent_id_unique": { + "name": "cookie_banner_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "cookie_banner_locales_parent_id_fk": { + "name": "cookie_banner_locales_parent_id_fk", + "tableFrom": "cookie_banner_locales", + "tableTo": "cookie_banner", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview": { + "name": "subscription_config_feature_overview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_order_idx": { + "name": "subscription_config_feature_overview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_feature_overview_parent_id_idx": { + "name": "subscription_config_feature_overview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_parent_id_fk": { + "name": "subscription_config_feature_overview_parent_id_fk", + "tableFrom": "subscription_config_feature_overview", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview_locales": { + "name": "subscription_config_feature_overview_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_locales_locale_parent_i": { + "name": "subscription_config_feature_overview_locales_locale_parent_i", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_locales_parent_id_fk": { + "name": "subscription_config_feature_overview_locales_parent_id_fk", + "tableFrom": "subscription_config_feature_overview_locales", + "tableTo": "subscription_config_feature_overview", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types": { + "name": "subscription_config_workflow_calculator_business_types", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building'" + }, + "conversion_rate": { + "name": "conversion_rate", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_order_idx": { + "name": "subscription_config_workflow_calculator_business_types_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_workflow_calculator_business_types_parent_id_idx": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_parent_id_fk": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types_locales": { + "name": "subscription_config_workflow_calculator_business_types_locales", + "schema": "", + "columns": { + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "conversion_unit": { + "name": "conversion_unit", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'executions'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_local": { + "name": "subscription_config_workflow_calculator_business_types_local", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_lo_fk": { + "name": "subscription_config_workflow_calculator_business_types_lo_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types_locales", + "tableTo": "subscription_config_workflow_calculator_business_types", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features": { + "name": "subscription_config_additional_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + } + }, + "indexes": { + "subscription_config_additional_features_order_idx": { + "name": "subscription_config_additional_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_additional_features_parent_id_idx": { + "name": "subscription_config_additional_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_parent_id_fk": { + "name": "subscription_config_additional_features_parent_id_fk", + "tableFrom": "subscription_config_additional_features", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features_locales": { + "name": "subscription_config_additional_features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_additional_features_locales_locale_paren": { + "name": "subscription_config_additional_features_locales_locale_paren", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_locales_parent_id_fk": { + "name": "subscription_config_additional_features_locales_parent_id_fk", + "tableFrom": "subscription_config_additional_features_locales", + "tableTo": "subscription_config_additional_features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config": { + "name": "subscription_config", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription Config'" + }, + "defaults_deployment": { + "name": "defaults_deployment", + "type": "enum_subscription_config_defaults_deployment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'self-hosted'" + }, + "defaults_customer_type": { + "name": "defaults_customer_type", + "type": "enum_subscription_config_defaults_customer_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'b2b'" + }, + "defaults_payment_period": { + "name": "defaults_payment_period", + "type": "enum_subscription_config_defaults_payment_period", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'monthly'" + }, + "defaults_workflow_executions_b2b": { + "name": "defaults_workflow_executions_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "defaults_workflow_executions_b2c": { + "name": "defaults_workflow_executions_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "defaults_ai_tokens_b2b": { + "name": "defaults_ai_tokens_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "defaults_ai_tokens_b2c": { + "name": "defaults_ai_tokens_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "deployment_self_hosted_icon": { + "name": "deployment_self_hosted_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'server'" + }, + "deployment_self_hosted_color": { + "name": "deployment_self_hosted_color", + "type": "enum_subscription_config_deployment_self_hosted_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "deployment_cloud_icon": { + "name": "deployment_cloud_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'cloud'" + }, + "deployment_cloud_color": { + "name": "deployment_cloud_color", + "type": "enum_subscription_config_deployment_cloud_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "customer_type_b2b_icon": { + "name": "customer_type_b2b_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'briefcase-2'" + }, + "customer_type_b2b_color": { + "name": "customer_type_b2b_color", + "type": "enum_subscription_config_customer_type_b2b_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "customer_type_b2c_icon": { + "name": "customer_type_b2c_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building-store'" + }, + "customer_type_b2c_color": { + "name": "customer_type_b2c_color", + "type": "enum_subscription_config_customer_type_b2c_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pink'" + }, + "subscription_tier_pro_icon": { + "name": "subscription_tier_pro_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'sparkles'" + }, + "subscription_tier_pro_color": { + "name": "subscription_tier_pro_color", + "type": "enum_subscription_config_subscription_tier_pro_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'brand'" + }, + "subscription_tier_team_icon": { + "name": "subscription_tier_team_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users-group'" + }, + "subscription_tier_team_color": { + "name": "subscription_tier_team_color", + "type": "enum_subscription_config_subscription_tier_team_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "payment_period_quarterly_discount": { + "name": "payment_period_quarterly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "payment_period_yearly_discount": { + "name": "payment_period_yearly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "workflow_executions_b2b_step": { + "name": "workflow_executions_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "workflow_executions_b2b_min": { + "name": "workflow_executions_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 200 + }, + "workflow_executions_b2b_max": { + "name": "workflow_executions_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "workflow_executions_b2c_step": { + "name": "workflow_executions_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_min": { + "name": "workflow_executions_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_max": { + "name": "workflow_executions_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "workflow_execution_price_factor": { + "name": "workflow_execution_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.001 + }, + "ai_tokens_b2b_step": { + "name": "ai_tokens_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_min": { + "name": "ai_tokens_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_max": { + "name": "ai_tokens_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000000 + }, + "ai_tokens_b2c_step": { + "name": "ai_tokens_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_min": { + "name": "ai_tokens_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_max": { + "name": "ai_tokens_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "ai_token_price_factor": { + "name": "ai_token_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.000001 + }, + "contact_sales_href": { + "name": "contact_sales_href", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/contact'" + }, + "subscribe_base_url": { + "name": "subscribe_base_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "''" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_locales": { + "name": "subscription_config_locales", + "schema": "", + "columns": { + "page_intro_heading": { + "name": "page_intro_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Configure your setup before you talk pricing.'" + }, + "page_intro_description": { + "name": "page_intro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Pick your operating model, customer shape, and usage pattern. The right-hand side updates into a purchase-ready configuration flow instead of a generic pricing table.'" + }, + "options_panel_heading": { + "name": "options_panel_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Build the subscription shape'" + }, + "deployment_label": { + "name": "deployment_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deployment'" + }, + "deployment_self_hosted_title": { + "name": "deployment_self_hosted_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Self-hosted'" + }, + "deployment_self_hosted_description": { + "name": "deployment_self_hosted_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deploy on your own infrastructure with full operational control.'" + }, + "deployment_cloud_title": { + "name": "deployment_cloud_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cloud'" + }, + "deployment_cloud_description": { + "name": "deployment_cloud_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Use managed infrastructure with selectable runtime consumption.'" + }, + "customer_type_label": { + "name": "customer_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Customer Type'" + }, + "customer_type_b2b_title": { + "name": "customer_type_b2b_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2B'" + }, + "customer_type_b2b_description": { + "name": "customer_type_b2b_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Organization purchase flow with tailored commercial handling.'" + }, + "customer_type_b2c_title": { + "name": "customer_type_b2c_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2C'" + }, + "customer_type_b2c_description": { + "name": "customer_type_b2c_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Standardized subscription flow with directly selectable plans.'" + }, + "subscription_tier_label": { + "name": "subscription_tier_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription tier'" + }, + "subscription_tier_pro_title": { + "name": "subscription_tier_pro_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'PRO'" + }, + "subscription_tier_pro_description": { + "name": "subscription_tier_pro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Single-owner setup for advanced personal or expert workflows.'" + }, + "subscription_tier_team_title": { + "name": "subscription_tier_team_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'TEAM'" + }, + "subscription_tier_team_description": { + "name": "subscription_tier_team_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Shared workspace model with seat-based team access.'" + }, + "payment_period_label": { + "name": "payment_period_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Payment period'" + }, + "payment_period_description": { + "name": "payment_period_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Choose how often you want to be billed.'" + }, + "payment_period_monthly_text": { + "name": "payment_period_monthly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Monthly'" + }, + "payment_period_quarterly_text": { + "name": "payment_period_quarterly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Quarterly'" + }, + "payment_period_yearly_text": { + "name": "payment_period_yearly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Yearly'" + }, + "payment_period_monthly_period_suffix": { + "name": "payment_period_monthly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "payment_period_quarterly_period_suffix": { + "name": "payment_period_quarterly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per quarter'" + }, + "payment_period_yearly_period_suffix": { + "name": "payment_period_yearly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per year'" + }, + "workflow_executions_title": { + "name": "workflow_executions_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Workflow Executions'" + }, + "workflow_executions_description": { + "name": "workflow_executions_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many workflow executions do you expect per month?'" + }, + "workflow_executions_suffix": { + "name": "workflow_executions_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'exec'" + }, + "workflow_calculator_trigger_label": { + "name": "workflow_calculator_trigger_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate'" + }, + "workflow_calculator_title": { + "name": "workflow_calculator_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate workflow executions'" + }, + "workflow_calculator_description": { + "name": "workflow_calculator_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimate monthly volume from your active workflows and their average execution frequency.'" + }, + "workflow_calculator_close_label": { + "name": "workflow_calculator_close_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Close dialog'" + }, + "workflow_calculator_business_type_label": { + "name": "workflow_calculator_business_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Business type'" + }, + "workflow_calculator_business_type_search_placeholder": { + "name": "workflow_calculator_business_type_search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Search business types'" + }, + "workflow_calculator_no_business_types_found_label": { + "name": "workflow_calculator_no_business_types_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'No business types found.'" + }, + "workflow_calculator_active_workflows_label": { + "name": "workflow_calculator_active_workflows_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Active workflows'" + }, + "workflow_calculator_runs_per_day_label": { + "name": "workflow_calculator_runs_per_day_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Runs per month'" + }, + "workflow_calculator_days_per_month_label": { + "name": "workflow_calculator_days_per_month_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Days per month'" + }, + "workflow_calculator_estimate_label": { + "name": "workflow_calculator_estimate_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimated monthly volume'" + }, + "workflow_calculator_cancel_label": { + "name": "workflow_calculator_cancel_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cancel'" + }, + "workflow_calculator_apply_label": { + "name": "workflow_calculator_apply_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Apply value'" + }, + "ai_tokens_title": { + "name": "ai_tokens_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'AI Tokens'" + }, + "ai_tokens_description": { + "name": "ai_tokens_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many AI tokens do you expect to consume per month?'" + }, + "ai_tokens_suffix": { + "name": "ai_tokens_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'tokens'" + }, + "contact_sales_prompt": { + "name": "contact_sales_prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Need more?'" + }, + "contact_sales_label": { + "name": "contact_sales_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Contact sales'" + }, + "subscribe_label": { + "name": "subscribe_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Buy now'" + }, + "price_heading": { + "name": "price_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Price'" + }, + "price_caption": { + "name": "price_caption", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "additional_features_label": { + "name": "additional_features_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_locales_locale_parent_id_unique": { + "name": "subscription_config_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_locales_parent_id_fk": { + "name": "subscription_config_locales_parent_id_fk", + "tableFrom": "subscription_config_locales", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": { + "public._locales": { + "name": "_locales", + "schema": "public", + "values": [ + "en", + "de" + ] + }, + "public.enum_users_ai_provider": { + "name": "enum_users_ai_provider", + "schema": "public", + "values": [ + "claude", + "google", + "mistral", + "openai", + "openrouter" + ] + }, + "public.enum_pages_blocks_hero_buttons_variant": { + "name": "enum_pages_blocks_hero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_bento_section_layout": { + "name": "enum_pages_blocks_bento_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_bento_variant": { + "name": "enum_pages_blocks_bento_variant", + "schema": "public", + "values": [ + "feature", + "runtime" + ] + }, + "public.enum_pages_blocks_offset_cards_cards_mask": { + "name": "enum_pages_blocks_offset_cards_cards_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_section_layout": { + "name": "enum_pages_blocks_offset_cards_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_card_placement": { + "name": "enum_pages_blocks_offset_cards_card_placement", + "schema": "public", + "values": [ + "alternate", + "right", + "left" + ] + }, + "public.enum_pages_blocks_install_language": { + "name": "enum_pages_blocks_install_language", + "schema": "public", + "values": [ + "bsl", + "sdbl", + "abap", + "actionscript-3", + "ada", + "angular-html", + "angular-ts", + "apache", + "apex", + "apl", + "applescript", + "ara", + "asciidoc", + "razor", + "asm", + "astro", + "awk", + "ballerina", + "bat", + "beancount", + "berry", + "bibtex", + "bicep", + "bird2", + "blade", + "c", + "csharp", + "cpp", + "c3", + "cadence", + "cairo", + "clarity", + "clojure", + "soy", + "cmake", + "cobol", + "codeowners", + "codeql", + "coffee", + "common-lisp", + "coq", + "crystal", + "css", + "csv", + "cue", + "cypher", + "d", + "dart", + "dax", + "desktop", + "diff", + "docker", + "dotenv", + "dream-maker", + "edge", + "elixir", + "elm", + "emacs-lisp", + "erb", + "erlang", + "fsharp", + "fennel", + "fish", + "fluent", + "fortran-fixed-form", + "fortran-free-form", + "gdresource", + "gdscript", + "gdshader", + "genie", + "po", + "gherkin", + "git-commit", + "git-rebase", + "gleam", + "glimmer-js", + "glimmer-ts", + "glsl", + "gn", + "gnuplot", + "go", + "graphql", + "groovy", + "hack", + "handlebars", + "hcl", + "haskell", + "haxe", + "hjson", + "hlsl", + "html", + "html-derivative", + "http", + "hurl", + "hxml", + "hy", + "imba", + "ini", + "java", + "javascript", + "jinja", + "jison", + "json", + "jsonl", + "jsonc", + "json5", + "jsonnet", + "jssm", + "jsx", + "julia", + "just", + "kdl", + "kotlin", + "kusto", + "latex", + "lean", + "less", + "liquid", + "llvm", + "log", + "logo", + "lua", + "luau", + "make", + "markdown", + "marko", + "matlab", + "mdc", + "mdx", + "mermaid", + "mipsasm", + "mojo", + "moonbit", + "move", + "narrat", + "nextflow", + "nextflow-groovy", + "nginx", + "nim", + "nix", + "nushell", + "objective-c", + "objective-cpp", + "ocaml", + "odin", + "openscad", + "pascal", + "perl", + "php", + "pkl", + "plsql", + "polar", + "postcss", + "powerquery", + "powershell", + "prisma", + "prolog", + "proto", + "pug", + "puppet", + "purescript", + "python", + "qml", + "qmldir", + "qss", + "r", + "racket", + "raku", + "regexp", + "rel", + "rst", + "riscv", + "ron", + "rosmsg", + "ruby", + "haml", + "rust", + "sas", + "sass", + "scala", + "scheme", + "scss", + "shaderlab", + "shellscript", + "shellsession", + "smalltalk", + "solidity", + "sparql", + "splunk", + "sql", + "ssh-config", + "stata", + "stylus", + "surrealql", + "svelte", + "swift", + "systemd", + "system-verilog", + "talonscript", + "tasl", + "tcl", + "templ", + "terraform", + "tex", + "toml", + "tsv", + "tsx", + "turtle", + "twig", + "typescript", + "ts-tags", + "typespec", + "typst", + "v", + "vala", + "verilog", + "vhdl", + "viml", + "vb", + "vue", + "vue-html", + "vue-vine", + "vyper", + "wasm", + "wit", + "wenyan", + "wgsl", + "wikitext", + "reg", + "wolfram", + "xml", + "xsl", + "yaml", + "zenscript", + "zig" + ] + }, + "public.enum_pages_blocks_faq_section_layout": { + "name": "enum_pages_blocks_faq_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_cta_image_buttons_variant": { + "name": "enum_pages_blocks_cta_image_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_cta_image_image_mask": { + "name": "enum_pages_blocks_cta_image_image_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_blog_preview_section_layout": { + "name": "enum_pages_blocks_blog_preview_section_layout", + "schema": "public", + "values": [ + "imageCenter", + "imageLeft", + "imageRight" + ] + }, + "public.enum_pages_blocks_card_row_section_layout": { + "name": "enum_pages_blocks_card_row_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_roadmap_section_layout": { + "name": "enum_pages_blocks_roadmap_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_section_layout": { + "name": "enum_pages_blocks_scroll_cards_items_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient": { + "name": "enum_pages_blocks_scroll_cards_items_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient_direction": { + "name": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_standalone_card_section_layout": { + "name": "enum_pages_blocks_standalone_card_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient": { + "name": "enum_pages_blocks_standalone_card_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient_direction": { + "name": "enum_pages_blocks_standalone_card_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_video_source_type": { + "name": "enum_pages_blocks_video_source_type", + "schema": "public", + "values": [ + "url", + "media" + ] + }, + "public.enum_pages_blocks_widehero_mask": { + "name": "enum_pages_blocks_widehero_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_widehero_buttons_variant": { + "name": "enum_pages_blocks_widehero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_list_feature_section_layout": { + "name": "enum_pages_blocks_list_feature_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_stats_section_layout": { + "name": "enum_pages_blocks_stats_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_flow_example_flow_items_segments_type": { + "name": "enum_pages_blocks_flow_example_flow_items_segments_type", + "schema": "public", + "values": [ + "text", + "literal", + "reference", + "node" + ] + }, + "public.enum_pages_blocks_flow_example_flow_items_color": { + "name": "enum_pages_blocks_flow_example_flow_items_color", + "schema": "public", + "values": [ + "brand", + "yellow", + "aqua", + "blue", + "pink" + ] + }, + "public.enum_pages_blocks_flow_example_section_layout": { + "name": "enum_pages_blocks_flow_example_section_layout", + "schema": "public", + "values": [ + "flowCenter", + "flowLeft", + "flowRight" + ] + }, + "public.enum_pages_slug": { + "name": "enum_pages_slug", + "schema": "public", + "values": [ + "main", + "jobs", + "blog", + "features", + "about-us", + "legal-notice", + "privacy", + "terms", + "open-source-no-code-automation", + "contact", + "actions", + "community-edition", + "enterprise-edition", + "subscription" + ] + }, + "public.enum_features_slug": { + "name": "enum_features_slug", + "schema": "public", + "values": [ + "projects", + "role-system", + "member-management", + "organizations", + "suggestion-menu", + "nodes", + "runtime-types", + "action-list" + ] + }, + "public.enum_jobs_category": { + "name": "enum_jobs_category", + "schema": "public", + "values": [ + "engineering", + "marketing", + "design", + "product", + "sales", + "operations" + ] + }, + "public.enum_jobs_type": { + "name": "enum_jobs_type", + "schema": "public", + "values": [ + "full-time", + "part-time", + "contract", + "internship", + "working-student", + "freelance" + ] + }, + "public.enum_jobs_location": { + "name": "enum_jobs_location", + "schema": "public", + "values": [ + "remote", + "hybrid", + "leipzig", + "solingen" + ] + }, + "public.enum_exports_format": { + "name": "enum_exports_format", + "schema": "public", + "values": [ + "csv", + "json" + ] + }, + "public.enum_exports_sort_order": { + "name": "enum_exports_sort_order", + "schema": "public", + "values": [ + "asc", + "desc" + ] + }, + "public.enum_exports_locale": { + "name": "enum_exports_locale", + "schema": "public", + "values": [ + "all", + "en", + "de" + ] + }, + "public.enum_exports_drafts": { + "name": "enum_exports_drafts", + "schema": "public", + "values": [ + "yes", + "no" + ] + }, + "public.enum_imports_import_mode": { + "name": "enum_imports_import_mode", + "schema": "public", + "values": [ + "create", + "update", + "upsert" + ] + }, + "public.enum_imports_status": { + "name": "enum_imports_status", + "schema": "public", + "values": [ + "pending", + "completed", + "partial", + "failed" + ] + }, + "public.enum_payload_ai_auditlog_action": { + "name": "enum_payload_ai_auditlog_action", + "schema": "public", + "values": [ + "create", + "update", + "delete", + "updateGlobal" + ] + }, + "public.enum_payload_ai_auditlog_target_type": { + "name": "enum_payload_ai_auditlog_target_type", + "schema": "public", + "values": [ + "collection", + "global" + ] + }, + "public.enum_payload_jobs_log_task_slug": { + "name": "enum_payload_jobs_log_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_payload_jobs_log_state": { + "name": "enum_payload_jobs_log_state", + "schema": "public", + "values": [ + "failed", + "succeeded" + ] + }, + "public.enum_payload_jobs_task_slug": { + "name": "enum_payload_jobs_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_navigation_buttons_buttons_variant": { + "name": "enum_navigation_buttons_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_footer_social_links_platform": { + "name": "enum_footer_social_links_platform", + "schema": "public", + "values": [ + "instagram", + "discord", + "x", + "linkedin", + "github" + ] + }, + "public.enum_subscription_config_defaults_deployment": { + "name": "enum_subscription_config_defaults_deployment", + "schema": "public", + "values": [ + "self-hosted", + "cloud" + ] + }, + "public.enum_subscription_config_defaults_customer_type": { + "name": "enum_subscription_config_defaults_customer_type", + "schema": "public", + "values": [ + "b2b", + "b2c" + ] + }, + "public.enum_subscription_config_defaults_payment_period": { + "name": "enum_subscription_config_defaults_payment_period", + "schema": "public", + "values": [ + "monthly", + "quarterly", + "yearly" + ] + }, + "public.enum_subscription_config_deployment_self_hosted_color": { + "name": "enum_subscription_config_deployment_self_hosted_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_deployment_cloud_color": { + "name": "enum_subscription_config_deployment_cloud_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2b_color": { + "name": "enum_subscription_config_customer_type_b2b_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2c_color": { + "name": "enum_subscription_config_customer_type_b2c_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_pro_color": { + "name": "enum_subscription_config_subscription_tier_pro_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_team_color": { + "name": "enum_subscription_config_subscription_tier_team_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + } + }, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "schemas": {}, + "tables": {}, + "columns": {} + }, + "id": "b41ed0f7-e19d-4f2e-8141-e8ffca16e617", + "prevId": "00000000-0000-0000-0000-000000000000" +} diff --git a/src/migrations/20260721_092035_20260721_flow_example_segments.ts b/src/migrations/20260721_092035_20260721_flow_example_segments.ts new file mode 100644 index 00000000..0629e7c1 --- /dev/null +++ b/src/migrations/20260721_092035_20260721_flow_example_segments.ts @@ -0,0 +1,36 @@ +import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres' + +export async function up({ db, payload, req }: MigrateUpArgs): Promise { + await db.execute(sql` + CREATE TYPE "public"."enum_pages_blocks_flow_example_flow_items_segments_type" AS ENUM('text', 'literal', 'reference', 'node'); + CREATE TYPE "public"."enum_pages_blocks_flow_example_flow_items_color" AS ENUM('brand', 'yellow', 'aqua', 'blue', 'pink'); + CREATE TABLE "pages_blocks_flow_example_flow_items_segments" ( + "_order" integer NOT NULL, + "_parent_id" varchar NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "type" "enum_pages_blocks_flow_example_flow_items_segments_type" DEFAULT 'text' NOT NULL, + "value" varchar NOT NULL + ); + + ALTER TABLE "pages_blocks_flow_example_flow_items" DROP COLUMN "icon"; + ALTER TABLE "pages_blocks_flow_example_flow_items" DROP COLUMN "text"; + ALTER TABLE "pages_blocks_flow_example_flow_items" ADD COLUMN "color" "enum_pages_blocks_flow_example_flow_items_color" DEFAULT 'brand' NOT NULL; + ALTER TABLE "pages_blocks_flow_example_flow_items" ADD COLUMN "outline" boolean DEFAULT true; + ALTER TABLE "pages_blocks_flow_example_flow_items_segments" ADD CONSTRAINT "pages_blocks_flow_example_flow_items_segments_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_flow_example_flow_items"("id") ON DELETE cascade ON UPDATE no action; + CREATE INDEX "pages_blocks_flow_example_flow_items_segments_order_idx" ON "pages_blocks_flow_example_flow_items_segments" USING btree ("_order"); + CREATE INDEX "pages_blocks_flow_example_flow_items_segments_parent_id_idx" ON "pages_blocks_flow_example_flow_items_segments" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_flow_example_flow_items_segments_locale_idx" ON "pages_blocks_flow_example_flow_items_segments" USING btree ("_locale");`) +} + +export async function down({ db, payload, req }: MigrateDownArgs): Promise { + await db.execute(sql` + ALTER TABLE "pages_blocks_flow_example_flow_items_segments" DISABLE ROW LEVEL SECURITY; + DROP TABLE "pages_blocks_flow_example_flow_items_segments" CASCADE; + ALTER TABLE "pages_blocks_flow_example_flow_items" ADD COLUMN "icon" varchar DEFAULT '' NOT NULL; + ALTER TABLE "pages_blocks_flow_example_flow_items" ADD COLUMN "text" varchar DEFAULT '' NOT NULL; + ALTER TABLE "pages_blocks_flow_example_flow_items" DROP COLUMN "color"; + ALTER TABLE "pages_blocks_flow_example_flow_items" DROP COLUMN "outline"; + DROP TYPE "public"."enum_pages_blocks_flow_example_flow_items_segments_type"; + DROP TYPE "public"."enum_pages_blocks_flow_example_flow_items_color";`) +} diff --git a/src/migrations/index.ts b/src/migrations/index.ts index a2ac5d5b..1d891f91 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -39,6 +39,7 @@ import * as migration_20260710_052024_subscription_payment_period_suffixes from import * as migration_20260720_105407_20260720_stats_block from './20260720_105407_20260720_stats_block'; import * as migration_20260720_111300_20260720_stats_show_plus from './20260720_111300_20260720_stats_show_plus'; import * as migration_20260720_123334_20260720_flow_example from './20260720_123334_20260720_flow_example'; +import * as migration_20260721_092035_20260721_flow_example_segments from './20260721_092035_20260721_flow_example_segments'; export const migrations = [ { @@ -244,6 +245,11 @@ export const migrations = [ { up: migration_20260720_123334_20260720_flow_example.up, down: migration_20260720_123334_20260720_flow_example.down, - name: '20260720_123334_20260720_flow_example' + name: '20260720_123334_20260720_flow_example', + }, + { + up: migration_20260721_092035_20260721_flow_example_segments.up, + down: migration_20260721_092035_20260721_flow_example_segments.down, + name: '20260721_092035_20260721_flow_example_segments' }, ]; diff --git a/src/payload-types.ts b/src/payload-types.ts index ac28e90f..bb1beef0 100644 --- a/src/payload-types.ts +++ b/src/payload-types.ts @@ -914,8 +914,13 @@ export interface Page { }; items?: | { - icon: string; - text: string; + color: 'brand' | 'yellow' | 'aqua' | 'blue' | 'pink'; + outline?: boolean | null; + segments: { + type: 'text' | 'literal' | 'reference' | 'node'; + value: string; + id?: string | null; + }[]; id?: string | null; }[] | null; @@ -1948,8 +1953,15 @@ export interface PagesSelect { items?: | T | { - icon?: T; - text?: T; + color?: T; + outline?: T; + segments?: + | T + | { + type?: T; + value?: T; + id?: T; + }; id?: T; }; }; From eafd2d10f2c2b13e91bf3abd2cd84d89b26faed5 Mon Sep 17 00:00:00 2001 From: mvriu5 Date: Tue, 21 Jul 2026 13:10:00 +0200 Subject: [PATCH 3/6] feat: replace paylaod icons with codezero icons --- src/app/(payload)/admin/importMap.js | 4 ++++ src/graphics/Icon.tsx | 12 ++++++++++++ src/graphics/Logo.tsx | 3 +++ src/payload.config.ts | 16 ++++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 src/graphics/Icon.tsx create mode 100644 src/graphics/Logo.tsx diff --git a/src/app/(payload)/admin/importMap.js b/src/app/(payload)/admin/importMap.js index b920e424..816443f5 100644 --- a/src/app/(payload)/admin/importMap.js +++ b/src/app/(payload)/admin/importMap.js @@ -48,6 +48,8 @@ import { ExportPreview as ExportPreview_cdf7e044479f899a31f804427d568b36 } from import { ExportSaveButton as ExportSaveButton_cdf7e044479f899a31f804427d568b36 } from '@payloadcms/plugin-import-export/rsc' import { ImportPreview as ImportPreview_cdf7e044479f899a31f804427d568b36 } from '@payloadcms/plugin-import-export/rsc' import { ImportSaveButton as ImportSaveButton_cdf7e044479f899a31f804427d568b36 } from '@payloadcms/plugin-import-export/rsc' +import { Icon as Icon_7713273ba727ca134b49716b27b5174a } from '../../../graphics/Icon.tsx' +import { Logo as Logo_12230abedf9f016bfbf324f3f3e8c31d } from '../../../graphics/Logo.tsx' import { Dashboard as Dashboard_9bc5ba0ba94cef620e04c74aadf9cea5 } from '@mvriu5/payload-ai/client' import { ImportExportProvider as ImportExportProvider_cdf7e044479f899a31f804427d568b36 } from '@payloadcms/plugin-import-export/rsc' import { CollectionCards as CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1 } from '@payloadcms/next/rsc' @@ -104,6 +106,8 @@ export const importMap = { "@payloadcms/plugin-import-export/rsc#ExportSaveButton": ExportSaveButton_cdf7e044479f899a31f804427d568b36, "@payloadcms/plugin-import-export/rsc#ImportPreview": ImportPreview_cdf7e044479f899a31f804427d568b36, "@payloadcms/plugin-import-export/rsc#ImportSaveButton": ImportSaveButton_cdf7e044479f899a31f804427d568b36, + "/graphics/Icon.tsx#Icon": Icon_7713273ba727ca134b49716b27b5174a, + "/graphics/Logo.tsx#Logo": Logo_12230abedf9f016bfbf324f3f3e8c31d, "@mvriu5/payload-ai/client#Dashboard": Dashboard_9bc5ba0ba94cef620e04c74aadf9cea5, "@payloadcms/plugin-import-export/rsc#ImportExportProvider": ImportExportProvider_cdf7e044479f899a31f804427d568b36, "@payloadcms/next/rsc#CollectionCards": CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1 diff --git a/src/graphics/Icon.tsx b/src/graphics/Icon.tsx new file mode 100644 index 00000000..003f4c77 --- /dev/null +++ b/src/graphics/Icon.tsx @@ -0,0 +1,12 @@ +export function Icon() { + return ( + + ) +} diff --git a/src/graphics/Logo.tsx b/src/graphics/Logo.tsx new file mode 100644 index 00000000..7d723a1e --- /dev/null +++ b/src/graphics/Logo.tsx @@ -0,0 +1,3 @@ +export function Logo() { + return CodeZero +} diff --git a/src/payload.config.ts b/src/payload.config.ts index 1fc02517..6a4787cb 100644 --- a/src/payload.config.ts +++ b/src/payload.config.ts @@ -45,10 +45,26 @@ export default buildConfig({ importMap: { baseDir: path.resolve(dirname), }, + components: { + graphics: { + Icon: "/graphics/Icon.tsx#Icon", + Logo: "/graphics/Logo.tsx#Logo", + }, + }, livePreview: { url: "http://localhost:3000", collections: ["pages", "jobs", "actions", "team-members", "features", "blog"], }, + meta: { + titleSuffix: "- CodeZero", + icons: [ + { + type: "image/ico", + rel: "icon", + url: "/favicons/favicon.ico", + }, + ], + }, }, localization: { locales: ["en", "de"], From ff3d8095980fb8a9bc2ba1af74bac54baddc7f1d Mon Sep 17 00:00:00 2001 From: mvriu5 Date: Thu, 23 Jul 2026 10:42:06 +0200 Subject: [PATCH 4/6] feat: improve flowexample section node layout --- src/blocks/FlowExampleBlock.ts | 21 +- src/collections/pages.ts | 1 + src/components/nodes/NodeDisplay.tsx | 17 +- src/components/nodes/TriggerDisplay.tsx | 40 + .../sections/FlowExampleSection.tsx | 39 +- .../sections/client/FlowExampleDiagram.tsx | 17 +- ...3358_20260723_flow_example_item_icons.json | 14089 +++++++++++++++ ...073358_20260723_flow_example_item_icons.ts | 38 + ..._083548_20260723_flow_example_layouts.json | 14104 ++++++++++++++++ ...23_083548_20260723_flow_example_layouts.ts | 41 + src/migrations/index.ts | 14 +- src/payload-types.ts | 7 +- 12 files changed, 28380 insertions(+), 48 deletions(-) create mode 100644 src/components/nodes/TriggerDisplay.tsx create mode 100644 src/migrations/20260723_073358_20260723_flow_example_item_icons.json create mode 100644 src/migrations/20260723_073358_20260723_flow_example_item_icons.ts create mode 100644 src/migrations/20260723_083548_20260723_flow_example_layouts.json create mode 100644 src/migrations/20260723_083548_20260723_flow_example_layouts.ts diff --git a/src/blocks/FlowExampleBlock.ts b/src/blocks/FlowExampleBlock.ts index 81f4e7ed..8e9be202 100644 --- a/src/blocks/FlowExampleBlock.ts +++ b/src/blocks/FlowExampleBlock.ts @@ -31,14 +31,13 @@ export const FlowExampleBlock: Block = { }, { name: "sectionLayout", - label: "Flow Layout", + label: "Section Layout", type: "select", required: true, - defaultValue: "flowCenter", + defaultValue: "center", options: [ - { label: "Flow center", value: "flowCenter" }, - { label: "Flow left", value: "flowLeft" }, - { label: "Flow right", value: "flowRight" }, + { label: "Center", value: "center" }, + { label: "Left", value: "left" }, ], }, { @@ -70,6 +69,17 @@ export const FlowExampleBlock: Block = { type: "textarea", localized: true, }, + { + name: "flowLayout", + label: "Flow Layout", + type: "select", + required: true, + defaultValue: "left", + options: [ + { label: "Flow left", value: "left" }, + { label: "Flow right", value: "right" }, + ], + }, { name: "flow", type: "group", @@ -92,6 +102,7 @@ export const FlowExampleBlock: Block = { label: "Flow items", type: "array", fields: [ + flowIconField(), { name: "color", type: "select", diff --git a/src/collections/pages.ts b/src/collections/pages.ts index f836e198..9cb71798 100644 --- a/src/collections/pages.ts +++ b/src/collections/pages.ts @@ -62,6 +62,7 @@ export const Pages: CollectionConfig = { { label: "open-source-no-code-automation", value: "open-source-no-code-automation" }, { label: "contact", value: "contact" }, { label: "actions", value: "actions" }, + { label: "action-details", value: "action-details" }, { label: "community-edition", value: "community-edition" }, { label: "enterprise-edition", value: "enterprise-edition" }, { label: "subscription", value: "subscription" }, diff --git a/src/components/nodes/NodeDisplay.tsx b/src/components/nodes/NodeDisplay.tsx index 634f54f8..e4374b93 100644 --- a/src/components/nodes/NodeDisplay.tsx +++ b/src/components/nodes/NodeDisplay.tsx @@ -3,6 +3,7 @@ import { StableBadge } from "@/components/ui/StableBadge" import { Card, Flex, Text } from "@code0-tech/pictor" import { IconNote, IconVariable } from "@tabler/icons-react" +import type { ReactNode } from "react" export type NodeSegmentType = "text" | "literal" | "reference" | "node" export type NodeAccent = "brand" | "yellow" | "aqua" | "blue" | "pink" @@ -25,6 +26,7 @@ export interface NodeSegment { } export interface NodeItem { + icon?: ReactNode color: NodeAccent segments: NodeSegment[] outline: boolean @@ -52,8 +54,13 @@ export function NodeMessage({ segments }: { segments: NodeSegment[] }) { ) case "node": return ( - - + + {segment.value} @@ -61,7 +68,7 @@ export function NodeMessage({ segments }: { segments: NodeSegment[] }) { ) case "text": return ( - + {segment.value} ) @@ -73,7 +80,9 @@ export function NodeDisplay({ node }: { node: NodeItem }) { return ( - + + {node.icon ?? } + diff --git a/src/components/nodes/TriggerDisplay.tsx b/src/components/nodes/TriggerDisplay.tsx new file mode 100644 index 00000000..6766a61b --- /dev/null +++ b/src/components/nodes/TriggerDisplay.tsx @@ -0,0 +1,40 @@ +"use client" + +import { Card, Flex, Text } from "@code0-tech/pictor" +import type { ReactNode } from "react" + +export interface TriggerDisplayProps { + icon: ReactNode + text: string +} + +export function TriggerDisplay({ icon, text }: TriggerDisplayProps) { + return ( + + + + {icon} + + + + {text} + + + ) +} diff --git a/src/components/sections/FlowExampleSection.tsx b/src/components/sections/FlowExampleSection.tsx index f29506c1..0a505ba3 100644 --- a/src/components/sections/FlowExampleSection.tsx +++ b/src/components/sections/FlowExampleSection.tsx @@ -25,6 +25,7 @@ export function FlowExampleSection({ content }: FlowExampleSectionProps) { content.flow?.items?.map((item, index) => ({ id: String(item.id ?? index), node: { + icon: getIcon(item.icon, 16), color: item.color as NodeAccent, outline: item.outline !== false, segments: item.segments.map((segment) => ({ @@ -33,11 +34,10 @@ export function FlowExampleSection({ content }: FlowExampleSectionProps) { })), }, })) ?? [] - const isCenter = content.sectionLayout === "flowCenter" - const isRight = content.sectionLayout === "flowRight" + const isFlowRight = content.flowLayout === "right" const showBorder = Boolean(content.showBorder) const flow = ( -
+
) - const example = ( -
- {isCenter ? ( - <> - {flow} - {(content.contentHeading || content.contentDescription) && body} - - ) : ( - <> - {flow} - {body} - - )} +
+ {flow} + {body}
) return ( -
-
+
+
{showBorder ? ( {example} diff --git a/src/components/sections/client/FlowExampleDiagram.tsx b/src/components/sections/client/FlowExampleDiagram.tsx index 68b3d176..1cc65be2 100644 --- a/src/components/sections/client/FlowExampleDiagram.tsx +++ b/src/components/sections/client/FlowExampleDiagram.tsx @@ -1,7 +1,7 @@ "use client" -import { Text } from "@code0-tech/pictor" import { getNodeAccentColor, NodeDisplay, type NodeItem } from "@/components/nodes/NodeDisplay" +import { TriggerDisplay } from "@/components/nodes/TriggerDisplay" import { m as motion, useReducedMotion } from "motion/react" import type { ReactNode } from "react" @@ -16,19 +16,6 @@ export interface FlowDiagramItem { node: NodeItem } -function FlowNode({ node }: { node: FlowDiagramNode }) { - return ( -
-
- {node.icon} -
- - {node.text} - -
- ) -} - export function FlowExampleDiagram({ trigger, items }: { trigger: FlowDiagramNode; items: FlowDiagramItem[] }) { const reducedMotion = useReducedMotion() const nodes = [{ id: trigger.id, trigger }, ...items] @@ -84,7 +71,7 @@ export function FlowExampleDiagram({ trigger, items }: { trigger: FlowDiagramNod transition={{ duration: 0.38, delay: index * 0.2, ease: [0.22, 1, 0.36, 1] }} > {"trigger" in node ? ( - + ) : ( { + await db.execute(sql` + ALTER TYPE "public"."enum_pages_slug" ADD VALUE IF NOT EXISTS 'action-details' AFTER 'actions'; + DELETE FROM "pages_blocks_flow_example_flow_items_segments" AS "segment" + WHERE NOT EXISTS ( + SELECT 1 + FROM "pages_blocks_flow_example_flow_items" AS "item" + WHERE "item"."id" = "segment"."_parent_id" + ); + DO $$ + BEGIN + IF NOT EXISTS ( + SELECT 1 + FROM "pg_constraint" + WHERE "conname" = 'pages_blocks_flow_example_flow_items_segments_parent_id_fk' + ) THEN + ALTER TABLE "pages_blocks_flow_example_flow_items_segments" + ADD CONSTRAINT "pages_blocks_flow_example_flow_items_segments_parent_id_fk" + FOREIGN KEY ("_parent_id") + REFERENCES "public"."pages_blocks_flow_example_flow_items"("id") + ON DELETE cascade + ON UPDATE no action; + END IF; + END + $$; + ALTER TABLE "pages_blocks_flow_example_flow_items" ADD COLUMN IF NOT EXISTS "icon" varchar; + UPDATE "pages_blocks_flow_example_flow_items" + SET "icon" = 'tabler:IconCube' + WHERE "icon" IS NULL; + ALTER TABLE "pages_blocks_flow_example_flow_items" ALTER COLUMN "icon" SET NOT NULL;`) +} + +export async function down({ db, payload, req }: MigrateDownArgs): Promise { + await db.execute(sql` + ALTER TABLE "pages_blocks_flow_example_flow_items" DROP COLUMN IF EXISTS "icon";`) +} diff --git a/src/migrations/20260723_083548_20260723_flow_example_layouts.json b/src/migrations/20260723_083548_20260723_flow_example_layouts.json new file mode 100644 index 00000000..0e58e318 --- /dev/null +++ b/src/migrations/20260723_083548_20260723_flow_example_layouts.json @@ -0,0 +1,14104 @@ +{ + "version": "7", + "dialect": "postgresql", + "tables": { + "public.users_sessions": { + "name": "users_sessions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "users_sessions_order_idx": { + "name": "users_sessions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_sessions_parent_id_idx": { + "name": "users_sessions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_sessions_parent_id_fk": { + "name": "users_sessions_parent_id_fk", + "tableFrom": "users_sessions", + "tableTo": "users", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.users": { + "name": "users", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "ai_provider": { + "name": "ai_provider", + "type": "enum_users_ai_provider", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'openai'" + }, + "ai_api_key": { + "name": "ai_api_key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "email": { + "name": "email", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "reset_password_token": { + "name": "reset_password_token", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "reset_password_expiration": { + "name": "reset_password_expiration", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "salt": { + "name": "salt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hash": { + "name": "hash", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "login_attempts": { + "name": "login_attempts", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "lock_until": { + "name": "lock_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "users_image_idx": { + "name": "users_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_updated_at_idx": { + "name": "users_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_created_at_idx": { + "name": "users_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_email_idx": { + "name": "users_email_idx", + "columns": [ + { + "expression": "email", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_image_id_media_id_fk": { + "name": "users_image_id_media_id_fk", + "tableFrom": "users", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.media": { + "name": "media", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "alt": { + "name": "alt", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "media_updated_at_idx": { + "name": "media_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_created_at_idx": { + "name": "media_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_filename_idx": { + "name": "media_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_texts": { + "name": "pages_blocks_hero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_hero_texts_order_idx": { + "name": "pages_blocks_hero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_parent_id_idx": { + "name": "pages_blocks_hero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_locale_idx": { + "name": "pages_blocks_hero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_texts_parent_id_fk": { + "name": "pages_blocks_hero_texts_parent_id_fk", + "tableFrom": "pages_blocks_hero_texts", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_buttons": { + "name": "pages_blocks_hero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_hero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_hero_buttons_order_idx": { + "name": "pages_blocks_hero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_parent_id_idx": { + "name": "pages_blocks_hero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_locale_idx": { + "name": "pages_blocks_hero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_buttons_parent_id_fk": { + "name": "pages_blocks_hero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_hero_buttons", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero": { + "name": "pages_blocks_hero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "centered": { + "name": "centered", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color1": { + "name": "grainient_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color2": { + "name": "grainient_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color3": { + "name": "grainient_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_background_color": { + "name": "grainient_colors_background_color", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_hero_order_idx": { + "name": "pages_blocks_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_parent_id_idx": { + "name": "pages_blocks_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_path_idx": { + "name": "pages_blocks_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_locale_idx": { + "name": "pages_blocks_hero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_image_idx": { + "name": "pages_blocks_hero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_image_id_media_id_fk": { + "name": "pages_blocks_hero_image_id_media_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_hero_parent_id_fk": { + "name": "pages_blocks_hero_parent_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_bento": { + "name": "pages_blocks_bento", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_bento_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_bento_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'feature'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_bento_order_idx": { + "name": "pages_blocks_bento_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_parent_id_idx": { + "name": "pages_blocks_bento_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_path_idx": { + "name": "pages_blocks_bento_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_locale_idx": { + "name": "pages_blocks_bento_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_bento_parent_id_fk": { + "name": "pages_blocks_bento_parent_id_fk", + "tableFrom": "pages_blocks_bento", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards_mask": { + "name": "pages_blocks_offset_cards_cards_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_offset_cards_cards_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_mask_order_idx": { + "name": "pages_blocks_offset_cards_cards_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_parent_idx": { + "name": "pages_blocks_offset_cards_cards_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_locale_idx": { + "name": "pages_blocks_offset_cards_cards_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_mask_parent_fk": { + "name": "pages_blocks_offset_cards_cards_mask_parent_fk", + "tableFrom": "pages_blocks_offset_cards_cards_mask", + "tableTo": "pages_blocks_offset_cards_cards", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards": { + "name": "pages_blocks_offset_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_order_idx": { + "name": "pages_blocks_offset_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_locale_idx": { + "name": "pages_blocks_offset_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_image_idx": { + "name": "pages_blocks_offset_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_offset_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_offset_cards_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "pages_blocks_offset_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards": { + "name": "pages_blocks_offset_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_offset_cards_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "card_placement": { + "name": "card_placement", + "type": "enum_pages_blocks_offset_cards_card_placement", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'alternate'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_order_idx": { + "name": "pages_blocks_offset_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_path_idx": { + "name": "pages_blocks_offset_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_locale_idx": { + "name": "pages_blocks_offset_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_install": { + "name": "pages_blocks_install", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "language": { + "name": "language", + "type": "enum_pages_blocks_install_language", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "code": { + "name": "code", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_install_order_idx": { + "name": "pages_blocks_install_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_parent_id_idx": { + "name": "pages_blocks_install_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_path_idx": { + "name": "pages_blocks_install_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_locale_idx": { + "name": "pages_blocks_install_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_install_parent_id_fk": { + "name": "pages_blocks_install_parent_id_fk", + "tableFrom": "pages_blocks_install", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards_cards": { + "name": "pages_blocks_swipe_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_cards_order_idx": { + "name": "pages_blocks_swipe_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_image_idx": { + "name": "pages_blocks_swipe_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_swipe_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_swipe_cards_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "pages_blocks_swipe_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards": { + "name": "pages_blocks_swipe_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_order_idx": { + "name": "pages_blocks_swipe_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_path_idx": { + "name": "pages_blocks_swipe_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand_logos": { + "name": "pages_blocks_brand_logos", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_brand_logos_order_idx": { + "name": "pages_blocks_brand_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_parent_id_idx": { + "name": "pages_blocks_brand_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_locale_idx": { + "name": "pages_blocks_brand_logos_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_logo_idx": { + "name": "pages_blocks_brand_logos_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_logos_logo_id_media_id_fk": { + "name": "pages_blocks_brand_logos_logo_id_media_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_brand_logos_parent_id_fk": { + "name": "pages_blocks_brand_logos_parent_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "pages_blocks_brand", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand": { + "name": "pages_blocks_brand", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_brand_order_idx": { + "name": "pages_blocks_brand_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_parent_id_idx": { + "name": "pages_blocks_brand_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_path_idx": { + "name": "pages_blocks_brand_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_locale_idx": { + "name": "pages_blocks_brand_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_parent_id_fk": { + "name": "pages_blocks_brand_parent_id_fk", + "tableFrom": "pages_blocks_brand", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq_items": { + "name": "pages_blocks_faq_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "answer": { + "name": "answer", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_faq_items_order_idx": { + "name": "pages_blocks_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_parent_id_idx": { + "name": "pages_blocks_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_locale_idx": { + "name": "pages_blocks_faq_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_items_parent_id_fk": { + "name": "pages_blocks_faq_items_parent_id_fk", + "tableFrom": "pages_blocks_faq_items", + "tableTo": "pages_blocks_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq": { + "name": "pages_blocks_faq", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_faq_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_faq_order_idx": { + "name": "pages_blocks_faq_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_parent_id_idx": { + "name": "pages_blocks_faq_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_path_idx": { + "name": "pages_blocks_faq_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_locale_idx": { + "name": "pages_blocks_faq_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_parent_id_fk": { + "name": "pages_blocks_faq_parent_id_fk", + "tableFrom": "pages_blocks_faq", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta": { + "name": "pages_blocks_cta", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_label": { + "name": "cta_link_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_url": { + "name": "cta_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_order_idx": { + "name": "pages_blocks_cta_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_parent_id_idx": { + "name": "pages_blocks_cta_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_path_idx": { + "name": "pages_blocks_cta_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_locale_idx": { + "name": "pages_blocks_cta_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_parent_id_fk": { + "name": "pages_blocks_cta_parent_id_fk", + "tableFrom": "pages_blocks_cta", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_texts": { + "name": "pages_blocks_cta_image_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_texts_order_idx": { + "name": "pages_blocks_cta_image_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_parent_id_idx": { + "name": "pages_blocks_cta_image_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_locale_idx": { + "name": "pages_blocks_cta_image_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_texts_parent_id_fk": { + "name": "pages_blocks_cta_image_texts_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_texts", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_buttons": { + "name": "pages_blocks_cta_image_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_cta_image_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_cta_image_buttons_order_idx": { + "name": "pages_blocks_cta_image_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_parent_id_idx": { + "name": "pages_blocks_cta_image_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_locale_idx": { + "name": "pages_blocks_cta_image_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_buttons_parent_id_fk": { + "name": "pages_blocks_cta_image_buttons_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_buttons", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_image_mask": { + "name": "pages_blocks_cta_image_image_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_cta_image_image_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_image_mask_order_idx": { + "name": "pages_blocks_cta_image_image_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_parent_idx": { + "name": "pages_blocks_cta_image_image_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_locale_idx": { + "name": "pages_blocks_cta_image_image_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_mask_parent_fk": { + "name": "pages_blocks_cta_image_image_mask_parent_fk", + "tableFrom": "pages_blocks_cta_image_image_mask", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image": { + "name": "pages_blocks_cta_image", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_card": { + "name": "show_card", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_image_order_idx": { + "name": "pages_blocks_cta_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_parent_id_idx": { + "name": "pages_blocks_cta_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_path_idx": { + "name": "pages_blocks_cta_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_locale_idx": { + "name": "pages_blocks_cta_image_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_idx": { + "name": "pages_blocks_cta_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_id_media_id_fk": { + "name": "pages_blocks_cta_image_image_id_media_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_cta_image_parent_id_fk": { + "name": "pages_blocks_cta_image_parent_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_jobs": { + "name": "pages_blocks_jobs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Join Our Team'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search jobs'" + }, + "all_locations_label": { + "name": "all_locations_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All locations'" + }, + "all_job_types_label": { + "name": "all_job_types_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All job types'" + }, + "all_categories_label": { + "name": "all_categories_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All categories'" + }, + "no_jobs_found_label": { + "name": "no_jobs_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No jobs found for your filter.'" + }, + "application_heading": { + "name": "application_heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Apply now'" + }, + "application_name_label": { + "name": "application_name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "application_name_placeholder": { + "name": "application_name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "application_email_label": { + "name": "application_email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "application_email_placeholder": { + "name": "application_email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "application_message_label": { + "name": "application_message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "application_message_placeholder": { + "name": "application_message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Tell us a bit about yourself...'" + }, + "application_submit_label": { + "name": "application_submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send application'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_jobs_order_idx": { + "name": "pages_blocks_jobs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_parent_id_idx": { + "name": "pages_blocks_jobs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_path_idx": { + "name": "pages_blocks_jobs_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_locale_idx": { + "name": "pages_blocks_jobs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_jobs_parent_id_fk": { + "name": "pages_blocks_jobs_parent_id_fk", + "tableFrom": "pages_blocks_jobs", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog": { + "name": "pages_blocks_blog", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "view_other_blogs_label": { + "name": "view_other_blogs_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'View other blog posts'" + }, + "no_posts_label": { + "name": "no_posts_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No blog posts available.'" + }, + "load_more_label": { + "name": "load_more_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Load more'" + }, + "loading_label": { + "name": "loading_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Loading...'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_order_idx": { + "name": "pages_blocks_blog_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_parent_id_idx": { + "name": "pages_blocks_blog_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_path_idx": { + "name": "pages_blocks_blog_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_locale_idx": { + "name": "pages_blocks_blog_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_parent_id_fk": { + "name": "pages_blocks_blog_parent_id_fk", + "tableFrom": "pages_blocks_blog", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog_preview": { + "name": "pages_blocks_blog_preview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_blog_preview_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageCenter'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_preview_order_idx": { + "name": "pages_blocks_blog_preview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_parent_id_idx": { + "name": "pages_blocks_blog_preview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_path_idx": { + "name": "pages_blocks_blog_preview_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_locale_idx": { + "name": "pages_blocks_blog_preview_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_blog_idx": { + "name": "pages_blocks_blog_preview_blog_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_preview_blog_id_blog_id_fk": { + "name": "pages_blocks_blog_preview_blog_id_blog_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_blog_preview_parent_id_fk": { + "name": "pages_blocks_blog_preview_parent_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_border": { + "name": "pages_blocks_border", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "padding_top": { + "name": "padding_top", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "padding_bottom": { + "name": "padding_bottom", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_border_order_idx": { + "name": "pages_blocks_border_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_parent_id_idx": { + "name": "pages_blocks_border_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_path_idx": { + "name": "pages_blocks_border_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_locale_idx": { + "name": "pages_blocks_border_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_border_parent_id_fk": { + "name": "pages_blocks_border_parent_id_fk", + "tableFrom": "pages_blocks_border", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_actions": { + "name": "pages_blocks_actions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Actions'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Browse available actions and integrations.'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search actions'" + }, + "no_actions_found_label": { + "name": "no_actions_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No actions found for your search.'" + }, + "references_label": { + "name": "references_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'References'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_actions_order_idx": { + "name": "pages_blocks_actions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_parent_id_idx": { + "name": "pages_blocks_actions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_path_idx": { + "name": "pages_blocks_actions_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_locale_idx": { + "name": "pages_blocks_actions_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_actions_parent_id_fk": { + "name": "pages_blocks_actions_parent_id_fk", + "tableFrom": "pages_blocks_actions", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_markdown": { + "name": "pages_blocks_markdown", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_markdown_order_idx": { + "name": "pages_blocks_markdown_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_parent_id_idx": { + "name": "pages_blocks_markdown_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_path_idx": { + "name": "pages_blocks_markdown_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_locale_idx": { + "name": "pages_blocks_markdown_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_markdown_parent_id_fk": { + "name": "pages_blocks_markdown_parent_id_fk", + "tableFrom": "pages_blocks_markdown", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_contact": { + "name": "pages_blocks_contact", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Contact us'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "name_label": { + "name": "name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "name_placeholder": { + "name": "name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "email_label": { + "name": "email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "email_placeholder": { + "name": "email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "message_label": { + "name": "message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "message_placeholder": { + "name": "message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'How can we help you?'" + }, + "submit_label": { + "name": "submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send message'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_contact_order_idx": { + "name": "pages_blocks_contact_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_parent_id_idx": { + "name": "pages_blocks_contact_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_path_idx": { + "name": "pages_blocks_contact_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_locale_idx": { + "name": "pages_blocks_contact_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_contact_parent_id_fk": { + "name": "pages_blocks_contact_parent_id_fk", + "tableFrom": "pages_blocks_contact", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row_cards": { + "name": "pages_blocks_card_row_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_cards_order_idx": { + "name": "pages_blocks_card_row_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_parent_id_idx": { + "name": "pages_blocks_card_row_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_locale_idx": { + "name": "pages_blocks_card_row_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_image_idx": { + "name": "pages_blocks_card_row_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_cards_image_id_media_id_fk": { + "name": "pages_blocks_card_row_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_card_row_cards_parent_id_fk": { + "name": "pages_blocks_card_row_cards_parent_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "pages_blocks_card_row", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row": { + "name": "pages_blocks_card_row", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_card_row_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_order_idx": { + "name": "pages_blocks_card_row_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_parent_id_idx": { + "name": "pages_blocks_card_row_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_path_idx": { + "name": "pages_blocks_card_row_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_locale_idx": { + "name": "pages_blocks_card_row_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_parent_id_fk": { + "name": "pages_blocks_card_row_parent_id_fk", + "tableFrom": "pages_blocks_card_row", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap_items": { + "name": "pages_blocks_roadmap_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "time": { + "name": "time", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_roadmap_items_order_idx": { + "name": "pages_blocks_roadmap_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_parent_id_idx": { + "name": "pages_blocks_roadmap_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_locale_idx": { + "name": "pages_blocks_roadmap_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_items_parent_id_fk": { + "name": "pages_blocks_roadmap_items_parent_id_fk", + "tableFrom": "pages_blocks_roadmap_items", + "tableTo": "pages_blocks_roadmap", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap": { + "name": "pages_blocks_roadmap", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_roadmap_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_roadmap_order_idx": { + "name": "pages_blocks_roadmap_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_parent_id_idx": { + "name": "pages_blocks_roadmap_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_path_idx": { + "name": "pages_blocks_roadmap_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_locale_idx": { + "name": "pages_blocks_roadmap_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_parent_id_fk": { + "name": "pages_blocks_roadmap_parent_id_fk", + "tableFrom": "pages_blocks_roadmap", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards_items": { + "name": "pages_blocks_scroll_cards_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_scroll_cards_items_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_scroll_cards_items_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_items_order_idx": { + "name": "pages_blocks_scroll_cards_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_parent_id_idx": { + "name": "pages_blocks_scroll_cards_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_locale_idx": { + "name": "pages_blocks_scroll_cards_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_image_idx": { + "name": "pages_blocks_scroll_cards_items_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_items_image_id_media_id_fk": { + "name": "pages_blocks_scroll_cards_items_image_id_media_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_scroll_cards_items_parent_id_fk": { + "name": "pages_blocks_scroll_cards_items_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "pages_blocks_scroll_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards": { + "name": "pages_blocks_scroll_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_order_idx": { + "name": "pages_blocks_scroll_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_parent_id_idx": { + "name": "pages_blocks_scroll_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_path_idx": { + "name": "pages_blocks_scroll_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_locale_idx": { + "name": "pages_blocks_scroll_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_parent_id_fk": { + "name": "pages_blocks_scroll_cards_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_standalone_card": { + "name": "pages_blocks_standalone_card", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_standalone_card_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_standalone_card_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_standalone_card_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_standalone_card_order_idx": { + "name": "pages_blocks_standalone_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_parent_id_idx": { + "name": "pages_blocks_standalone_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_path_idx": { + "name": "pages_blocks_standalone_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_locale_idx": { + "name": "pages_blocks_standalone_card_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_image_idx": { + "name": "pages_blocks_standalone_card_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_standalone_card_image_id_media_id_fk": { + "name": "pages_blocks_standalone_card_image_id_media_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_standalone_card_parent_id_fk": { + "name": "pages_blocks_standalone_card_parent_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_video": { + "name": "pages_blocks_video", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "source_type": { + "name": "source_type", + "type": "enum_pages_blocks_video_source_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'url'" + }, + "video_url": { + "name": "video_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "video_id": { + "name": "video_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "poster_id": { + "name": "poster_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "controls": { + "name": "controls", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "auto_play": { + "name": "auto_play", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "muted": { + "name": "muted", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "loop": { + "name": "loop", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "plays_inline": { + "name": "plays_inline", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_video_order_idx": { + "name": "pages_blocks_video_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_parent_id_idx": { + "name": "pages_blocks_video_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_path_idx": { + "name": "pages_blocks_video_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_locale_idx": { + "name": "pages_blocks_video_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_video_idx": { + "name": "pages_blocks_video_video_idx", + "columns": [ + { + "expression": "video_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_poster_idx": { + "name": "pages_blocks_video_poster_idx", + "columns": [ + { + "expression": "poster_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_video_video_id_media_id_fk": { + "name": "pages_blocks_video_video_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "video_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_poster_id_media_id_fk": { + "name": "pages_blocks_video_poster_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "poster_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_parent_id_fk": { + "name": "pages_blocks_video_parent_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_mask": { + "name": "pages_blocks_widehero_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_widehero_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_mask_order_idx": { + "name": "pages_blocks_widehero_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_parent_idx": { + "name": "pages_blocks_widehero_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_locale_idx": { + "name": "pages_blocks_widehero_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_mask_parent_fk": { + "name": "pages_blocks_widehero_mask_parent_fk", + "tableFrom": "pages_blocks_widehero_mask", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_texts": { + "name": "pages_blocks_widehero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_texts_order_idx": { + "name": "pages_blocks_widehero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_parent_id_idx": { + "name": "pages_blocks_widehero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_locale_idx": { + "name": "pages_blocks_widehero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_texts_parent_id_fk": { + "name": "pages_blocks_widehero_texts_parent_id_fk", + "tableFrom": "pages_blocks_widehero_texts", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_buttons": { + "name": "pages_blocks_widehero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_widehero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_widehero_buttons_order_idx": { + "name": "pages_blocks_widehero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_parent_id_idx": { + "name": "pages_blocks_widehero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_locale_idx": { + "name": "pages_blocks_widehero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_buttons_parent_id_fk": { + "name": "pages_blocks_widehero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_widehero_buttons", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero": { + "name": "pages_blocks_widehero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "shine_colors_color1": { + "name": "shine_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color2": { + "name": "shine_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color3": { + "name": "shine_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_widehero_order_idx": { + "name": "pages_blocks_widehero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_parent_id_idx": { + "name": "pages_blocks_widehero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_path_idx": { + "name": "pages_blocks_widehero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_locale_idx": { + "name": "pages_blocks_widehero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_image_idx": { + "name": "pages_blocks_widehero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_image_id_media_id_fk": { + "name": "pages_blocks_widehero_image_id_media_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_widehero_parent_id_fk": { + "name": "pages_blocks_widehero_parent_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature_features": { + "name": "pages_blocks_list_feature_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_features_order_idx": { + "name": "pages_blocks_list_feature_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_parent_id_idx": { + "name": "pages_blocks_list_feature_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_locale_idx": { + "name": "pages_blocks_list_feature_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_features_parent_id_fk": { + "name": "pages_blocks_list_feature_features_parent_id_fk", + "tableFrom": "pages_blocks_list_feature_features", + "tableTo": "pages_blocks_list_feature", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature": { + "name": "pages_blocks_list_feature", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_list_feature_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_order_idx": { + "name": "pages_blocks_list_feature_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_parent_id_idx": { + "name": "pages_blocks_list_feature_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_path_idx": { + "name": "pages_blocks_list_feature_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_locale_idx": { + "name": "pages_blocks_list_feature_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_parent_id_fk": { + "name": "pages_blocks_list_feature_parent_id_fk", + "tableFrom": "pages_blocks_list_feature", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats_items": { + "name": "pages_blocks_stats_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "number": { + "name": "number", + "type": "numeric", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "enable_number_flow": { + "name": "enable_number_flow", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_plus": { + "name": "show_plus", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + } + }, + "indexes": { + "pages_blocks_stats_items_order_idx": { + "name": "pages_blocks_stats_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_parent_id_idx": { + "name": "pages_blocks_stats_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_locale_idx": { + "name": "pages_blocks_stats_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_items_parent_id_fk": { + "name": "pages_blocks_stats_items_parent_id_fk", + "tableFrom": "pages_blocks_stats_items", + "tableTo": "pages_blocks_stats", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats": { + "name": "pages_blocks_stats", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_stats_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_stats_order_idx": { + "name": "pages_blocks_stats_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_parent_id_idx": { + "name": "pages_blocks_stats_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_path_idx": { + "name": "pages_blocks_stats_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_locale_idx": { + "name": "pages_blocks_stats_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_parent_id_fk": { + "name": "pages_blocks_stats_parent_id_fk", + "tableFrom": "pages_blocks_stats", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example_flow_items_segments": { + "name": "pages_blocks_flow_example_flow_items_segments", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_pages_blocks_flow_example_flow_items_segments_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'text'" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_flow_example_flow_items_segments_order_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_segments_parent_id_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_segments_locale_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_flow_items_segments_parent_id_fk": { + "name": "pages_blocks_flow_example_flow_items_segments_parent_id_fk", + "tableFrom": "pages_blocks_flow_example_flow_items_segments", + "tableTo": "pages_blocks_flow_example_flow_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example_flow_items": { + "name": "pages_blocks_flow_example_flow_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "color": { + "name": "color", + "type": "enum_pages_blocks_flow_example_flow_items_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'brand'" + }, + "outline": { + "name": "outline", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + } + }, + "indexes": { + "pages_blocks_flow_example_flow_items_order_idx": { + "name": "pages_blocks_flow_example_flow_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_parent_id_idx": { + "name": "pages_blocks_flow_example_flow_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_locale_idx": { + "name": "pages_blocks_flow_example_flow_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_flow_items_parent_id_fk": { + "name": "pages_blocks_flow_example_flow_items_parent_id_fk", + "tableFrom": "pages_blocks_flow_example_flow_items", + "tableTo": "pages_blocks_flow_example", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example": { + "name": "pages_blocks_flow_example", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_flow_example_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_heading": { + "name": "content_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_description": { + "name": "content_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "flow_layout": { + "name": "flow_layout", + "type": "enum_pages_blocks_flow_example_flow_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'left'" + }, + "flow_trigger_icon": { + "name": "flow_trigger_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "flow_trigger_name": { + "name": "flow_trigger_name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_flow_example_order_idx": { + "name": "pages_blocks_flow_example_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_parent_id_idx": { + "name": "pages_blocks_flow_example_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_path_idx": { + "name": "pages_blocks_flow_example_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_locale_idx": { + "name": "pages_blocks_flow_example_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_parent_id_fk": { + "name": "pages_blocks_flow_example_parent_id_fk", + "tableFrom": "pages_blocks_flow_example", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages": { + "name": "pages", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_pages_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "pages_slug_idx": { + "name": "pages_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_updated_at_idx": { + "name": "pages_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_created_at_idx": { + "name": "pages_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_locales": { + "name": "pages_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_meta_meta_image_idx": { + "name": "pages_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_locales_locale_parent_id_unique": { + "name": "pages_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_locales_meta_image_id_media_id_fk": { + "name": "pages_locales_meta_image_id_media_id_fk", + "tableFrom": "pages_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_locales_parent_id_fk": { + "name": "pages_locales_parent_id_fk", + "tableFrom": "pages_locales", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_texts": { + "name": "pages_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_texts_order_parent": { + "name": "pages_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_texts_locale_parent": { + "name": "pages_texts_locale_parent", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_texts_parent_fk": { + "name": "pages_texts_parent_fk", + "tableFrom": "pages_texts", + "tableTo": "pages", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features": { + "name": "features", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_features_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "features_slug_idx": { + "name": "features_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_updated_at_idx": { + "name": "features_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_created_at_idx": { + "name": "features_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features_locales": { + "name": "features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "features_locales_locale_parent_id_unique": { + "name": "features_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "features_locales_parent_id_fk": { + "name": "features_locales_parent_id_fk", + "tableFrom": "features_locales", + "tableTo": "features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions": { + "name": "actions", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "trigger_id": { + "name": "trigger_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "functiondefinitions_id": { + "name": "functiondefinitions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "documentation_url": { + "name": "documentation_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "actions_slug_idx": { + "name": "actions_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_icon_idx": { + "name": "actions_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_trigger_idx": { + "name": "actions_trigger_idx", + "columns": [ + { + "expression": "trigger_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_functiondefinitions_idx": { + "name": "actions_functiondefinitions_idx", + "columns": [ + { + "expression": "functiondefinitions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_updated_at_idx": { + "name": "actions_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_created_at_idx": { + "name": "actions_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_icon_id_media_id_fk": { + "name": "actions_icon_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_trigger_id_media_id_fk": { + "name": "actions_trigger_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "trigger_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_functiondefinitions_id_media_id_fk": { + "name": "actions_functiondefinitions_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "functiondefinitions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_locales": { + "name": "actions_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "documentation_label": { + "name": "documentation_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "actions_locales_locale_parent_id_unique": { + "name": "actions_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_locales_parent_id_fk": { + "name": "actions_locales_parent_id_fk", + "tableFrom": "actions_locales", + "tableTo": "actions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_texts": { + "name": "actions_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_texts_order_parent": { + "name": "actions_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_texts_parent_fk": { + "name": "actions_texts_parent_fk", + "tableFrom": "actions_texts", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_rels": { + "name": "actions_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_rels_order_idx": { + "name": "actions_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_parent_idx": { + "name": "actions_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_path_idx": { + "name": "actions_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_actions_id_idx": { + "name": "actions_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_rels_parent_fk": { + "name": "actions_rels_parent_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "actions_rels_actions_fk": { + "name": "actions_rels_actions_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs": { + "name": "jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "category": { + "name": "category", + "type": "enum_jobs_category", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_jobs_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "location": { + "name": "location", + "type": "enum_jobs_location", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "jobs_slug_idx": { + "name": "jobs_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_updated_at_idx": { + "name": "jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_created_at_idx": { + "name": "jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs_locales": { + "name": "jobs_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "jobs_locales_locale_parent_id_unique": { + "name": "jobs_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "jobs_locales_parent_id_fk": { + "name": "jobs_locales_parent_id_fk", + "tableFrom": "jobs_locales", + "tableTo": "jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog": { + "name": "blog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "is_pinned": { + "name": "is_pinned", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "author_id": { + "name": "author_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "hero_image_id": { + "name": "hero_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "blog_slug_idx": { + "name": "blog_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_is_pinned_idx": { + "name": "blog_is_pinned_idx", + "columns": [ + { + "expression": "is_pinned", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_author_idx": { + "name": "blog_author_idx", + "columns": [ + { + "expression": "author_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_hero_image_idx": { + "name": "blog_hero_image_idx", + "columns": [ + { + "expression": "hero_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_updated_at_idx": { + "name": "blog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_created_at_idx": { + "name": "blog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_author_id_team_members_id_fk": { + "name": "blog_author_id_team_members_id_fk", + "tableFrom": "blog", + "tableTo": "team_members", + "columnsFrom": [ + "author_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_hero_image_id_media_id_fk": { + "name": "blog_hero_image_id_media_id_fk", + "tableFrom": "blog", + "tableTo": "media", + "columnsFrom": [ + "hero_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog_locales": { + "name": "blog_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "blog_meta_meta_image_idx": { + "name": "blog_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_locales_locale_parent_id_unique": { + "name": "blog_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_locales_meta_image_id_media_id_fk": { + "name": "blog_locales_meta_image_id_media_id_fk", + "tableFrom": "blog_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_locales_parent_id_fk": { + "name": "blog_locales_parent_id_fk", + "tableFrom": "blog_locales", + "tableTo": "blog", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members": { + "name": "team_members", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "joined_at": { + "name": "joined_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "team_members_image_idx": { + "name": "team_members_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_updated_at_idx": { + "name": "team_members_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_created_at_idx": { + "name": "team_members_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_image_id_media_id_fk": { + "name": "team_members_image_id_media_id_fk", + "tableFrom": "team_members", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members_locales": { + "name": "team_members_locales", + "schema": "", + "columns": { + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "about": { + "name": "about", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "role": { + "name": "role", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "team_members_locales_locale_parent_id_unique": { + "name": "team_members_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_locales_parent_id_fk": { + "name": "team_members_locales_parent_id_fk", + "tableFrom": "team_members_locales", + "tableTo": "team_members", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports": { + "name": "exports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "format": { + "name": "format", + "type": "enum_exports_format", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'csv'" + }, + "limit": { + "name": "limit", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "page": { + "name": "page", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + }, + "sort": { + "name": "sort", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sort_order": { + "name": "sort_order", + "type": "enum_exports_sort_order", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "enum_exports_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'all'" + }, + "drafts": { + "name": "drafts", + "type": "enum_exports_drafts", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yes'" + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "where": { + "name": "where", + "type": "jsonb", + "primaryKey": false, + "notNull": false, + "default": "'{}'::jsonb" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_updated_at_idx": { + "name": "exports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_created_at_idx": { + "name": "exports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_filename_idx": { + "name": "exports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports_texts": { + "name": "exports_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_texts_order_parent": { + "name": "exports_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "exports_texts_parent_fk": { + "name": "exports_texts_parent_fk", + "tableFrom": "exports_texts", + "tableTo": "exports", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.imports": { + "name": "imports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "import_mode": { + "name": "import_mode", + "type": "enum_imports_import_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "match_field": { + "name": "match_field", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'id'" + }, + "status": { + "name": "status", + "type": "enum_imports_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pending'" + }, + "summary_imported": { + "name": "summary_imported", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_updated": { + "name": "summary_updated", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_total": { + "name": "summary_total", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issues": { + "name": "summary_issues", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issue_details": { + "name": "summary_issue_details", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "imports_updated_at_idx": { + "name": "imports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_created_at_idx": { + "name": "imports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_filename_idx": { + "name": "imports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_ai_auditlog": { + "name": "payload_ai_auditlog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "action": { + "name": "action", + "type": "enum_payload_ai_auditlog_action", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "target_type": { + "name": "target_type", + "type": "enum_payload_ai_auditlog_target_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "collection": { + "name": "collection", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "document_i_d": { + "name": "document_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "target_u_r_l": { + "name": "target_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "additions": { + "name": "additions", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "removals": { + "name": "removals", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "before": { + "name": "before", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "after": { + "name": "after", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "proposal": { + "name": "proposal", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "prompt": { + "name": "prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "input_tokens": { + "name": "input_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "output_tokens": { + "name": "output_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "total_tokens": { + "name": "total_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "ai_response": { + "name": "ai_response", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_i_d": { + "name": "user_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_label": { + "name": "user_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_ai_auditlog_updated_at_idx": { + "name": "payload_ai_auditlog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_ai_auditlog_created_at_idx": { + "name": "payload_ai_auditlog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_kv": { + "name": "payload_kv", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "jsonb", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "payload_kv_key_idx": { + "name": "payload_kv_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs_log": { + "name": "payload_jobs_log", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "executed_at": { + "name": "executed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_log_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "task_i_d": { + "name": "task_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "output": { + "name": "output", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "enum_payload_jobs_log_state", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_jobs_log_order_idx": { + "name": "payload_jobs_log_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_log_parent_id_idx": { + "name": "payload_jobs_log_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_jobs_log_parent_id_fk": { + "name": "payload_jobs_log_parent_id_fk", + "tableFrom": "payload_jobs_log", + "tableTo": "payload_jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs": { + "name": "payload_jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "total_tried": { + "name": "total_tried", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "has_error": { + "name": "has_error", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "queue": { + "name": "queue", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "wait_until": { + "name": "wait_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "processing": { + "name": "processing", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_jobs_completed_at_idx": { + "name": "payload_jobs_completed_at_idx", + "columns": [ + { + "expression": "completed_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_total_tried_idx": { + "name": "payload_jobs_total_tried_idx", + "columns": [ + { + "expression": "total_tried", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_has_error_idx": { + "name": "payload_jobs_has_error_idx", + "columns": [ + { + "expression": "has_error", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_task_slug_idx": { + "name": "payload_jobs_task_slug_idx", + "columns": [ + { + "expression": "task_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_queue_idx": { + "name": "payload_jobs_queue_idx", + "columns": [ + { + "expression": "queue", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_wait_until_idx": { + "name": "payload_jobs_wait_until_idx", + "columns": [ + { + "expression": "wait_until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_processing_idx": { + "name": "payload_jobs_processing_idx", + "columns": [ + { + "expression": "processing", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_updated_at_idx": { + "name": "payload_jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_created_at_idx": { + "name": "payload_jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents": { + "name": "payload_locked_documents", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "global_slug": { + "name": "global_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_locked_documents_global_slug_idx": { + "name": "payload_locked_documents_global_slug_idx", + "columns": [ + { + "expression": "global_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_updated_at_idx": { + "name": "payload_locked_documents_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_created_at_idx": { + "name": "payload_locked_documents_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents_rels": { + "name": "payload_locked_documents_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "media_id": { + "name": "media_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "features_id": { + "name": "features_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "jobs_id": { + "name": "jobs_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "team_members_id": { + "name": "team_members_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "payload_ai_auditlog_id": { + "name": "payload_ai_auditlog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_locked_documents_rels_order_idx": { + "name": "payload_locked_documents_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_parent_idx": { + "name": "payload_locked_documents_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_path_idx": { + "name": "payload_locked_documents_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_users_id_idx": { + "name": "payload_locked_documents_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_media_id_idx": { + "name": "payload_locked_documents_rels_media_id_idx", + "columns": [ + { + "expression": "media_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_pages_id_idx": { + "name": "payload_locked_documents_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_features_id_idx": { + "name": "payload_locked_documents_rels_features_id_idx", + "columns": [ + { + "expression": "features_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_actions_id_idx": { + "name": "payload_locked_documents_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_jobs_id_idx": { + "name": "payload_locked_documents_rels_jobs_id_idx", + "columns": [ + { + "expression": "jobs_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_blog_id_idx": { + "name": "payload_locked_documents_rels_blog_id_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_team_members_id_idx": { + "name": "payload_locked_documents_rels_team_members_id_idx", + "columns": [ + { + "expression": "team_members_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_payload_ai_auditlog_id_idx": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_id_idx", + "columns": [ + { + "expression": "payload_ai_auditlog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_locked_documents_rels_parent_fk": { + "name": "payload_locked_documents_rels_parent_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_locked_documents", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_users_fk": { + "name": "payload_locked_documents_rels_users_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_media_fk": { + "name": "payload_locked_documents_rels_media_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "media", + "columnsFrom": [ + "media_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_pages_fk": { + "name": "payload_locked_documents_rels_pages_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_features_fk": { + "name": "payload_locked_documents_rels_features_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "features", + "columnsFrom": [ + "features_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_actions_fk": { + "name": "payload_locked_documents_rels_actions_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_jobs_fk": { + "name": "payload_locked_documents_rels_jobs_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "jobs", + "columnsFrom": [ + "jobs_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_blog_fk": { + "name": "payload_locked_documents_rels_blog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_team_members_fk": { + "name": "payload_locked_documents_rels_team_members_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "team_members", + "columnsFrom": [ + "team_members_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_payload_ai_auditlog_fk": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_ai_auditlog", + "columnsFrom": [ + "payload_ai_auditlog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences": { + "name": "payload_preferences", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "value": { + "name": "value", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_preferences_key_idx": { + "name": "payload_preferences_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_updated_at_idx": { + "name": "payload_preferences_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_created_at_idx": { + "name": "payload_preferences_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences_rels": { + "name": "payload_preferences_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_preferences_rels_order_idx": { + "name": "payload_preferences_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_parent_idx": { + "name": "payload_preferences_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_path_idx": { + "name": "payload_preferences_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_users_id_idx": { + "name": "payload_preferences_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_preferences_rels_parent_fk": { + "name": "payload_preferences_rels_parent_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "payload_preferences", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_preferences_rels_users_fk": { + "name": "payload_preferences_rels_users_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_migrations": { + "name": "payload_migrations", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "batch": { + "name": "batch", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_migrations_updated_at_idx": { + "name": "payload_migrations_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_migrations_created_at_idx": { + "name": "payload_migrations_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu": { + "name": "navigation_items_items_sub_menu", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_order_idx": { + "name": "navigation_items_items_sub_menu_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_sub_menu_parent_id_idx": { + "name": "navigation_items_items_sub_menu_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_parent_id_fk": { + "name": "navigation_items_items_sub_menu_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu_locales": { + "name": "navigation_items_items_sub_menu_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_locales_locale_parent_id_uni": { + "name": "navigation_items_items_sub_menu_locales_locale_parent_id_uni", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_locales_parent_id_fk": { + "name": "navigation_items_items_sub_menu_locales_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu_locales", + "tableTo": "navigation_items_items_sub_menu", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items": { + "name": "navigation_items_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + } + }, + "indexes": { + "navigation_items_items_order_idx": { + "name": "navigation_items_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_parent_id_idx": { + "name": "navigation_items_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_parent_id_fk": { + "name": "navigation_items_items_parent_id_fk", + "tableFrom": "navigation_items_items", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_locales": { + "name": "navigation_items_items_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_locales_locale_parent_id_unique": { + "name": "navigation_items_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_locales_parent_id_fk": { + "name": "navigation_items_items_locales_parent_id_fk", + "tableFrom": "navigation_items_items_locales", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons": { + "name": "navigation_buttons_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "new_tab": { + "name": "new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "variant": { + "name": "variant", + "type": "enum_navigation_buttons_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'normal'" + } + }, + "indexes": { + "navigation_buttons_buttons_order_idx": { + "name": "navigation_buttons_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_buttons_buttons_parent_id_idx": { + "name": "navigation_buttons_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_parent_id_fk": { + "name": "navigation_buttons_buttons_parent_id_fk", + "tableFrom": "navigation_buttons_buttons", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons_locales": { + "name": "navigation_buttons_buttons_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_buttons_buttons_locales_locale_parent_id_unique": { + "name": "navigation_buttons_buttons_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_locales_parent_id_fk": { + "name": "navigation_buttons_buttons_locales_parent_id_fk", + "tableFrom": "navigation_buttons_buttons_locales", + "tableTo": "navigation_buttons_buttons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation": { + "name": "navigation", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "navigation_logo_idx": { + "name": "navigation_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_logo_id_media_id_fk": { + "name": "navigation_logo_id_media_id_fk", + "tableFrom": "navigation", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_social_links": { + "name": "footer_social_links", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "platform": { + "name": "platform", + "type": "enum_footer_social_links_platform", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_social_links_order_idx": { + "name": "footer_social_links_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_social_links_parent_id_idx": { + "name": "footer_social_links_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_social_links_parent_id_fk": { + "name": "footer_social_links_parent_id_fk", + "tableFrom": "footer_social_links", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items": { + "name": "footer_groups_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_order_idx": { + "name": "footer_groups_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_items_parent_id_idx": { + "name": "footer_groups_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_parent_id_fk": { + "name": "footer_groups_items_parent_id_fk", + "tableFrom": "footer_groups_items", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items_locales": { + "name": "footer_groups_items_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_locales_locale_parent_id_unique": { + "name": "footer_groups_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_locales_parent_id_fk": { + "name": "footer_groups_items_locales_parent_id_fk", + "tableFrom": "footer_groups_items_locales", + "tableTo": "footer_groups_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups": { + "name": "footer_groups", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "footer_groups_order_idx": { + "name": "footer_groups_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_parent_id_idx": { + "name": "footer_groups_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_parent_id_fk": { + "name": "footer_groups_parent_id_fk", + "tableFrom": "footer_groups", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_locales": { + "name": "footer_groups_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_locales_locale_parent_id_unique": { + "name": "footer_groups_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_locales_parent_id_fk": { + "name": "footer_groups_locales_parent_id_fk", + "tableFrom": "footer_groups_locales", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer": { + "name": "footer", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "contact_email": { + "name": "contact_email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_url": { + "name": "legal_links_privacy_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/privacy'" + }, + "legal_links_legal_notice_url": { + "name": "legal_links_legal_notice_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/legal-notice'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "footer_image_idx": { + "name": "footer_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_image_id_media_id_fk": { + "name": "footer_image_id_media_id_fk", + "tableFrom": "footer", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_locales": { + "name": "footer_locales", + "schema": "", + "columns": { + "company_name": { + "name": "company_name", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'CodeZero GmbH'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_label": { + "name": "legal_links_privacy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Privacy Policy'" + }, + "legal_links_legal_notice_label": { + "name": "legal_links_legal_notice_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Legal Notice'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_locales_locale_parent_id_unique": { + "name": "footer_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_locales_parent_id_fk": { + "name": "footer_locales_parent_id_fk", + "tableFrom": "footer_locales", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner": { + "name": "cookie_banner", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner_locales": { + "name": "cookie_banner_locales", + "schema": "", + "columns": { + "common_accept_all": { + "name": "common_accept_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_reject_all": { + "name": "common_reject_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_customize": { + "name": "common_customize", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_save": { + "name": "common_save", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_title": { + "name": "cookie_banner_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_description": { + "name": "cookie_banner_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_title": { + "name": "consent_manager_dialog_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_description": { + "name": "consent_manager_dialog_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_title": { + "name": "consent_types_necessary_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_description": { + "name": "consent_types_necessary_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_title": { + "name": "consent_types_measurement_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_description": { + "name": "consent_types_measurement_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_title": { + "name": "consent_types_marketing_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_description": { + "name": "consent_types_marketing_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_label": { + "name": "legal_links_privacy_policy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_href": { + "name": "legal_links_privacy_policy_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_label": { + "name": "legal_links_terms_of_service_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_href": { + "name": "legal_links_terms_of_service_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "cookie_banner_locales_locale_parent_id_unique": { + "name": "cookie_banner_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "cookie_banner_locales_parent_id_fk": { + "name": "cookie_banner_locales_parent_id_fk", + "tableFrom": "cookie_banner_locales", + "tableTo": "cookie_banner", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview": { + "name": "subscription_config_feature_overview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_order_idx": { + "name": "subscription_config_feature_overview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_feature_overview_parent_id_idx": { + "name": "subscription_config_feature_overview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_parent_id_fk": { + "name": "subscription_config_feature_overview_parent_id_fk", + "tableFrom": "subscription_config_feature_overview", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview_locales": { + "name": "subscription_config_feature_overview_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_locales_locale_parent_i": { + "name": "subscription_config_feature_overview_locales_locale_parent_i", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_locales_parent_id_fk": { + "name": "subscription_config_feature_overview_locales_parent_id_fk", + "tableFrom": "subscription_config_feature_overview_locales", + "tableTo": "subscription_config_feature_overview", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types": { + "name": "subscription_config_workflow_calculator_business_types", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building'" + }, + "conversion_rate": { + "name": "conversion_rate", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_order_idx": { + "name": "subscription_config_workflow_calculator_business_types_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_workflow_calculator_business_types_parent_id_idx": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_parent_id_fk": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types_locales": { + "name": "subscription_config_workflow_calculator_business_types_locales", + "schema": "", + "columns": { + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "conversion_unit": { + "name": "conversion_unit", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'executions'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_local": { + "name": "subscription_config_workflow_calculator_business_types_local", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_lo_fk": { + "name": "subscription_config_workflow_calculator_business_types_lo_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types_locales", + "tableTo": "subscription_config_workflow_calculator_business_types", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features": { + "name": "subscription_config_additional_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + } + }, + "indexes": { + "subscription_config_additional_features_order_idx": { + "name": "subscription_config_additional_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_additional_features_parent_id_idx": { + "name": "subscription_config_additional_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_parent_id_fk": { + "name": "subscription_config_additional_features_parent_id_fk", + "tableFrom": "subscription_config_additional_features", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features_locales": { + "name": "subscription_config_additional_features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_additional_features_locales_locale_paren": { + "name": "subscription_config_additional_features_locales_locale_paren", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_locales_parent_id_fk": { + "name": "subscription_config_additional_features_locales_parent_id_fk", + "tableFrom": "subscription_config_additional_features_locales", + "tableTo": "subscription_config_additional_features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config": { + "name": "subscription_config", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription Config'" + }, + "defaults_deployment": { + "name": "defaults_deployment", + "type": "enum_subscription_config_defaults_deployment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'self-hosted'" + }, + "defaults_customer_type": { + "name": "defaults_customer_type", + "type": "enum_subscription_config_defaults_customer_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'b2b'" + }, + "defaults_payment_period": { + "name": "defaults_payment_period", + "type": "enum_subscription_config_defaults_payment_period", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'monthly'" + }, + "defaults_workflow_executions_b2b": { + "name": "defaults_workflow_executions_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "defaults_workflow_executions_b2c": { + "name": "defaults_workflow_executions_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "defaults_ai_tokens_b2b": { + "name": "defaults_ai_tokens_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "defaults_ai_tokens_b2c": { + "name": "defaults_ai_tokens_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "deployment_self_hosted_icon": { + "name": "deployment_self_hosted_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'server'" + }, + "deployment_self_hosted_color": { + "name": "deployment_self_hosted_color", + "type": "enum_subscription_config_deployment_self_hosted_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "deployment_cloud_icon": { + "name": "deployment_cloud_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'cloud'" + }, + "deployment_cloud_color": { + "name": "deployment_cloud_color", + "type": "enum_subscription_config_deployment_cloud_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "customer_type_b2b_icon": { + "name": "customer_type_b2b_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'briefcase-2'" + }, + "customer_type_b2b_color": { + "name": "customer_type_b2b_color", + "type": "enum_subscription_config_customer_type_b2b_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "customer_type_b2c_icon": { + "name": "customer_type_b2c_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building-store'" + }, + "customer_type_b2c_color": { + "name": "customer_type_b2c_color", + "type": "enum_subscription_config_customer_type_b2c_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pink'" + }, + "subscription_tier_pro_icon": { + "name": "subscription_tier_pro_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'sparkles'" + }, + "subscription_tier_pro_color": { + "name": "subscription_tier_pro_color", + "type": "enum_subscription_config_subscription_tier_pro_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'brand'" + }, + "subscription_tier_team_icon": { + "name": "subscription_tier_team_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users-group'" + }, + "subscription_tier_team_color": { + "name": "subscription_tier_team_color", + "type": "enum_subscription_config_subscription_tier_team_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "payment_period_quarterly_discount": { + "name": "payment_period_quarterly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "payment_period_yearly_discount": { + "name": "payment_period_yearly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "workflow_executions_b2b_step": { + "name": "workflow_executions_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "workflow_executions_b2b_min": { + "name": "workflow_executions_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 200 + }, + "workflow_executions_b2b_max": { + "name": "workflow_executions_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "workflow_executions_b2c_step": { + "name": "workflow_executions_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_min": { + "name": "workflow_executions_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_max": { + "name": "workflow_executions_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "workflow_execution_price_factor": { + "name": "workflow_execution_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.001 + }, + "ai_tokens_b2b_step": { + "name": "ai_tokens_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_min": { + "name": "ai_tokens_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_max": { + "name": "ai_tokens_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000000 + }, + "ai_tokens_b2c_step": { + "name": "ai_tokens_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_min": { + "name": "ai_tokens_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_max": { + "name": "ai_tokens_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "ai_token_price_factor": { + "name": "ai_token_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.000001 + }, + "contact_sales_href": { + "name": "contact_sales_href", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/contact'" + }, + "subscribe_base_url": { + "name": "subscribe_base_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "''" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_locales": { + "name": "subscription_config_locales", + "schema": "", + "columns": { + "page_intro_heading": { + "name": "page_intro_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Configure your setup before you talk pricing.'" + }, + "page_intro_description": { + "name": "page_intro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Pick your operating model, customer shape, and usage pattern. The right-hand side updates into a purchase-ready configuration flow instead of a generic pricing table.'" + }, + "options_panel_heading": { + "name": "options_panel_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Build the subscription shape'" + }, + "deployment_label": { + "name": "deployment_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deployment'" + }, + "deployment_self_hosted_title": { + "name": "deployment_self_hosted_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Self-hosted'" + }, + "deployment_self_hosted_description": { + "name": "deployment_self_hosted_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deploy on your own infrastructure with full operational control.'" + }, + "deployment_cloud_title": { + "name": "deployment_cloud_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cloud'" + }, + "deployment_cloud_description": { + "name": "deployment_cloud_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Use managed infrastructure with selectable runtime consumption.'" + }, + "customer_type_label": { + "name": "customer_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Customer Type'" + }, + "customer_type_b2b_title": { + "name": "customer_type_b2b_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2B'" + }, + "customer_type_b2b_description": { + "name": "customer_type_b2b_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Organization purchase flow with tailored commercial handling.'" + }, + "customer_type_b2c_title": { + "name": "customer_type_b2c_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2C'" + }, + "customer_type_b2c_description": { + "name": "customer_type_b2c_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Standardized subscription flow with directly selectable plans.'" + }, + "subscription_tier_label": { + "name": "subscription_tier_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription tier'" + }, + "subscription_tier_pro_title": { + "name": "subscription_tier_pro_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'PRO'" + }, + "subscription_tier_pro_description": { + "name": "subscription_tier_pro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Single-owner setup for advanced personal or expert workflows.'" + }, + "subscription_tier_team_title": { + "name": "subscription_tier_team_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'TEAM'" + }, + "subscription_tier_team_description": { + "name": "subscription_tier_team_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Shared workspace model with seat-based team access.'" + }, + "payment_period_label": { + "name": "payment_period_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Payment period'" + }, + "payment_period_description": { + "name": "payment_period_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Choose how often you want to be billed.'" + }, + "payment_period_monthly_text": { + "name": "payment_period_monthly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Monthly'" + }, + "payment_period_quarterly_text": { + "name": "payment_period_quarterly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Quarterly'" + }, + "payment_period_yearly_text": { + "name": "payment_period_yearly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Yearly'" + }, + "payment_period_monthly_period_suffix": { + "name": "payment_period_monthly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "payment_period_quarterly_period_suffix": { + "name": "payment_period_quarterly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per quarter'" + }, + "payment_period_yearly_period_suffix": { + "name": "payment_period_yearly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per year'" + }, + "workflow_executions_title": { + "name": "workflow_executions_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Workflow Executions'" + }, + "workflow_executions_description": { + "name": "workflow_executions_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many workflow executions do you expect per month?'" + }, + "workflow_executions_suffix": { + "name": "workflow_executions_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'exec'" + }, + "workflow_calculator_trigger_label": { + "name": "workflow_calculator_trigger_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate'" + }, + "workflow_calculator_title": { + "name": "workflow_calculator_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate workflow executions'" + }, + "workflow_calculator_description": { + "name": "workflow_calculator_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimate monthly volume from your active workflows and their average execution frequency.'" + }, + "workflow_calculator_close_label": { + "name": "workflow_calculator_close_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Close dialog'" + }, + "workflow_calculator_business_type_label": { + "name": "workflow_calculator_business_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Business type'" + }, + "workflow_calculator_business_type_search_placeholder": { + "name": "workflow_calculator_business_type_search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Search business types'" + }, + "workflow_calculator_no_business_types_found_label": { + "name": "workflow_calculator_no_business_types_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'No business types found.'" + }, + "workflow_calculator_active_workflows_label": { + "name": "workflow_calculator_active_workflows_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Active workflows'" + }, + "workflow_calculator_runs_per_day_label": { + "name": "workflow_calculator_runs_per_day_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Runs per month'" + }, + "workflow_calculator_days_per_month_label": { + "name": "workflow_calculator_days_per_month_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Days per month'" + }, + "workflow_calculator_estimate_label": { + "name": "workflow_calculator_estimate_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimated monthly volume'" + }, + "workflow_calculator_cancel_label": { + "name": "workflow_calculator_cancel_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cancel'" + }, + "workflow_calculator_apply_label": { + "name": "workflow_calculator_apply_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Apply value'" + }, + "ai_tokens_title": { + "name": "ai_tokens_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'AI Tokens'" + }, + "ai_tokens_description": { + "name": "ai_tokens_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many AI tokens do you expect to consume per month?'" + }, + "ai_tokens_suffix": { + "name": "ai_tokens_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'tokens'" + }, + "contact_sales_prompt": { + "name": "contact_sales_prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Need more?'" + }, + "contact_sales_label": { + "name": "contact_sales_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Contact sales'" + }, + "subscribe_label": { + "name": "subscribe_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Buy now'" + }, + "price_heading": { + "name": "price_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Price'" + }, + "price_caption": { + "name": "price_caption", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "additional_features_label": { + "name": "additional_features_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_locales_locale_parent_id_unique": { + "name": "subscription_config_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_locales_parent_id_fk": { + "name": "subscription_config_locales_parent_id_fk", + "tableFrom": "subscription_config_locales", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": { + "public._locales": { + "name": "_locales", + "schema": "public", + "values": [ + "en", + "de" + ] + }, + "public.enum_users_ai_provider": { + "name": "enum_users_ai_provider", + "schema": "public", + "values": [ + "claude", + "google", + "mistral", + "openai", + "openrouter" + ] + }, + "public.enum_pages_blocks_hero_buttons_variant": { + "name": "enum_pages_blocks_hero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_bento_section_layout": { + "name": "enum_pages_blocks_bento_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_bento_variant": { + "name": "enum_pages_blocks_bento_variant", + "schema": "public", + "values": [ + "feature", + "runtime" + ] + }, + "public.enum_pages_blocks_offset_cards_cards_mask": { + "name": "enum_pages_blocks_offset_cards_cards_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_section_layout": { + "name": "enum_pages_blocks_offset_cards_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_card_placement": { + "name": "enum_pages_blocks_offset_cards_card_placement", + "schema": "public", + "values": [ + "alternate", + "right", + "left" + ] + }, + "public.enum_pages_blocks_install_language": { + "name": "enum_pages_blocks_install_language", + "schema": "public", + "values": [ + "bsl", + "sdbl", + "abap", + "actionscript-3", + "ada", + "angular-html", + "angular-ts", + "apache", + "apex", + "apl", + "applescript", + "ara", + "asciidoc", + "razor", + "asm", + "astro", + "awk", + "ballerina", + "bat", + "beancount", + "berry", + "bibtex", + "bicep", + "bird2", + "blade", + "c", + "csharp", + "cpp", + "c3", + "cadence", + "cairo", + "clarity", + "clojure", + "soy", + "cmake", + "cobol", + "codeowners", + "codeql", + "coffee", + "common-lisp", + "coq", + "crystal", + "css", + "csv", + "cue", + "cypher", + "d", + "dart", + "dax", + "desktop", + "diff", + "docker", + "dotenv", + "dream-maker", + "edge", + "elixir", + "elm", + "emacs-lisp", + "erb", + "erlang", + "fsharp", + "fennel", + "fish", + "fluent", + "fortran-fixed-form", + "fortran-free-form", + "gdresource", + "gdscript", + "gdshader", + "genie", + "po", + "gherkin", + "git-commit", + "git-rebase", + "gleam", + "glimmer-js", + "glimmer-ts", + "glsl", + "gn", + "gnuplot", + "go", + "graphql", + "groovy", + "hack", + "handlebars", + "hcl", + "haskell", + "haxe", + "hjson", + "hlsl", + "html", + "html-derivative", + "http", + "hurl", + "hxml", + "hy", + "imba", + "ini", + "java", + "javascript", + "jinja", + "jison", + "json", + "jsonl", + "jsonc", + "json5", + "jsonnet", + "jssm", + "jsx", + "julia", + "just", + "kdl", + "kotlin", + "kusto", + "latex", + "lean", + "less", + "liquid", + "llvm", + "log", + "logo", + "lua", + "luau", + "make", + "markdown", + "marko", + "matlab", + "mdc", + "mdx", + "mermaid", + "mipsasm", + "mojo", + "moonbit", + "move", + "narrat", + "nextflow", + "nextflow-groovy", + "nginx", + "nim", + "nix", + "nushell", + "objective-c", + "objective-cpp", + "ocaml", + "odin", + "openscad", + "pascal", + "perl", + "php", + "pkl", + "plsql", + "polar", + "postcss", + "powerquery", + "powershell", + "prisma", + "prolog", + "proto", + "pug", + "puppet", + "purescript", + "python", + "qml", + "qmldir", + "qss", + "r", + "racket", + "raku", + "regexp", + "rel", + "rst", + "riscv", + "ron", + "rosmsg", + "ruby", + "haml", + "rust", + "sas", + "sass", + "scala", + "scheme", + "scss", + "shaderlab", + "shellscript", + "shellsession", + "smalltalk", + "solidity", + "sparql", + "splunk", + "sql", + "ssh-config", + "stata", + "stylus", + "surrealql", + "svelte", + "swift", + "systemd", + "system-verilog", + "talonscript", + "tasl", + "tcl", + "templ", + "terraform", + "tex", + "toml", + "tsv", + "tsx", + "turtle", + "twig", + "typescript", + "ts-tags", + "typespec", + "typst", + "v", + "vala", + "verilog", + "vhdl", + "viml", + "vb", + "vue", + "vue-html", + "vue-vine", + "vyper", + "wasm", + "wit", + "wenyan", + "wgsl", + "wikitext", + "reg", + "wolfram", + "xml", + "xsl", + "yaml", + "zenscript", + "zig" + ] + }, + "public.enum_pages_blocks_faq_section_layout": { + "name": "enum_pages_blocks_faq_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_cta_image_buttons_variant": { + "name": "enum_pages_blocks_cta_image_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_cta_image_image_mask": { + "name": "enum_pages_blocks_cta_image_image_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_blog_preview_section_layout": { + "name": "enum_pages_blocks_blog_preview_section_layout", + "schema": "public", + "values": [ + "imageCenter", + "imageLeft", + "imageRight" + ] + }, + "public.enum_pages_blocks_card_row_section_layout": { + "name": "enum_pages_blocks_card_row_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_roadmap_section_layout": { + "name": "enum_pages_blocks_roadmap_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_section_layout": { + "name": "enum_pages_blocks_scroll_cards_items_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient": { + "name": "enum_pages_blocks_scroll_cards_items_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient_direction": { + "name": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_standalone_card_section_layout": { + "name": "enum_pages_blocks_standalone_card_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient": { + "name": "enum_pages_blocks_standalone_card_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient_direction": { + "name": "enum_pages_blocks_standalone_card_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_video_source_type": { + "name": "enum_pages_blocks_video_source_type", + "schema": "public", + "values": [ + "url", + "media" + ] + }, + "public.enum_pages_blocks_widehero_mask": { + "name": "enum_pages_blocks_widehero_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_widehero_buttons_variant": { + "name": "enum_pages_blocks_widehero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_list_feature_section_layout": { + "name": "enum_pages_blocks_list_feature_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_stats_section_layout": { + "name": "enum_pages_blocks_stats_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_flow_example_flow_items_segments_type": { + "name": "enum_pages_blocks_flow_example_flow_items_segments_type", + "schema": "public", + "values": [ + "text", + "literal", + "reference", + "node" + ] + }, + "public.enum_pages_blocks_flow_example_flow_items_color": { + "name": "enum_pages_blocks_flow_example_flow_items_color", + "schema": "public", + "values": [ + "brand", + "yellow", + "aqua", + "blue", + "pink" + ] + }, + "public.enum_pages_blocks_flow_example_section_layout": { + "name": "enum_pages_blocks_flow_example_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_flow_example_flow_layout": { + "name": "enum_pages_blocks_flow_example_flow_layout", + "schema": "public", + "values": [ + "left", + "right" + ] + }, + "public.enum_pages_slug": { + "name": "enum_pages_slug", + "schema": "public", + "values": [ + "main", + "jobs", + "blog", + "features", + "about-us", + "legal-notice", + "privacy", + "terms", + "open-source-no-code-automation", + "contact", + "actions", + "action-details", + "community-edition", + "enterprise-edition", + "subscription" + ] + }, + "public.enum_features_slug": { + "name": "enum_features_slug", + "schema": "public", + "values": [ + "projects", + "role-system", + "member-management", + "organizations", + "suggestion-menu", + "nodes", + "runtime-types", + "action-list" + ] + }, + "public.enum_jobs_category": { + "name": "enum_jobs_category", + "schema": "public", + "values": [ + "engineering", + "marketing", + "design", + "product", + "sales", + "operations" + ] + }, + "public.enum_jobs_type": { + "name": "enum_jobs_type", + "schema": "public", + "values": [ + "full-time", + "part-time", + "contract", + "internship", + "working-student", + "freelance" + ] + }, + "public.enum_jobs_location": { + "name": "enum_jobs_location", + "schema": "public", + "values": [ + "remote", + "hybrid", + "leipzig", + "solingen" + ] + }, + "public.enum_exports_format": { + "name": "enum_exports_format", + "schema": "public", + "values": [ + "csv", + "json" + ] + }, + "public.enum_exports_sort_order": { + "name": "enum_exports_sort_order", + "schema": "public", + "values": [ + "asc", + "desc" + ] + }, + "public.enum_exports_locale": { + "name": "enum_exports_locale", + "schema": "public", + "values": [ + "all", + "en", + "de" + ] + }, + "public.enum_exports_drafts": { + "name": "enum_exports_drafts", + "schema": "public", + "values": [ + "yes", + "no" + ] + }, + "public.enum_imports_import_mode": { + "name": "enum_imports_import_mode", + "schema": "public", + "values": [ + "create", + "update", + "upsert" + ] + }, + "public.enum_imports_status": { + "name": "enum_imports_status", + "schema": "public", + "values": [ + "pending", + "completed", + "partial", + "failed" + ] + }, + "public.enum_payload_ai_auditlog_action": { + "name": "enum_payload_ai_auditlog_action", + "schema": "public", + "values": [ + "create", + "update", + "delete", + "updateGlobal" + ] + }, + "public.enum_payload_ai_auditlog_target_type": { + "name": "enum_payload_ai_auditlog_target_type", + "schema": "public", + "values": [ + "collection", + "global" + ] + }, + "public.enum_payload_jobs_log_task_slug": { + "name": "enum_payload_jobs_log_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_payload_jobs_log_state": { + "name": "enum_payload_jobs_log_state", + "schema": "public", + "values": [ + "failed", + "succeeded" + ] + }, + "public.enum_payload_jobs_task_slug": { + "name": "enum_payload_jobs_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_navigation_buttons_buttons_variant": { + "name": "enum_navigation_buttons_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_footer_social_links_platform": { + "name": "enum_footer_social_links_platform", + "schema": "public", + "values": [ + "instagram", + "discord", + "x", + "linkedin", + "github" + ] + }, + "public.enum_subscription_config_defaults_deployment": { + "name": "enum_subscription_config_defaults_deployment", + "schema": "public", + "values": [ + "self-hosted", + "cloud" + ] + }, + "public.enum_subscription_config_defaults_customer_type": { + "name": "enum_subscription_config_defaults_customer_type", + "schema": "public", + "values": [ + "b2b", + "b2c" + ] + }, + "public.enum_subscription_config_defaults_payment_period": { + "name": "enum_subscription_config_defaults_payment_period", + "schema": "public", + "values": [ + "monthly", + "quarterly", + "yearly" + ] + }, + "public.enum_subscription_config_deployment_self_hosted_color": { + "name": "enum_subscription_config_deployment_self_hosted_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_deployment_cloud_color": { + "name": "enum_subscription_config_deployment_cloud_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2b_color": { + "name": "enum_subscription_config_customer_type_b2b_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2c_color": { + "name": "enum_subscription_config_customer_type_b2c_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_pro_color": { + "name": "enum_subscription_config_subscription_tier_pro_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_team_color": { + "name": "enum_subscription_config_subscription_tier_team_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + } + }, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "schemas": {}, + "tables": {}, + "columns": {} + }, + "id": "04b97b23-5bb1-4aed-a517-a9f4c34d3abb", + "prevId": "00000000-0000-0000-0000-000000000000" +} \ No newline at end of file diff --git a/src/migrations/20260723_083548_20260723_flow_example_layouts.ts b/src/migrations/20260723_083548_20260723_flow_example_layouts.ts new file mode 100644 index 00000000..1f9e9487 --- /dev/null +++ b/src/migrations/20260723_083548_20260723_flow_example_layouts.ts @@ -0,0 +1,41 @@ +import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres' + +export async function up({ db, payload, req }: MigrateUpArgs): Promise { + await db.execute(sql` + CREATE TYPE "public"."enum_pages_blocks_flow_example_flow_layout" AS ENUM('left', 'right'); + ALTER TABLE "pages_blocks_flow_example" ADD COLUMN "flow_layout" "enum_pages_blocks_flow_example_flow_layout" DEFAULT 'left' NOT NULL; + UPDATE "pages_blocks_flow_example" + SET "flow_layout" = CASE + WHEN "section_layout"::text = 'flowRight' THEN 'right'::"public"."enum_pages_blocks_flow_example_flow_layout" + ELSE 'left'::"public"."enum_pages_blocks_flow_example_flow_layout" + END; + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" DROP DEFAULT; + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" SET DATA TYPE text USING "section_layout"::text; + UPDATE "pages_blocks_flow_example" + SET "section_layout" = CASE + WHEN "section_layout" = 'flowCenter' THEN 'center' + ELSE 'left' + END; + DROP TYPE "public"."enum_pages_blocks_flow_example_section_layout"; + CREATE TYPE "public"."enum_pages_blocks_flow_example_section_layout" AS ENUM('center', 'left'); + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" SET DATA TYPE "public"."enum_pages_blocks_flow_example_section_layout" USING "section_layout"::"public"."enum_pages_blocks_flow_example_section_layout"; + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" SET DEFAULT 'center'::"public"."enum_pages_blocks_flow_example_section_layout";`) +} + +export async function down({ db, payload, req }: MigrateDownArgs): Promise { + await db.execute(sql` + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" DROP DEFAULT; + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" SET DATA TYPE text USING "section_layout"::text; + UPDATE "pages_blocks_flow_example" + SET "section_layout" = CASE + WHEN "section_layout" = 'center' THEN 'flowCenter' + WHEN "flow_layout"::text = 'right' THEN 'flowRight' + ELSE 'flowLeft' + END; + DROP TYPE "public"."enum_pages_blocks_flow_example_section_layout"; + CREATE TYPE "public"."enum_pages_blocks_flow_example_section_layout" AS ENUM('flowCenter', 'flowLeft', 'flowRight'); + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" SET DATA TYPE "public"."enum_pages_blocks_flow_example_section_layout" USING "section_layout"::"public"."enum_pages_blocks_flow_example_section_layout"; + ALTER TABLE "pages_blocks_flow_example" ALTER COLUMN "section_layout" SET DEFAULT 'flowCenter'::"public"."enum_pages_blocks_flow_example_section_layout"; + ALTER TABLE "pages_blocks_flow_example" DROP COLUMN "flow_layout"; + DROP TYPE "public"."enum_pages_blocks_flow_example_flow_layout";`) +} diff --git a/src/migrations/index.ts b/src/migrations/index.ts index 1d891f91..924fbc4e 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -40,6 +40,8 @@ import * as migration_20260720_105407_20260720_stats_block from './20260720_1054 import * as migration_20260720_111300_20260720_stats_show_plus from './20260720_111300_20260720_stats_show_plus'; import * as migration_20260720_123334_20260720_flow_example from './20260720_123334_20260720_flow_example'; import * as migration_20260721_092035_20260721_flow_example_segments from './20260721_092035_20260721_flow_example_segments'; +import * as migration_20260723_073358_20260723_flow_example_item_icons from './20260723_073358_20260723_flow_example_item_icons'; +import * as migration_20260723_083548_20260723_flow_example_layouts from './20260723_083548_20260723_flow_example_layouts'; export const migrations = [ { @@ -250,6 +252,16 @@ export const migrations = [ { up: migration_20260721_092035_20260721_flow_example_segments.up, down: migration_20260721_092035_20260721_flow_example_segments.down, - name: '20260721_092035_20260721_flow_example_segments' + name: '20260721_092035_20260721_flow_example_segments', + }, + { + up: migration_20260723_073358_20260723_flow_example_item_icons.up, + down: migration_20260723_073358_20260723_flow_example_item_icons.down, + name: '20260723_073358_20260723_flow_example_item_icons', + }, + { + up: migration_20260723_083548_20260723_flow_example_layouts.up, + down: migration_20260723_083548_20260723_flow_example_layouts.down, + name: '20260723_083548_20260723_flow_example_layouts' }, ]; diff --git a/src/payload-types.ts b/src/payload-types.ts index bb1beef0..66276f82 100644 --- a/src/payload-types.ts +++ b/src/payload-types.ts @@ -225,6 +225,7 @@ export interface Page { | 'open-source-no-code-automation' | 'contact' | 'actions' + | 'action-details' | 'community-edition' | 'enterprise-edition' | 'subscription'; @@ -899,7 +900,7 @@ export interface Page { } | { sectionHeading?: string | null; - sectionLayout: 'flowCenter' | 'flowLeft' | 'flowRight'; + sectionLayout: 'center' | 'left'; sectionDescription?: string | null; sectionLinkButton?: { label?: string | null; @@ -907,6 +908,7 @@ export interface Page { }; contentHeading?: string | null; contentDescription?: string | null; + flowLayout: 'left' | 'right'; flow: { trigger: { icon: string; @@ -914,6 +916,7 @@ export interface Page { }; items?: | { + icon: string; color: 'brand' | 'yellow' | 'aqua' | 'blue' | 'pink'; outline?: boolean | null; segments: { @@ -1941,6 +1944,7 @@ export interface PagesSelect { }; contentHeading?: T; contentDescription?: T; + flowLayout?: T; flow?: | T | { @@ -1953,6 +1957,7 @@ export interface PagesSelect { items?: | T | { + icon?: T; color?: T; outline?: T; segments?: From e0f5060941fb2429b6c1edaaee7c06b9da4faee2 Mon Sep 17 00:00:00 2001 From: mvriu5 Date: Thu, 23 Jul 2026 10:49:41 +0200 Subject: [PATCH 5/6] feat: stats seection suffix --- src/blocks/StatsBlock.ts | 8 +- src/components/sections/StatsSection.tsx | 8 +- ...20260723_084800_20260723_stats_suffix.json | 14103 ++++++++++++++++ .../20260723_084800_20260723_stats_suffix.ts | 41 + src/migrations/index.ts | 6 + src/payload-types.ts | 4 +- 6 files changed, 14160 insertions(+), 10 deletions(-) create mode 100644 src/migrations/20260723_084800_20260723_stats_suffix.json create mode 100644 src/migrations/20260723_084800_20260723_stats_suffix.ts diff --git a/src/blocks/StatsBlock.ts b/src/blocks/StatsBlock.ts index 48c70690..6e081410 100644 --- a/src/blocks/StatsBlock.ts +++ b/src/blocks/StatsBlock.ts @@ -85,10 +85,10 @@ export const StatsBlock: Block = { defaultValue: true, }, { - name: "showPlus", - label: "Show plus", - type: "checkbox", - defaultValue: false, + name: "suffix", + label: "Suffix", + type: "text", + localized: true, }, ], }, diff --git a/src/components/sections/StatsSection.tsx b/src/components/sections/StatsSection.tsx index 65652468..8cfa95eb 100644 --- a/src/components/sections/StatsSection.tsx +++ b/src/components/sections/StatsSection.tsx @@ -22,17 +22,17 @@ function getCompactNumber(number: number) { return { value: Math.round(number), suffix: "" } } -function StatNumber({ number, animate, showPlus }: { number: number; animate: boolean; showPlus: boolean }) { +function StatNumber({ number, animate, suffix }: { number: number; animate: boolean; suffix?: string | null }) { const ref = useRef(null) const isInView = useInView(ref, { once: true, amount: 0.5 }) const compactNumber = getCompactNumber(number) - const suffix = `${compactNumber.suffix}${showPlus ? "+" : ""}` + const displaySuffix = `${compactNumber.suffix}${suffix?.trim() ?? ""}` return (
@@ -68,7 +68,7 @@ export function StatsSection({ content }: StatsSectionProps) { duration={0.4} key={item.id ?? index} > - +

{item.description}

))} diff --git a/src/migrations/20260723_084800_20260723_stats_suffix.json b/src/migrations/20260723_084800_20260723_stats_suffix.json new file mode 100644 index 00000000..39692e53 --- /dev/null +++ b/src/migrations/20260723_084800_20260723_stats_suffix.json @@ -0,0 +1,14103 @@ +{ + "version": "7", + "dialect": "postgresql", + "tables": { + "public.users_sessions": { + "name": "users_sessions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "users_sessions_order_idx": { + "name": "users_sessions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_sessions_parent_id_idx": { + "name": "users_sessions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_sessions_parent_id_fk": { + "name": "users_sessions_parent_id_fk", + "tableFrom": "users_sessions", + "tableTo": "users", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.users": { + "name": "users", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "ai_provider": { + "name": "ai_provider", + "type": "enum_users_ai_provider", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'openai'" + }, + "ai_api_key": { + "name": "ai_api_key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "email": { + "name": "email", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "reset_password_token": { + "name": "reset_password_token", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "reset_password_expiration": { + "name": "reset_password_expiration", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "salt": { + "name": "salt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hash": { + "name": "hash", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "login_attempts": { + "name": "login_attempts", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "lock_until": { + "name": "lock_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "users_image_idx": { + "name": "users_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_updated_at_idx": { + "name": "users_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_created_at_idx": { + "name": "users_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "users_email_idx": { + "name": "users_email_idx", + "columns": [ + { + "expression": "email", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "users_image_id_media_id_fk": { + "name": "users_image_id_media_id_fk", + "tableFrom": "users", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.media": { + "name": "media", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "alt": { + "name": "alt", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "media_updated_at_idx": { + "name": "media_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_created_at_idx": { + "name": "media_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_filename_idx": { + "name": "media_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_texts": { + "name": "pages_blocks_hero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_hero_texts_order_idx": { + "name": "pages_blocks_hero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_parent_id_idx": { + "name": "pages_blocks_hero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_texts_locale_idx": { + "name": "pages_blocks_hero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_texts_parent_id_fk": { + "name": "pages_blocks_hero_texts_parent_id_fk", + "tableFrom": "pages_blocks_hero_texts", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero_buttons": { + "name": "pages_blocks_hero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_hero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_hero_buttons_order_idx": { + "name": "pages_blocks_hero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_parent_id_idx": { + "name": "pages_blocks_hero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_buttons_locale_idx": { + "name": "pages_blocks_hero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_buttons_parent_id_fk": { + "name": "pages_blocks_hero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_hero_buttons", + "tableTo": "pages_blocks_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_hero": { + "name": "pages_blocks_hero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "centered": { + "name": "centered", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color1": { + "name": "grainient_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color2": { + "name": "grainient_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_color3": { + "name": "grainient_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "grainient_colors_background_color": { + "name": "grainient_colors_background_color", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_hero_order_idx": { + "name": "pages_blocks_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_parent_id_idx": { + "name": "pages_blocks_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_path_idx": { + "name": "pages_blocks_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_locale_idx": { + "name": "pages_blocks_hero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_hero_image_idx": { + "name": "pages_blocks_hero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_hero_image_id_media_id_fk": { + "name": "pages_blocks_hero_image_id_media_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_hero_parent_id_fk": { + "name": "pages_blocks_hero_parent_id_fk", + "tableFrom": "pages_blocks_hero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_bento": { + "name": "pages_blocks_bento", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_bento_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_bento_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'feature'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_bento_order_idx": { + "name": "pages_blocks_bento_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_parent_id_idx": { + "name": "pages_blocks_bento_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_path_idx": { + "name": "pages_blocks_bento_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_bento_locale_idx": { + "name": "pages_blocks_bento_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_bento_parent_id_fk": { + "name": "pages_blocks_bento_parent_id_fk", + "tableFrom": "pages_blocks_bento", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards_mask": { + "name": "pages_blocks_offset_cards_cards_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_offset_cards_cards_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_mask_order_idx": { + "name": "pages_blocks_offset_cards_cards_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_parent_idx": { + "name": "pages_blocks_offset_cards_cards_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_mask_locale_idx": { + "name": "pages_blocks_offset_cards_cards_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_mask_parent_fk": { + "name": "pages_blocks_offset_cards_cards_mask_parent_fk", + "tableFrom": "pages_blocks_offset_cards_cards_mask", + "tableTo": "pages_blocks_offset_cards_cards", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards_cards": { + "name": "pages_blocks_offset_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_cards_order_idx": { + "name": "pages_blocks_offset_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_locale_idx": { + "name": "pages_blocks_offset_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_cards_image_idx": { + "name": "pages_blocks_offset_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_offset_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_offset_cards_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards_cards", + "tableTo": "pages_blocks_offset_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_offset_cards": { + "name": "pages_blocks_offset_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_offset_cards_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "card_placement": { + "name": "card_placement", + "type": "enum_pages_blocks_offset_cards_card_placement", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'alternate'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_offset_cards_order_idx": { + "name": "pages_blocks_offset_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_parent_id_idx": { + "name": "pages_blocks_offset_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_path_idx": { + "name": "pages_blocks_offset_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_offset_cards_locale_idx": { + "name": "pages_blocks_offset_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_offset_cards_parent_id_fk": { + "name": "pages_blocks_offset_cards_parent_id_fk", + "tableFrom": "pages_blocks_offset_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_install": { + "name": "pages_blocks_install", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "language": { + "name": "language", + "type": "enum_pages_blocks_install_language", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "code": { + "name": "code", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_install_order_idx": { + "name": "pages_blocks_install_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_parent_id_idx": { + "name": "pages_blocks_install_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_path_idx": { + "name": "pages_blocks_install_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_install_locale_idx": { + "name": "pages_blocks_install_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_install_parent_id_fk": { + "name": "pages_blocks_install_parent_id_fk", + "tableFrom": "pages_blocks_install", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards_cards": { + "name": "pages_blocks_swipe_cards_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_cards_order_idx": { + "name": "pages_blocks_swipe_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_cards_image_idx": { + "name": "pages_blocks_swipe_cards_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_cards_image_id_media_id_fk": { + "name": "pages_blocks_swipe_cards_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_swipe_cards_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards_cards", + "tableTo": "pages_blocks_swipe_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_swipe_cards": { + "name": "pages_blocks_swipe_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_swipe_cards_order_idx": { + "name": "pages_blocks_swipe_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_parent_id_idx": { + "name": "pages_blocks_swipe_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_path_idx": { + "name": "pages_blocks_swipe_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_swipe_cards_locale_idx": { + "name": "pages_blocks_swipe_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_swipe_cards_parent_id_fk": { + "name": "pages_blocks_swipe_cards_parent_id_fk", + "tableFrom": "pages_blocks_swipe_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand_logos": { + "name": "pages_blocks_brand_logos", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_brand_logos_order_idx": { + "name": "pages_blocks_brand_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_parent_id_idx": { + "name": "pages_blocks_brand_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_locale_idx": { + "name": "pages_blocks_brand_logos_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_logos_logo_idx": { + "name": "pages_blocks_brand_logos_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_logos_logo_id_media_id_fk": { + "name": "pages_blocks_brand_logos_logo_id_media_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_brand_logos_parent_id_fk": { + "name": "pages_blocks_brand_logos_parent_id_fk", + "tableFrom": "pages_blocks_brand_logos", + "tableTo": "pages_blocks_brand", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_brand": { + "name": "pages_blocks_brand", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_brand_order_idx": { + "name": "pages_blocks_brand_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_parent_id_idx": { + "name": "pages_blocks_brand_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_path_idx": { + "name": "pages_blocks_brand_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_brand_locale_idx": { + "name": "pages_blocks_brand_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_brand_parent_id_fk": { + "name": "pages_blocks_brand_parent_id_fk", + "tableFrom": "pages_blocks_brand", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq_items": { + "name": "pages_blocks_faq_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "answer": { + "name": "answer", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_faq_items_order_idx": { + "name": "pages_blocks_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_parent_id_idx": { + "name": "pages_blocks_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_items_locale_idx": { + "name": "pages_blocks_faq_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_items_parent_id_fk": { + "name": "pages_blocks_faq_items_parent_id_fk", + "tableFrom": "pages_blocks_faq_items", + "tableTo": "pages_blocks_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_faq": { + "name": "pages_blocks_faq", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_faq_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_faq_order_idx": { + "name": "pages_blocks_faq_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_parent_id_idx": { + "name": "pages_blocks_faq_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_path_idx": { + "name": "pages_blocks_faq_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_faq_locale_idx": { + "name": "pages_blocks_faq_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_faq_parent_id_fk": { + "name": "pages_blocks_faq_parent_id_fk", + "tableFrom": "pages_blocks_faq", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta": { + "name": "pages_blocks_cta", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_label": { + "name": "cta_link_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cta_link_url": { + "name": "cta_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_order_idx": { + "name": "pages_blocks_cta_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_parent_id_idx": { + "name": "pages_blocks_cta_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_path_idx": { + "name": "pages_blocks_cta_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_locale_idx": { + "name": "pages_blocks_cta_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_parent_id_fk": { + "name": "pages_blocks_cta_parent_id_fk", + "tableFrom": "pages_blocks_cta", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_texts": { + "name": "pages_blocks_cta_image_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_texts_order_idx": { + "name": "pages_blocks_cta_image_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_parent_id_idx": { + "name": "pages_blocks_cta_image_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_texts_locale_idx": { + "name": "pages_blocks_cta_image_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_texts_parent_id_fk": { + "name": "pages_blocks_cta_image_texts_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_texts", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_buttons": { + "name": "pages_blocks_cta_image_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_cta_image_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_cta_image_buttons_order_idx": { + "name": "pages_blocks_cta_image_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_parent_id_idx": { + "name": "pages_blocks_cta_image_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_buttons_locale_idx": { + "name": "pages_blocks_cta_image_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_buttons_parent_id_fk": { + "name": "pages_blocks_cta_image_buttons_parent_id_fk", + "tableFrom": "pages_blocks_cta_image_buttons", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image_image_mask": { + "name": "pages_blocks_cta_image_image_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_cta_image_image_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_cta_image_image_mask_order_idx": { + "name": "pages_blocks_cta_image_image_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_parent_idx": { + "name": "pages_blocks_cta_image_image_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_mask_locale_idx": { + "name": "pages_blocks_cta_image_image_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_mask_parent_fk": { + "name": "pages_blocks_cta_image_image_mask_parent_fk", + "tableFrom": "pages_blocks_cta_image_image_mask", + "tableTo": "pages_blocks_cta_image", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_cta_image": { + "name": "pages_blocks_cta_image", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_card": { + "name": "show_card", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_cta_image_order_idx": { + "name": "pages_blocks_cta_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_parent_id_idx": { + "name": "pages_blocks_cta_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_path_idx": { + "name": "pages_blocks_cta_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_locale_idx": { + "name": "pages_blocks_cta_image_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_cta_image_image_idx": { + "name": "pages_blocks_cta_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_cta_image_image_id_media_id_fk": { + "name": "pages_blocks_cta_image_image_id_media_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_cta_image_parent_id_fk": { + "name": "pages_blocks_cta_image_parent_id_fk", + "tableFrom": "pages_blocks_cta_image", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_jobs": { + "name": "pages_blocks_jobs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Join Our Team'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search jobs'" + }, + "all_locations_label": { + "name": "all_locations_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All locations'" + }, + "all_job_types_label": { + "name": "all_job_types_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All job types'" + }, + "all_categories_label": { + "name": "all_categories_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'All categories'" + }, + "no_jobs_found_label": { + "name": "no_jobs_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No jobs found for your filter.'" + }, + "application_heading": { + "name": "application_heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Apply now'" + }, + "application_name_label": { + "name": "application_name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "application_name_placeholder": { + "name": "application_name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "application_email_label": { + "name": "application_email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "application_email_placeholder": { + "name": "application_email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "application_message_label": { + "name": "application_message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "application_message_placeholder": { + "name": "application_message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Tell us a bit about yourself...'" + }, + "application_submit_label": { + "name": "application_submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send application'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_jobs_order_idx": { + "name": "pages_blocks_jobs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_parent_id_idx": { + "name": "pages_blocks_jobs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_path_idx": { + "name": "pages_blocks_jobs_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_jobs_locale_idx": { + "name": "pages_blocks_jobs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_jobs_parent_id_fk": { + "name": "pages_blocks_jobs_parent_id_fk", + "tableFrom": "pages_blocks_jobs", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog": { + "name": "pages_blocks_blog", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "view_other_blogs_label": { + "name": "view_other_blogs_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'View other blog posts'" + }, + "no_posts_label": { + "name": "no_posts_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No blog posts available.'" + }, + "load_more_label": { + "name": "load_more_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Load more'" + }, + "loading_label": { + "name": "loading_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Loading...'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_order_idx": { + "name": "pages_blocks_blog_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_parent_id_idx": { + "name": "pages_blocks_blog_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_path_idx": { + "name": "pages_blocks_blog_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_locale_idx": { + "name": "pages_blocks_blog_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_parent_id_fk": { + "name": "pages_blocks_blog_parent_id_fk", + "tableFrom": "pages_blocks_blog", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_blog_preview": { + "name": "pages_blocks_blog_preview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_blog_preview_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageCenter'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_blog_preview_order_idx": { + "name": "pages_blocks_blog_preview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_parent_id_idx": { + "name": "pages_blocks_blog_preview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_path_idx": { + "name": "pages_blocks_blog_preview_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_locale_idx": { + "name": "pages_blocks_blog_preview_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_blog_preview_blog_idx": { + "name": "pages_blocks_blog_preview_blog_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_blog_preview_blog_id_blog_id_fk": { + "name": "pages_blocks_blog_preview_blog_id_blog_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_blog_preview_parent_id_fk": { + "name": "pages_blocks_blog_preview_parent_id_fk", + "tableFrom": "pages_blocks_blog_preview", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_border": { + "name": "pages_blocks_border", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "padding_top": { + "name": "padding_top", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "padding_bottom": { + "name": "padding_bottom", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_border_order_idx": { + "name": "pages_blocks_border_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_parent_id_idx": { + "name": "pages_blocks_border_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_path_idx": { + "name": "pages_blocks_border_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_border_locale_idx": { + "name": "pages_blocks_border_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_border_parent_id_fk": { + "name": "pages_blocks_border_parent_id_fk", + "tableFrom": "pages_blocks_border", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_actions": { + "name": "pages_blocks_actions", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Actions'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Browse available actions and integrations.'" + }, + "search_placeholder": { + "name": "search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Search actions'" + }, + "no_actions_found_label": { + "name": "no_actions_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'No actions found for your search.'" + }, + "references_label": { + "name": "references_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'References'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_actions_order_idx": { + "name": "pages_blocks_actions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_parent_id_idx": { + "name": "pages_blocks_actions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_path_idx": { + "name": "pages_blocks_actions_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_actions_locale_idx": { + "name": "pages_blocks_actions_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_actions_parent_id_fk": { + "name": "pages_blocks_actions_parent_id_fk", + "tableFrom": "pages_blocks_actions", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_markdown": { + "name": "pages_blocks_markdown", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_markdown_order_idx": { + "name": "pages_blocks_markdown_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_parent_id_idx": { + "name": "pages_blocks_markdown_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_path_idx": { + "name": "pages_blocks_markdown_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_markdown_locale_idx": { + "name": "pages_blocks_markdown_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_markdown_parent_id_fk": { + "name": "pages_blocks_markdown_parent_id_fk", + "tableFrom": "pages_blocks_markdown", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_contact": { + "name": "pages_blocks_contact", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Contact us'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "name_label": { + "name": "name_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Name'" + }, + "name_placeholder": { + "name": "name_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Your name'" + }, + "email_label": { + "name": "email_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Email'" + }, + "email_placeholder": { + "name": "email_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'you@example.com'" + }, + "message_label": { + "name": "message_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Message'" + }, + "message_placeholder": { + "name": "message_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'How can we help you?'" + }, + "submit_label": { + "name": "submit_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Send message'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_contact_order_idx": { + "name": "pages_blocks_contact_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_parent_id_idx": { + "name": "pages_blocks_contact_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_path_idx": { + "name": "pages_blocks_contact_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_contact_locale_idx": { + "name": "pages_blocks_contact_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_contact_parent_id_fk": { + "name": "pages_blocks_contact_parent_id_fk", + "tableFrom": "pages_blocks_contact", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row_cards": { + "name": "pages_blocks_card_row_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_cards_order_idx": { + "name": "pages_blocks_card_row_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_parent_id_idx": { + "name": "pages_blocks_card_row_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_locale_idx": { + "name": "pages_blocks_card_row_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_cards_image_idx": { + "name": "pages_blocks_card_row_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_cards_image_id_media_id_fk": { + "name": "pages_blocks_card_row_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_card_row_cards_parent_id_fk": { + "name": "pages_blocks_card_row_cards_parent_id_fk", + "tableFrom": "pages_blocks_card_row_cards", + "tableTo": "pages_blocks_card_row", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_card_row": { + "name": "pages_blocks_card_row", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_card_row_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_card_row_order_idx": { + "name": "pages_blocks_card_row_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_parent_id_idx": { + "name": "pages_blocks_card_row_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_path_idx": { + "name": "pages_blocks_card_row_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_card_row_locale_idx": { + "name": "pages_blocks_card_row_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_card_row_parent_id_fk": { + "name": "pages_blocks_card_row_parent_id_fk", + "tableFrom": "pages_blocks_card_row", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap_items": { + "name": "pages_blocks_roadmap_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "time": { + "name": "time", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_roadmap_items_order_idx": { + "name": "pages_blocks_roadmap_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_parent_id_idx": { + "name": "pages_blocks_roadmap_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_items_locale_idx": { + "name": "pages_blocks_roadmap_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_items_parent_id_fk": { + "name": "pages_blocks_roadmap_items_parent_id_fk", + "tableFrom": "pages_blocks_roadmap_items", + "tableTo": "pages_blocks_roadmap", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_roadmap": { + "name": "pages_blocks_roadmap", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_roadmap_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_roadmap_order_idx": { + "name": "pages_blocks_roadmap_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_parent_id_idx": { + "name": "pages_blocks_roadmap_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_path_idx": { + "name": "pages_blocks_roadmap_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_roadmap_locale_idx": { + "name": "pages_blocks_roadmap_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_roadmap_parent_id_fk": { + "name": "pages_blocks_roadmap_parent_id_fk", + "tableFrom": "pages_blocks_roadmap", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards_items": { + "name": "pages_blocks_scroll_cards_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_scroll_cards_items_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_scroll_cards_items_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_items_order_idx": { + "name": "pages_blocks_scroll_cards_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_parent_id_idx": { + "name": "pages_blocks_scroll_cards_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_locale_idx": { + "name": "pages_blocks_scroll_cards_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_items_image_idx": { + "name": "pages_blocks_scroll_cards_items_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_items_image_id_media_id_fk": { + "name": "pages_blocks_scroll_cards_items_image_id_media_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_scroll_cards_items_parent_id_fk": { + "name": "pages_blocks_scroll_cards_items_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards_items", + "tableTo": "pages_blocks_scroll_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_scroll_cards": { + "name": "pages_blocks_scroll_cards", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_scroll_cards_order_idx": { + "name": "pages_blocks_scroll_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_parent_id_idx": { + "name": "pages_blocks_scroll_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_path_idx": { + "name": "pages_blocks_scroll_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_scroll_cards_locale_idx": { + "name": "pages_blocks_scroll_cards_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_scroll_cards_parent_id_fk": { + "name": "pages_blocks_scroll_cards_parent_id_fk", + "tableFrom": "pages_blocks_scroll_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_standalone_card": { + "name": "pages_blocks_standalone_card", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_standalone_card_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'imageRight'" + }, + "gradient": { + "name": "gradient", + "type": "enum_pages_blocks_standalone_card_gradient", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "gradient_direction": { + "name": "gradient_direction", + "type": "enum_pages_blocks_standalone_card_gradient_direction", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'topLeft'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_standalone_card_order_idx": { + "name": "pages_blocks_standalone_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_parent_id_idx": { + "name": "pages_blocks_standalone_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_path_idx": { + "name": "pages_blocks_standalone_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_locale_idx": { + "name": "pages_blocks_standalone_card_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_standalone_card_image_idx": { + "name": "pages_blocks_standalone_card_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_standalone_card_image_id_media_id_fk": { + "name": "pages_blocks_standalone_card_image_id_media_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_standalone_card_parent_id_fk": { + "name": "pages_blocks_standalone_card_parent_id_fk", + "tableFrom": "pages_blocks_standalone_card", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_video": { + "name": "pages_blocks_video", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "source_type": { + "name": "source_type", + "type": "enum_pages_blocks_video_source_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'url'" + }, + "video_url": { + "name": "video_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "video_id": { + "name": "video_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "poster_id": { + "name": "poster_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "controls": { + "name": "controls", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "auto_play": { + "name": "auto_play", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "muted": { + "name": "muted", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "loop": { + "name": "loop", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "plays_inline": { + "name": "plays_inline", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_video_order_idx": { + "name": "pages_blocks_video_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_parent_id_idx": { + "name": "pages_blocks_video_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_path_idx": { + "name": "pages_blocks_video_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_locale_idx": { + "name": "pages_blocks_video_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_video_idx": { + "name": "pages_blocks_video_video_idx", + "columns": [ + { + "expression": "video_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_video_poster_idx": { + "name": "pages_blocks_video_poster_idx", + "columns": [ + { + "expression": "poster_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_video_video_id_media_id_fk": { + "name": "pages_blocks_video_video_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "video_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_poster_id_media_id_fk": { + "name": "pages_blocks_video_poster_id_media_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "media", + "columnsFrom": [ + "poster_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_video_parent_id_fk": { + "name": "pages_blocks_video_parent_id_fk", + "tableFrom": "pages_blocks_video", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_mask": { + "name": "pages_blocks_widehero_mask", + "schema": "", + "columns": { + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "enum_pages_blocks_widehero_mask", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_mask_order_idx": { + "name": "pages_blocks_widehero_mask_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_parent_idx": { + "name": "pages_blocks_widehero_mask_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_mask_locale_idx": { + "name": "pages_blocks_widehero_mask_locale_idx", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_mask_parent_fk": { + "name": "pages_blocks_widehero_mask_parent_fk", + "tableFrom": "pages_blocks_widehero_mask", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_texts": { + "name": "pages_blocks_widehero_texts", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_widehero_texts_order_idx": { + "name": "pages_blocks_widehero_texts_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_parent_id_idx": { + "name": "pages_blocks_widehero_texts_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_texts_locale_idx": { + "name": "pages_blocks_widehero_texts_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_texts_parent_id_fk": { + "name": "pages_blocks_widehero_texts_parent_id_fk", + "tableFrom": "pages_blocks_widehero_texts", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero_buttons": { + "name": "pages_blocks_widehero_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "variant": { + "name": "variant", + "type": "enum_pages_blocks_widehero_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + } + }, + "indexes": { + "pages_blocks_widehero_buttons_order_idx": { + "name": "pages_blocks_widehero_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_parent_id_idx": { + "name": "pages_blocks_widehero_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_buttons_locale_idx": { + "name": "pages_blocks_widehero_buttons_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_buttons_parent_id_fk": { + "name": "pages_blocks_widehero_buttons_parent_id_fk", + "tableFrom": "pages_blocks_widehero_buttons", + "tableTo": "pages_blocks_widehero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_widehero": { + "name": "pages_blocks_widehero", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "badge": { + "name": "badge", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "badge_link": { + "name": "badge_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "show_image_border": { + "name": "show_image_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "shine_colors_color1": { + "name": "shine_colors_color1", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color2": { + "name": "shine_colors_color2", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "shine_colors_color3": { + "name": "shine_colors_color3", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_widehero_order_idx": { + "name": "pages_blocks_widehero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_parent_id_idx": { + "name": "pages_blocks_widehero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_path_idx": { + "name": "pages_blocks_widehero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_locale_idx": { + "name": "pages_blocks_widehero_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_widehero_image_idx": { + "name": "pages_blocks_widehero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_widehero_image_id_media_id_fk": { + "name": "pages_blocks_widehero_image_id_media_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_widehero_parent_id_fk": { + "name": "pages_blocks_widehero_parent_id_fk", + "tableFrom": "pages_blocks_widehero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature_features": { + "name": "pages_blocks_list_feature_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_features_order_idx": { + "name": "pages_blocks_list_feature_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_parent_id_idx": { + "name": "pages_blocks_list_feature_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_features_locale_idx": { + "name": "pages_blocks_list_feature_features_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_features_parent_id_fk": { + "name": "pages_blocks_list_feature_features_parent_id_fk", + "tableFrom": "pages_blocks_list_feature_features", + "tableTo": "pages_blocks_list_feature", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_list_feature": { + "name": "pages_blocks_list_feature", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_list_feature_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_list_feature_order_idx": { + "name": "pages_blocks_list_feature_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_parent_id_idx": { + "name": "pages_blocks_list_feature_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_path_idx": { + "name": "pages_blocks_list_feature_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_list_feature_locale_idx": { + "name": "pages_blocks_list_feature_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_list_feature_parent_id_fk": { + "name": "pages_blocks_list_feature_parent_id_fk", + "tableFrom": "pages_blocks_list_feature", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats_items": { + "name": "pages_blocks_stats_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "number": { + "name": "number", + "type": "numeric", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "enable_number_flow": { + "name": "enable_number_flow", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "suffix": { + "name": "suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_stats_items_order_idx": { + "name": "pages_blocks_stats_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_parent_id_idx": { + "name": "pages_blocks_stats_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_items_locale_idx": { + "name": "pages_blocks_stats_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_items_parent_id_fk": { + "name": "pages_blocks_stats_items_parent_id_fk", + "tableFrom": "pages_blocks_stats_items", + "tableTo": "pages_blocks_stats", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_stats": { + "name": "pages_blocks_stats", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_stats_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_stats_order_idx": { + "name": "pages_blocks_stats_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_parent_id_idx": { + "name": "pages_blocks_stats_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_path_idx": { + "name": "pages_blocks_stats_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_stats_locale_idx": { + "name": "pages_blocks_stats_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_stats_parent_id_fk": { + "name": "pages_blocks_stats_parent_id_fk", + "tableFrom": "pages_blocks_stats", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example_flow_items_segments": { + "name": "pages_blocks_flow_example_flow_items_segments", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_pages_blocks_flow_example_flow_items_segments_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'text'" + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_flow_example_flow_items_segments_order_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_segments_parent_id_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_segments_locale_idx": { + "name": "pages_blocks_flow_example_flow_items_segments_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_flow_items_segments_parent_id_fk": { + "name": "pages_blocks_flow_example_flow_items_segments_parent_id_fk", + "tableFrom": "pages_blocks_flow_example_flow_items_segments", + "tableTo": "pages_blocks_flow_example_flow_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example_flow_items": { + "name": "pages_blocks_flow_example_flow_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "color": { + "name": "color", + "type": "enum_pages_blocks_flow_example_flow_items_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'brand'" + }, + "outline": { + "name": "outline", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + } + }, + "indexes": { + "pages_blocks_flow_example_flow_items_order_idx": { + "name": "pages_blocks_flow_example_flow_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_parent_id_idx": { + "name": "pages_blocks_flow_example_flow_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_flow_items_locale_idx": { + "name": "pages_blocks_flow_example_flow_items_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_flow_items_parent_id_fk": { + "name": "pages_blocks_flow_example_flow_items_parent_id_fk", + "tableFrom": "pages_blocks_flow_example_flow_items", + "tableTo": "pages_blocks_flow_example", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_flow_example": { + "name": "pages_blocks_flow_example", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_path": { + "name": "_path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_heading": { + "name": "section_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_layout": { + "name": "section_layout", + "type": "enum_pages_blocks_flow_example_section_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'center'" + }, + "section_description": { + "name": "section_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_label": { + "name": "section_link_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_link_button_url": { + "name": "section_link_button_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_heading": { + "name": "content_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "content_description": { + "name": "content_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "flow_layout": { + "name": "flow_layout", + "type": "enum_pages_blocks_flow_example_flow_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'left'" + }, + "flow_trigger_icon": { + "name": "flow_trigger_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "flow_trigger_name": { + "name": "flow_trigger_name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "show_border": { + "name": "show_border", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_flow_example_order_idx": { + "name": "pages_blocks_flow_example_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_parent_id_idx": { + "name": "pages_blocks_flow_example_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_path_idx": { + "name": "pages_blocks_flow_example_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_flow_example_locale_idx": { + "name": "pages_blocks_flow_example_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_flow_example_parent_id_fk": { + "name": "pages_blocks_flow_example_parent_id_fk", + "tableFrom": "pages_blocks_flow_example", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages": { + "name": "pages", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_pages_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "pages_slug_idx": { + "name": "pages_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_updated_at_idx": { + "name": "pages_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_created_at_idx": { + "name": "pages_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_locales": { + "name": "pages_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_meta_meta_image_idx": { + "name": "pages_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_locales_locale_parent_id_unique": { + "name": "pages_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_locales_meta_image_id_media_id_fk": { + "name": "pages_locales_meta_image_id_media_id_fk", + "tableFrom": "pages_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_locales_parent_id_fk": { + "name": "pages_locales_parent_id_fk", + "tableFrom": "pages_locales", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_texts": { + "name": "pages_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_texts_order_parent": { + "name": "pages_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_texts_locale_parent": { + "name": "pages_texts_locale_parent", + "columns": [ + { + "expression": "locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_texts_parent_fk": { + "name": "pages_texts_parent_fk", + "tableFrom": "pages_texts", + "tableTo": "pages", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features": { + "name": "features", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "enum_features_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "features_slug_idx": { + "name": "features_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_updated_at_idx": { + "name": "features_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "features_created_at_idx": { + "name": "features_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.features_locales": { + "name": "features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "features_locales_locale_parent_id_unique": { + "name": "features_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "features_locales_parent_id_fk": { + "name": "features_locales_parent_id_fk", + "tableFrom": "features_locales", + "tableTo": "features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions": { + "name": "actions", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "trigger_id": { + "name": "trigger_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "functiondefinitions_id": { + "name": "functiondefinitions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "documentation_url": { + "name": "documentation_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "actions_slug_idx": { + "name": "actions_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_icon_idx": { + "name": "actions_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_trigger_idx": { + "name": "actions_trigger_idx", + "columns": [ + { + "expression": "trigger_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_functiondefinitions_idx": { + "name": "actions_functiondefinitions_idx", + "columns": [ + { + "expression": "functiondefinitions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_updated_at_idx": { + "name": "actions_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_created_at_idx": { + "name": "actions_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_icon_id_media_id_fk": { + "name": "actions_icon_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_trigger_id_media_id_fk": { + "name": "actions_trigger_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "trigger_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "actions_functiondefinitions_id_media_id_fk": { + "name": "actions_functiondefinitions_id_media_id_fk", + "tableFrom": "actions", + "tableTo": "media", + "columnsFrom": [ + "functiondefinitions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_locales": { + "name": "actions_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "documentation_label": { + "name": "documentation_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "actions_locales_locale_parent_id_unique": { + "name": "actions_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_locales_parent_id_fk": { + "name": "actions_locales_parent_id_fk", + "tableFrom": "actions_locales", + "tableTo": "actions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_texts": { + "name": "actions_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_texts_order_parent": { + "name": "actions_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_texts_parent_fk": { + "name": "actions_texts_parent_fk", + "tableFrom": "actions_texts", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.actions_rels": { + "name": "actions_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "actions_rels_order_idx": { + "name": "actions_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_parent_idx": { + "name": "actions_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_path_idx": { + "name": "actions_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "actions_rels_actions_id_idx": { + "name": "actions_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "actions_rels_parent_fk": { + "name": "actions_rels_parent_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "actions_rels_actions_fk": { + "name": "actions_rels_actions_fk", + "tableFrom": "actions_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs": { + "name": "jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "category": { + "name": "category", + "type": "enum_jobs_category", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_jobs_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "location": { + "name": "location", + "type": "enum_jobs_location", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "jobs_slug_idx": { + "name": "jobs_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_updated_at_idx": { + "name": "jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "jobs_created_at_idx": { + "name": "jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.jobs_locales": { + "name": "jobs_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "jobs_locales_locale_parent_id_unique": { + "name": "jobs_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "jobs_locales_parent_id_fk": { + "name": "jobs_locales_parent_id_fk", + "tableFrom": "jobs_locales", + "tableTo": "jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog": { + "name": "blog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "is_pinned": { + "name": "is_pinned", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "author_id": { + "name": "author_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "hero_image_id": { + "name": "hero_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "blog_slug_idx": { + "name": "blog_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_is_pinned_idx": { + "name": "blog_is_pinned_idx", + "columns": [ + { + "expression": "is_pinned", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_author_idx": { + "name": "blog_author_idx", + "columns": [ + { + "expression": "author_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_hero_image_idx": { + "name": "blog_hero_image_idx", + "columns": [ + { + "expression": "hero_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_updated_at_idx": { + "name": "blog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_created_at_idx": { + "name": "blog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_author_id_team_members_id_fk": { + "name": "blog_author_id_team_members_id_fk", + "tableFrom": "blog", + "tableTo": "team_members", + "columnsFrom": [ + "author_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_hero_image_id_media_id_fk": { + "name": "blog_hero_image_id_media_id_fk", + "tableFrom": "blog", + "tableTo": "media", + "columnsFrom": [ + "hero_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.blog_locales": { + "name": "blog_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "blog_meta_meta_image_idx": { + "name": "blog_meta_meta_image_idx", + "columns": [ + { + "expression": "meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "blog_locales_locale_parent_id_unique": { + "name": "blog_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "blog_locales_meta_image_id_media_id_fk": { + "name": "blog_locales_meta_image_id_media_id_fk", + "tableFrom": "blog_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "blog_locales_parent_id_fk": { + "name": "blog_locales_parent_id_fk", + "tableFrom": "blog_locales", + "tableTo": "blog", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members": { + "name": "team_members", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "joined_at": { + "name": "joined_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "team_members_image_idx": { + "name": "team_members_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_updated_at_idx": { + "name": "team_members_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "team_members_created_at_idx": { + "name": "team_members_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_image_id_media_id_fk": { + "name": "team_members_image_id_media_id_fk", + "tableFrom": "team_members", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.team_members_locales": { + "name": "team_members_locales", + "schema": "", + "columns": { + "short_description": { + "name": "short_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "about": { + "name": "about", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "role": { + "name": "role", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "team_members_locales_locale_parent_id_unique": { + "name": "team_members_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "team_members_locales_parent_id_fk": { + "name": "team_members_locales_parent_id_fk", + "tableFrom": "team_members_locales", + "tableTo": "team_members", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports": { + "name": "exports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "format": { + "name": "format", + "type": "enum_exports_format", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'csv'" + }, + "limit": { + "name": "limit", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "page": { + "name": "page", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + }, + "sort": { + "name": "sort", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sort_order": { + "name": "sort_order", + "type": "enum_exports_sort_order", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "locale": { + "name": "locale", + "type": "enum_exports_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'all'" + }, + "drafts": { + "name": "drafts", + "type": "enum_exports_drafts", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yes'" + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "where": { + "name": "where", + "type": "jsonb", + "primaryKey": false, + "notNull": false, + "default": "'{}'::jsonb" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_updated_at_idx": { + "name": "exports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_created_at_idx": { + "name": "exports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "exports_filename_idx": { + "name": "exports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.exports_texts": { + "name": "exports_texts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "exports_texts_order_parent": { + "name": "exports_texts_order_parent", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "exports_texts_parent_fk": { + "name": "exports_texts_parent_fk", + "tableFrom": "exports_texts", + "tableTo": "exports", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.imports": { + "name": "imports", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "collection_slug": { + "name": "collection_slug", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users'" + }, + "import_mode": { + "name": "import_mode", + "type": "enum_imports_import_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "match_field": { + "name": "match_field", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'id'" + }, + "status": { + "name": "status", + "type": "enum_imports_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pending'" + }, + "summary_imported": { + "name": "summary_imported", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_updated": { + "name": "summary_updated", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_total": { + "name": "summary_total", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issues": { + "name": "summary_issues", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "summary_issue_details": { + "name": "summary_issue_details", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_u_r_l": { + "name": "thumbnail_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filename": { + "name": "filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mime_type": { + "name": "mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "filesize": { + "name": "filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "height": { + "name": "height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_x": { + "name": "focal_x", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "focal_y": { + "name": "focal_y", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "imports_updated_at_idx": { + "name": "imports_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_created_at_idx": { + "name": "imports_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "imports_filename_idx": { + "name": "imports_filename_idx", + "columns": [ + { + "expression": "filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_ai_auditlog": { + "name": "payload_ai_auditlog", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "action": { + "name": "action", + "type": "enum_payload_ai_auditlog_action", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "target_type": { + "name": "target_type", + "type": "enum_payload_ai_auditlog_target_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "collection": { + "name": "collection", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "document_i_d": { + "name": "document_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "target_u_r_l": { + "name": "target_u_r_l", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "additions": { + "name": "additions", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "removals": { + "name": "removals", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "before": { + "name": "before", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "after": { + "name": "after", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "proposal": { + "name": "proposal", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "prompt": { + "name": "prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "input_tokens": { + "name": "input_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "output_tokens": { + "name": "output_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "total_tokens": { + "name": "total_tokens", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "ai_response": { + "name": "ai_response", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_i_d": { + "name": "user_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "user_label": { + "name": "user_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_ai_auditlog_updated_at_idx": { + "name": "payload_ai_auditlog_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_ai_auditlog_created_at_idx": { + "name": "payload_ai_auditlog_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_kv": { + "name": "payload_kv", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "jsonb", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "payload_kv_key_idx": { + "name": "payload_kv_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs_log": { + "name": "payload_jobs_log", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "executed_at": { + "name": "executed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_log_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "task_i_d": { + "name": "task_i_d", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "output": { + "name": "output", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "enum_payload_jobs_log_state", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_jobs_log_order_idx": { + "name": "payload_jobs_log_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_log_parent_id_idx": { + "name": "payload_jobs_log_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_jobs_log_parent_id_fk": { + "name": "payload_jobs_log_parent_id_fk", + "tableFrom": "payload_jobs_log", + "tableTo": "payload_jobs", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_jobs": { + "name": "payload_jobs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "input": { + "name": "input", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "completed_at": { + "name": "completed_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "total_tried": { + "name": "total_tried", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "has_error": { + "name": "has_error", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "error": { + "name": "error", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "task_slug": { + "name": "task_slug", + "type": "enum_payload_jobs_task_slug", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "queue": { + "name": "queue", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "wait_until": { + "name": "wait_until", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "processing": { + "name": "processing", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_jobs_completed_at_idx": { + "name": "payload_jobs_completed_at_idx", + "columns": [ + { + "expression": "completed_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_total_tried_idx": { + "name": "payload_jobs_total_tried_idx", + "columns": [ + { + "expression": "total_tried", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_has_error_idx": { + "name": "payload_jobs_has_error_idx", + "columns": [ + { + "expression": "has_error", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_task_slug_idx": { + "name": "payload_jobs_task_slug_idx", + "columns": [ + { + "expression": "task_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_queue_idx": { + "name": "payload_jobs_queue_idx", + "columns": [ + { + "expression": "queue", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_wait_until_idx": { + "name": "payload_jobs_wait_until_idx", + "columns": [ + { + "expression": "wait_until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_processing_idx": { + "name": "payload_jobs_processing_idx", + "columns": [ + { + "expression": "processing", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_updated_at_idx": { + "name": "payload_jobs_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_jobs_created_at_idx": { + "name": "payload_jobs_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents": { + "name": "payload_locked_documents", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "global_slug": { + "name": "global_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_locked_documents_global_slug_idx": { + "name": "payload_locked_documents_global_slug_idx", + "columns": [ + { + "expression": "global_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_updated_at_idx": { + "name": "payload_locked_documents_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_created_at_idx": { + "name": "payload_locked_documents_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_locked_documents_rels": { + "name": "payload_locked_documents_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "media_id": { + "name": "media_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "features_id": { + "name": "features_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "actions_id": { + "name": "actions_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "jobs_id": { + "name": "jobs_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "blog_id": { + "name": "blog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "team_members_id": { + "name": "team_members_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "payload_ai_auditlog_id": { + "name": "payload_ai_auditlog_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_locked_documents_rels_order_idx": { + "name": "payload_locked_documents_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_parent_idx": { + "name": "payload_locked_documents_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_path_idx": { + "name": "payload_locked_documents_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_users_id_idx": { + "name": "payload_locked_documents_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_media_id_idx": { + "name": "payload_locked_documents_rels_media_id_idx", + "columns": [ + { + "expression": "media_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_pages_id_idx": { + "name": "payload_locked_documents_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_features_id_idx": { + "name": "payload_locked_documents_rels_features_id_idx", + "columns": [ + { + "expression": "features_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_actions_id_idx": { + "name": "payload_locked_documents_rels_actions_id_idx", + "columns": [ + { + "expression": "actions_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_jobs_id_idx": { + "name": "payload_locked_documents_rels_jobs_id_idx", + "columns": [ + { + "expression": "jobs_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_blog_id_idx": { + "name": "payload_locked_documents_rels_blog_id_idx", + "columns": [ + { + "expression": "blog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_team_members_id_idx": { + "name": "payload_locked_documents_rels_team_members_id_idx", + "columns": [ + { + "expression": "team_members_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_payload_ai_auditlog_id_idx": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_id_idx", + "columns": [ + { + "expression": "payload_ai_auditlog_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_locked_documents_rels_parent_fk": { + "name": "payload_locked_documents_rels_parent_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_locked_documents", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_users_fk": { + "name": "payload_locked_documents_rels_users_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_media_fk": { + "name": "payload_locked_documents_rels_media_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "media", + "columnsFrom": [ + "media_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_pages_fk": { + "name": "payload_locked_documents_rels_pages_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_features_fk": { + "name": "payload_locked_documents_rels_features_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "features", + "columnsFrom": [ + "features_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_actions_fk": { + "name": "payload_locked_documents_rels_actions_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "actions", + "columnsFrom": [ + "actions_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_jobs_fk": { + "name": "payload_locked_documents_rels_jobs_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "jobs", + "columnsFrom": [ + "jobs_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_blog_fk": { + "name": "payload_locked_documents_rels_blog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "blog", + "columnsFrom": [ + "blog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_team_members_fk": { + "name": "payload_locked_documents_rels_team_members_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "team_members", + "columnsFrom": [ + "team_members_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_payload_ai_auditlog_fk": { + "name": "payload_locked_documents_rels_payload_ai_auditlog_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "payload_ai_auditlog", + "columnsFrom": [ + "payload_ai_auditlog_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences": { + "name": "payload_preferences", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "value": { + "name": "value", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_preferences_key_idx": { + "name": "payload_preferences_key_idx", + "columns": [ + { + "expression": "key", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_updated_at_idx": { + "name": "payload_preferences_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_created_at_idx": { + "name": "payload_preferences_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_preferences_rels": { + "name": "payload_preferences_rels", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order": { + "name": "order", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "payload_preferences_rels_order_idx": { + "name": "payload_preferences_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_parent_idx": { + "name": "payload_preferences_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_path_idx": { + "name": "payload_preferences_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_preferences_rels_users_id_idx": { + "name": "payload_preferences_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "payload_preferences_rels_parent_fk": { + "name": "payload_preferences_rels_parent_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "payload_preferences", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_preferences_rels_users_fk": { + "name": "payload_preferences_rels_users_fk", + "tableFrom": "payload_preferences_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.payload_migrations": { + "name": "payload_migrations", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "batch": { + "name": "batch", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "payload_migrations_updated_at_idx": { + "name": "payload_migrations_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_migrations_created_at_idx": { + "name": "payload_migrations_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu": { + "name": "navigation_items_items_sub_menu", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_order_idx": { + "name": "navigation_items_items_sub_menu_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_sub_menu_parent_id_idx": { + "name": "navigation_items_items_sub_menu_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_parent_id_fk": { + "name": "navigation_items_items_sub_menu_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_sub_menu_locales": { + "name": "navigation_items_items_sub_menu_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_sub_menu_locales_locale_parent_id_uni": { + "name": "navigation_items_items_sub_menu_locales_locale_parent_id_uni", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_sub_menu_locales_parent_id_fk": { + "name": "navigation_items_items_sub_menu_locales_parent_id_fk", + "tableFrom": "navigation_items_items_sub_menu_locales", + "tableTo": "navigation_items_items_sub_menu", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items": { + "name": "navigation_items_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + } + }, + "indexes": { + "navigation_items_items_order_idx": { + "name": "navigation_items_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_items_items_parent_id_idx": { + "name": "navigation_items_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_parent_id_fk": { + "name": "navigation_items_items_parent_id_fk", + "tableFrom": "navigation_items_items", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_items_items_locales": { + "name": "navigation_items_items_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_items_items_locales_locale_parent_id_unique": { + "name": "navigation_items_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_items_items_locales_parent_id_fk": { + "name": "navigation_items_items_locales_parent_id_fk", + "tableFrom": "navigation_items_items_locales", + "tableTo": "navigation_items_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons": { + "name": "navigation_buttons_buttons", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "href": { + "name": "href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "order": { + "name": "order", + "type": "numeric", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "new_tab": { + "name": "new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "variant": { + "name": "variant", + "type": "enum_navigation_buttons_buttons_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'normal'" + } + }, + "indexes": { + "navigation_buttons_buttons_order_idx": { + "name": "navigation_buttons_buttons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "navigation_buttons_buttons_parent_id_idx": { + "name": "navigation_buttons_buttons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_parent_id_fk": { + "name": "navigation_buttons_buttons_parent_id_fk", + "tableFrom": "navigation_buttons_buttons", + "tableTo": "navigation", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation_buttons_buttons_locales": { + "name": "navigation_buttons_buttons_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "navigation_buttons_buttons_locales_locale_parent_id_unique": { + "name": "navigation_buttons_buttons_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_buttons_buttons_locales_parent_id_fk": { + "name": "navigation_buttons_buttons_locales_parent_id_fk", + "tableFrom": "navigation_buttons_buttons_locales", + "tableTo": "navigation_buttons_buttons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.navigation": { + "name": "navigation", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "logo_id": { + "name": "logo_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "navigation_logo_idx": { + "name": "navigation_logo_idx", + "columns": [ + { + "expression": "logo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "navigation_logo_id_media_id_fk": { + "name": "navigation_logo_id_media_id_fk", + "tableFrom": "navigation", + "tableTo": "media", + "columnsFrom": [ + "logo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_social_links": { + "name": "footer_social_links", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "platform": { + "name": "platform", + "type": "enum_footer_social_links_platform", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_social_links_order_idx": { + "name": "footer_social_links_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_social_links_parent_id_idx": { + "name": "footer_social_links_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_social_links_parent_id_fk": { + "name": "footer_social_links_parent_id_fk", + "tableFrom": "footer_social_links", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items": { + "name": "footer_groups_items", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_order_idx": { + "name": "footer_groups_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_items_parent_id_idx": { + "name": "footer_groups_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_parent_id_fk": { + "name": "footer_groups_items_parent_id_fk", + "tableFrom": "footer_groups_items", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_items_locales": { + "name": "footer_groups_items_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_items_locales_locale_parent_id_unique": { + "name": "footer_groups_items_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_items_locales_parent_id_fk": { + "name": "footer_groups_items_locales_parent_id_fk", + "tableFrom": "footer_groups_items_locales", + "tableTo": "footer_groups_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups": { + "name": "footer_groups", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + } + }, + "indexes": { + "footer_groups_order_idx": { + "name": "footer_groups_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_groups_parent_id_idx": { + "name": "footer_groups_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_parent_id_fk": { + "name": "footer_groups_parent_id_fk", + "tableFrom": "footer_groups", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_groups_locales": { + "name": "footer_groups_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_groups_locales_locale_parent_id_unique": { + "name": "footer_groups_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_groups_locales_parent_id_fk": { + "name": "footer_groups_locales_parent_id_fk", + "tableFrom": "footer_groups_locales", + "tableTo": "footer_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer": { + "name": "footer", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "contact_email": { + "name": "contact_email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_url": { + "name": "legal_links_privacy_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/privacy'" + }, + "legal_links_legal_notice_url": { + "name": "legal_links_legal_notice_url", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'/legal-notice'" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "footer_image_idx": { + "name": "footer_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_image_id_media_id_fk": { + "name": "footer_image_id_media_id_fk", + "tableFrom": "footer", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_locales": { + "name": "footer_locales", + "schema": "", + "columns": { + "company_name": { + "name": "company_name", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'CodeZero GmbH'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "legal_links_privacy_label": { + "name": "legal_links_privacy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Privacy Policy'" + }, + "legal_links_legal_notice_label": { + "name": "legal_links_legal_notice_label", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'Legal Notice'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_locales_locale_parent_id_unique": { + "name": "footer_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_locales_parent_id_fk": { + "name": "footer_locales_parent_id_fk", + "tableFrom": "footer_locales", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner": { + "name": "cookie_banner", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.cookie_banner_locales": { + "name": "cookie_banner_locales", + "schema": "", + "columns": { + "common_accept_all": { + "name": "common_accept_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_reject_all": { + "name": "common_reject_all", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_customize": { + "name": "common_customize", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "common_save": { + "name": "common_save", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_title": { + "name": "cookie_banner_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "cookie_banner_description": { + "name": "cookie_banner_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_title": { + "name": "consent_manager_dialog_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_manager_dialog_description": { + "name": "consent_manager_dialog_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_title": { + "name": "consent_types_necessary_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_necessary_description": { + "name": "consent_types_necessary_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_title": { + "name": "consent_types_measurement_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_measurement_description": { + "name": "consent_types_measurement_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_title": { + "name": "consent_types_marketing_title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "consent_types_marketing_description": { + "name": "consent_types_marketing_description", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_label": { + "name": "legal_links_privacy_policy_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_privacy_policy_href": { + "name": "legal_links_privacy_policy_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_label": { + "name": "legal_links_terms_of_service_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "legal_links_terms_of_service_href": { + "name": "legal_links_terms_of_service_href", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "cookie_banner_locales_locale_parent_id_unique": { + "name": "cookie_banner_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "cookie_banner_locales_parent_id_fk": { + "name": "cookie_banner_locales_parent_id_fk", + "tableFrom": "cookie_banner_locales", + "tableTo": "cookie_banner", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview": { + "name": "subscription_config_feature_overview", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_order_idx": { + "name": "subscription_config_feature_overview_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_feature_overview_parent_id_idx": { + "name": "subscription_config_feature_overview_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_parent_id_fk": { + "name": "subscription_config_feature_overview_parent_id_fk", + "tableFrom": "subscription_config_feature_overview", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_feature_overview_locales": { + "name": "subscription_config_feature_overview_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_feature_overview_locales_locale_parent_i": { + "name": "subscription_config_feature_overview_locales_locale_parent_i", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_feature_overview_locales_parent_id_fk": { + "name": "subscription_config_feature_overview_locales_parent_id_fk", + "tableFrom": "subscription_config_feature_overview_locales", + "tableTo": "subscription_config_feature_overview", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types": { + "name": "subscription_config_workflow_calculator_business_types", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building'" + }, + "conversion_rate": { + "name": "conversion_rate", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_order_idx": { + "name": "subscription_config_workflow_calculator_business_types_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_workflow_calculator_business_types_parent_id_idx": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_parent_id_fk": { + "name": "subscription_config_workflow_calculator_business_types_parent_id_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_workflow_calculator_business_types_locales": { + "name": "subscription_config_workflow_calculator_business_types_locales", + "schema": "", + "columns": { + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "conversion_unit": { + "name": "conversion_unit", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'executions'" + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_workflow_calculator_business_types_local": { + "name": "subscription_config_workflow_calculator_business_types_local", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_workflow_calculator_business_types_lo_fk": { + "name": "subscription_config_workflow_calculator_business_types_lo_fk", + "tableFrom": "subscription_config_workflow_calculator_business_types_locales", + "tableTo": "subscription_config_workflow_calculator_business_types", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features": { + "name": "subscription_config_additional_features", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon": { + "name": "icon", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + } + }, + "indexes": { + "subscription_config_additional_features_order_idx": { + "name": "subscription_config_additional_features_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "subscription_config_additional_features_parent_id_idx": { + "name": "subscription_config_additional_features_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_parent_id_fk": { + "name": "subscription_config_additional_features_parent_id_fk", + "tableFrom": "subscription_config_additional_features", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_additional_features_locales": { + "name": "subscription_config_additional_features_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_additional_features_locales_locale_paren": { + "name": "subscription_config_additional_features_locales_locale_paren", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_additional_features_locales_parent_id_fk": { + "name": "subscription_config_additional_features_locales_parent_id_fk", + "tableFrom": "subscription_config_additional_features_locales", + "tableTo": "subscription_config_additional_features", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config": { + "name": "subscription_config", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription Config'" + }, + "defaults_deployment": { + "name": "defaults_deployment", + "type": "enum_subscription_config_defaults_deployment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'self-hosted'" + }, + "defaults_customer_type": { + "name": "defaults_customer_type", + "type": "enum_subscription_config_defaults_customer_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'b2b'" + }, + "defaults_payment_period": { + "name": "defaults_payment_period", + "type": "enum_subscription_config_defaults_payment_period", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'monthly'" + }, + "defaults_workflow_executions_b2b": { + "name": "defaults_workflow_executions_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "defaults_workflow_executions_b2c": { + "name": "defaults_workflow_executions_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "defaults_ai_tokens_b2b": { + "name": "defaults_ai_tokens_b2b", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "defaults_ai_tokens_b2c": { + "name": "defaults_ai_tokens_b2c", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "deployment_self_hosted_icon": { + "name": "deployment_self_hosted_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'server'" + }, + "deployment_self_hosted_color": { + "name": "deployment_self_hosted_color", + "type": "enum_subscription_config_deployment_self_hosted_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "deployment_cloud_icon": { + "name": "deployment_cloud_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'cloud'" + }, + "deployment_cloud_color": { + "name": "deployment_cloud_color", + "type": "enum_subscription_config_deployment_cloud_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "customer_type_b2b_icon": { + "name": "customer_type_b2b_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'briefcase-2'" + }, + "customer_type_b2b_color": { + "name": "customer_type_b2b_color", + "type": "enum_subscription_config_customer_type_b2b_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'blue'" + }, + "customer_type_b2c_icon": { + "name": "customer_type_b2c_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'building-store'" + }, + "customer_type_b2c_color": { + "name": "customer_type_b2c_color", + "type": "enum_subscription_config_customer_type_b2c_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'pink'" + }, + "subscription_tier_pro_icon": { + "name": "subscription_tier_pro_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'sparkles'" + }, + "subscription_tier_pro_color": { + "name": "subscription_tier_pro_color", + "type": "enum_subscription_config_subscription_tier_pro_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'brand'" + }, + "subscription_tier_team_icon": { + "name": "subscription_tier_team_icon", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'users-group'" + }, + "subscription_tier_team_color": { + "name": "subscription_tier_team_color", + "type": "enum_subscription_config_subscription_tier_team_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'aqua'" + }, + "payment_period_quarterly_discount": { + "name": "payment_period_quarterly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "payment_period_yearly_discount": { + "name": "payment_period_yearly_discount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "workflow_executions_b2b_step": { + "name": "workflow_executions_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "workflow_executions_b2b_min": { + "name": "workflow_executions_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 200 + }, + "workflow_executions_b2b_max": { + "name": "workflow_executions_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "workflow_executions_b2c_step": { + "name": "workflow_executions_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_min": { + "name": "workflow_executions_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10 + }, + "workflow_executions_b2c_max": { + "name": "workflow_executions_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "workflow_execution_price_factor": { + "name": "workflow_execution_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.001 + }, + "ai_tokens_b2b_step": { + "name": "ai_tokens_b2b_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_min": { + "name": "ai_tokens_b2b_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100000 + }, + "ai_tokens_b2b_max": { + "name": "ai_tokens_b2b_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000000 + }, + "ai_tokens_b2c_step": { + "name": "ai_tokens_b2c_step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_min": { + "name": "ai_tokens_b2c_min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 10000 + }, + "ai_tokens_b2c_max": { + "name": "ai_tokens_b2c_max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000000 + }, + "ai_token_price_factor": { + "name": "ai_token_price_factor", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0.000001 + }, + "contact_sales_href": { + "name": "contact_sales_href", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/contact'" + }, + "subscribe_base_url": { + "name": "subscribe_base_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "''" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.subscription_config_locales": { + "name": "subscription_config_locales", + "schema": "", + "columns": { + "page_intro_heading": { + "name": "page_intro_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Configure your setup before you talk pricing.'" + }, + "page_intro_description": { + "name": "page_intro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Pick your operating model, customer shape, and usage pattern. The right-hand side updates into a purchase-ready configuration flow instead of a generic pricing table.'" + }, + "options_panel_heading": { + "name": "options_panel_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Build the subscription shape'" + }, + "deployment_label": { + "name": "deployment_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deployment'" + }, + "deployment_self_hosted_title": { + "name": "deployment_self_hosted_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Self-hosted'" + }, + "deployment_self_hosted_description": { + "name": "deployment_self_hosted_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Deploy on your own infrastructure with full operational control.'" + }, + "deployment_cloud_title": { + "name": "deployment_cloud_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cloud'" + }, + "deployment_cloud_description": { + "name": "deployment_cloud_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Use managed infrastructure with selectable runtime consumption.'" + }, + "customer_type_label": { + "name": "customer_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Customer Type'" + }, + "customer_type_b2b_title": { + "name": "customer_type_b2b_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2B'" + }, + "customer_type_b2b_description": { + "name": "customer_type_b2b_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Organization purchase flow with tailored commercial handling.'" + }, + "customer_type_b2c_title": { + "name": "customer_type_b2c_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'B2C'" + }, + "customer_type_b2c_description": { + "name": "customer_type_b2c_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Standardized subscription flow with directly selectable plans.'" + }, + "subscription_tier_label": { + "name": "subscription_tier_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Subscription tier'" + }, + "subscription_tier_pro_title": { + "name": "subscription_tier_pro_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'PRO'" + }, + "subscription_tier_pro_description": { + "name": "subscription_tier_pro_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Single-owner setup for advanced personal or expert workflows.'" + }, + "subscription_tier_team_title": { + "name": "subscription_tier_team_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'TEAM'" + }, + "subscription_tier_team_description": { + "name": "subscription_tier_team_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Shared workspace model with seat-based team access.'" + }, + "payment_period_label": { + "name": "payment_period_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Payment period'" + }, + "payment_period_description": { + "name": "payment_period_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Choose how often you want to be billed.'" + }, + "payment_period_monthly_text": { + "name": "payment_period_monthly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Monthly'" + }, + "payment_period_quarterly_text": { + "name": "payment_period_quarterly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Quarterly'" + }, + "payment_period_yearly_text": { + "name": "payment_period_yearly_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Yearly'" + }, + "payment_period_monthly_period_suffix": { + "name": "payment_period_monthly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "payment_period_quarterly_period_suffix": { + "name": "payment_period_quarterly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per quarter'" + }, + "payment_period_yearly_period_suffix": { + "name": "payment_period_yearly_period_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per year'" + }, + "workflow_executions_title": { + "name": "workflow_executions_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Workflow Executions'" + }, + "workflow_executions_description": { + "name": "workflow_executions_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many workflow executions do you expect per month?'" + }, + "workflow_executions_suffix": { + "name": "workflow_executions_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'exec'" + }, + "workflow_calculator_trigger_label": { + "name": "workflow_calculator_trigger_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate'" + }, + "workflow_calculator_title": { + "name": "workflow_calculator_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Calculate workflow executions'" + }, + "workflow_calculator_description": { + "name": "workflow_calculator_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimate monthly volume from your active workflows and their average execution frequency.'" + }, + "workflow_calculator_close_label": { + "name": "workflow_calculator_close_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Close dialog'" + }, + "workflow_calculator_business_type_label": { + "name": "workflow_calculator_business_type_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Business type'" + }, + "workflow_calculator_business_type_search_placeholder": { + "name": "workflow_calculator_business_type_search_placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Search business types'" + }, + "workflow_calculator_no_business_types_found_label": { + "name": "workflow_calculator_no_business_types_found_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'No business types found.'" + }, + "workflow_calculator_active_workflows_label": { + "name": "workflow_calculator_active_workflows_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Active workflows'" + }, + "workflow_calculator_runs_per_day_label": { + "name": "workflow_calculator_runs_per_day_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Runs per month'" + }, + "workflow_calculator_days_per_month_label": { + "name": "workflow_calculator_days_per_month_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Days per month'" + }, + "workflow_calculator_estimate_label": { + "name": "workflow_calculator_estimate_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Estimated monthly volume'" + }, + "workflow_calculator_cancel_label": { + "name": "workflow_calculator_cancel_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Cancel'" + }, + "workflow_calculator_apply_label": { + "name": "workflow_calculator_apply_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Apply value'" + }, + "ai_tokens_title": { + "name": "ai_tokens_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'AI Tokens'" + }, + "ai_tokens_description": { + "name": "ai_tokens_description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'How many AI tokens do you expect to consume per month?'" + }, + "ai_tokens_suffix": { + "name": "ai_tokens_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'tokens'" + }, + "contact_sales_prompt": { + "name": "contact_sales_prompt", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Need more?'" + }, + "contact_sales_label": { + "name": "contact_sales_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Contact sales'" + }, + "subscribe_label": { + "name": "subscribe_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Buy now'" + }, + "price_heading": { + "name": "price_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Price'" + }, + "price_caption": { + "name": "price_caption", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'per month'" + }, + "additional_features_label": { + "name": "additional_features_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "subscription_config_locales_locale_parent_id_unique": { + "name": "subscription_config_locales_locale_parent_id_unique", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "subscription_config_locales_parent_id_fk": { + "name": "subscription_config_locales_parent_id_fk", + "tableFrom": "subscription_config_locales", + "tableTo": "subscription_config", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": { + "public._locales": { + "name": "_locales", + "schema": "public", + "values": [ + "en", + "de" + ] + }, + "public.enum_users_ai_provider": { + "name": "enum_users_ai_provider", + "schema": "public", + "values": [ + "claude", + "google", + "mistral", + "openai", + "openrouter" + ] + }, + "public.enum_pages_blocks_hero_buttons_variant": { + "name": "enum_pages_blocks_hero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_bento_section_layout": { + "name": "enum_pages_blocks_bento_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_bento_variant": { + "name": "enum_pages_blocks_bento_variant", + "schema": "public", + "values": [ + "feature", + "runtime" + ] + }, + "public.enum_pages_blocks_offset_cards_cards_mask": { + "name": "enum_pages_blocks_offset_cards_cards_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_section_layout": { + "name": "enum_pages_blocks_offset_cards_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_offset_cards_card_placement": { + "name": "enum_pages_blocks_offset_cards_card_placement", + "schema": "public", + "values": [ + "alternate", + "right", + "left" + ] + }, + "public.enum_pages_blocks_install_language": { + "name": "enum_pages_blocks_install_language", + "schema": "public", + "values": [ + "bsl", + "sdbl", + "abap", + "actionscript-3", + "ada", + "angular-html", + "angular-ts", + "apache", + "apex", + "apl", + "applescript", + "ara", + "asciidoc", + "razor", + "asm", + "astro", + "awk", + "ballerina", + "bat", + "beancount", + "berry", + "bibtex", + "bicep", + "bird2", + "blade", + "c", + "csharp", + "cpp", + "c3", + "cadence", + "cairo", + "clarity", + "clojure", + "soy", + "cmake", + "cobol", + "codeowners", + "codeql", + "coffee", + "common-lisp", + "coq", + "crystal", + "css", + "csv", + "cue", + "cypher", + "d", + "dart", + "dax", + "desktop", + "diff", + "docker", + "dotenv", + "dream-maker", + "edge", + "elixir", + "elm", + "emacs-lisp", + "erb", + "erlang", + "fsharp", + "fennel", + "fish", + "fluent", + "fortran-fixed-form", + "fortran-free-form", + "gdresource", + "gdscript", + "gdshader", + "genie", + "po", + "gherkin", + "git-commit", + "git-rebase", + "gleam", + "glimmer-js", + "glimmer-ts", + "glsl", + "gn", + "gnuplot", + "go", + "graphql", + "groovy", + "hack", + "handlebars", + "hcl", + "haskell", + "haxe", + "hjson", + "hlsl", + "html", + "html-derivative", + "http", + "hurl", + "hxml", + "hy", + "imba", + "ini", + "java", + "javascript", + "jinja", + "jison", + "json", + "jsonl", + "jsonc", + "json5", + "jsonnet", + "jssm", + "jsx", + "julia", + "just", + "kdl", + "kotlin", + "kusto", + "latex", + "lean", + "less", + "liquid", + "llvm", + "log", + "logo", + "lua", + "luau", + "make", + "markdown", + "marko", + "matlab", + "mdc", + "mdx", + "mermaid", + "mipsasm", + "mojo", + "moonbit", + "move", + "narrat", + "nextflow", + "nextflow-groovy", + "nginx", + "nim", + "nix", + "nushell", + "objective-c", + "objective-cpp", + "ocaml", + "odin", + "openscad", + "pascal", + "perl", + "php", + "pkl", + "plsql", + "polar", + "postcss", + "powerquery", + "powershell", + "prisma", + "prolog", + "proto", + "pug", + "puppet", + "purescript", + "python", + "qml", + "qmldir", + "qss", + "r", + "racket", + "raku", + "regexp", + "rel", + "rst", + "riscv", + "ron", + "rosmsg", + "ruby", + "haml", + "rust", + "sas", + "sass", + "scala", + "scheme", + "scss", + "shaderlab", + "shellscript", + "shellsession", + "smalltalk", + "solidity", + "sparql", + "splunk", + "sql", + "ssh-config", + "stata", + "stylus", + "surrealql", + "svelte", + "swift", + "systemd", + "system-verilog", + "talonscript", + "tasl", + "tcl", + "templ", + "terraform", + "tex", + "toml", + "tsv", + "tsx", + "turtle", + "twig", + "typescript", + "ts-tags", + "typespec", + "typst", + "v", + "vala", + "verilog", + "vhdl", + "viml", + "vb", + "vue", + "vue-html", + "vue-vine", + "vyper", + "wasm", + "wit", + "wenyan", + "wgsl", + "wikitext", + "reg", + "wolfram", + "xml", + "xsl", + "yaml", + "zenscript", + "zig" + ] + }, + "public.enum_pages_blocks_faq_section_layout": { + "name": "enum_pages_blocks_faq_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_cta_image_buttons_variant": { + "name": "enum_pages_blocks_cta_image_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_cta_image_image_mask": { + "name": "enum_pages_blocks_cta_image_image_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_blog_preview_section_layout": { + "name": "enum_pages_blocks_blog_preview_section_layout", + "schema": "public", + "values": [ + "imageCenter", + "imageLeft", + "imageRight" + ] + }, + "public.enum_pages_blocks_card_row_section_layout": { + "name": "enum_pages_blocks_card_row_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_roadmap_section_layout": { + "name": "enum_pages_blocks_roadmap_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_section_layout": { + "name": "enum_pages_blocks_scroll_cards_items_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient": { + "name": "enum_pages_blocks_scroll_cards_items_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_scroll_cards_items_gradient_direction": { + "name": "enum_pages_blocks_scroll_cards_items_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_standalone_card_section_layout": { + "name": "enum_pages_blocks_standalone_card_section_layout", + "schema": "public", + "values": [ + "imageRight", + "imageLeft", + "imageFullscreen", + "imageRightFullscreen", + "imageLeftFullscreen" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient": { + "name": "enum_pages_blocks_standalone_card_gradient", + "schema": "public", + "values": [ + "blue", + "yellow", + "pink", + "aqua", + "brand", + "neutral" + ] + }, + "public.enum_pages_blocks_standalone_card_gradient_direction": { + "name": "enum_pages_blocks_standalone_card_gradient_direction", + "schema": "public", + "values": [ + "topLeft", + "topRight", + "bottomLeft", + "bottomRight" + ] + }, + "public.enum_pages_blocks_video_source_type": { + "name": "enum_pages_blocks_video_source_type", + "schema": "public", + "values": [ + "url", + "media" + ] + }, + "public.enum_pages_blocks_widehero_mask": { + "name": "enum_pages_blocks_widehero_mask", + "schema": "public", + "values": [ + "top", + "right", + "bottom", + "left" + ] + }, + "public.enum_pages_blocks_widehero_buttons_variant": { + "name": "enum_pages_blocks_widehero_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_pages_blocks_list_feature_section_layout": { + "name": "enum_pages_blocks_list_feature_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_stats_section_layout": { + "name": "enum_pages_blocks_stats_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_flow_example_flow_items_segments_type": { + "name": "enum_pages_blocks_flow_example_flow_items_segments_type", + "schema": "public", + "values": [ + "text", + "literal", + "reference", + "node" + ] + }, + "public.enum_pages_blocks_flow_example_flow_items_color": { + "name": "enum_pages_blocks_flow_example_flow_items_color", + "schema": "public", + "values": [ + "brand", + "yellow", + "aqua", + "blue", + "pink" + ] + }, + "public.enum_pages_blocks_flow_example_section_layout": { + "name": "enum_pages_blocks_flow_example_section_layout", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_flow_example_flow_layout": { + "name": "enum_pages_blocks_flow_example_flow_layout", + "schema": "public", + "values": [ + "left", + "right" + ] + }, + "public.enum_pages_slug": { + "name": "enum_pages_slug", + "schema": "public", + "values": [ + "main", + "jobs", + "blog", + "features", + "about-us", + "legal-notice", + "privacy", + "terms", + "open-source-no-code-automation", + "contact", + "actions", + "action-details", + "community-edition", + "enterprise-edition", + "subscription" + ] + }, + "public.enum_features_slug": { + "name": "enum_features_slug", + "schema": "public", + "values": [ + "projects", + "role-system", + "member-management", + "organizations", + "suggestion-menu", + "nodes", + "runtime-types", + "action-list" + ] + }, + "public.enum_jobs_category": { + "name": "enum_jobs_category", + "schema": "public", + "values": [ + "engineering", + "marketing", + "design", + "product", + "sales", + "operations" + ] + }, + "public.enum_jobs_type": { + "name": "enum_jobs_type", + "schema": "public", + "values": [ + "full-time", + "part-time", + "contract", + "internship", + "working-student", + "freelance" + ] + }, + "public.enum_jobs_location": { + "name": "enum_jobs_location", + "schema": "public", + "values": [ + "remote", + "hybrid", + "leipzig", + "solingen" + ] + }, + "public.enum_exports_format": { + "name": "enum_exports_format", + "schema": "public", + "values": [ + "csv", + "json" + ] + }, + "public.enum_exports_sort_order": { + "name": "enum_exports_sort_order", + "schema": "public", + "values": [ + "asc", + "desc" + ] + }, + "public.enum_exports_locale": { + "name": "enum_exports_locale", + "schema": "public", + "values": [ + "all", + "en", + "de" + ] + }, + "public.enum_exports_drafts": { + "name": "enum_exports_drafts", + "schema": "public", + "values": [ + "yes", + "no" + ] + }, + "public.enum_imports_import_mode": { + "name": "enum_imports_import_mode", + "schema": "public", + "values": [ + "create", + "update", + "upsert" + ] + }, + "public.enum_imports_status": { + "name": "enum_imports_status", + "schema": "public", + "values": [ + "pending", + "completed", + "partial", + "failed" + ] + }, + "public.enum_payload_ai_auditlog_action": { + "name": "enum_payload_ai_auditlog_action", + "schema": "public", + "values": [ + "create", + "update", + "delete", + "updateGlobal" + ] + }, + "public.enum_payload_ai_auditlog_target_type": { + "name": "enum_payload_ai_auditlog_target_type", + "schema": "public", + "values": [ + "collection", + "global" + ] + }, + "public.enum_payload_jobs_log_task_slug": { + "name": "enum_payload_jobs_log_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_payload_jobs_log_state": { + "name": "enum_payload_jobs_log_state", + "schema": "public", + "values": [ + "failed", + "succeeded" + ] + }, + "public.enum_payload_jobs_task_slug": { + "name": "enum_payload_jobs_task_slug", + "schema": "public", + "values": [ + "inline", + "createCollectionExport", + "createCollectionImport" + ] + }, + "public.enum_navigation_buttons_buttons_variant": { + "name": "enum_navigation_buttons_buttons_variant", + "schema": "public", + "values": [ + "none", + "normal", + "outlined", + "filled" + ] + }, + "public.enum_footer_social_links_platform": { + "name": "enum_footer_social_links_platform", + "schema": "public", + "values": [ + "instagram", + "discord", + "x", + "linkedin", + "github" + ] + }, + "public.enum_subscription_config_defaults_deployment": { + "name": "enum_subscription_config_defaults_deployment", + "schema": "public", + "values": [ + "self-hosted", + "cloud" + ] + }, + "public.enum_subscription_config_defaults_customer_type": { + "name": "enum_subscription_config_defaults_customer_type", + "schema": "public", + "values": [ + "b2b", + "b2c" + ] + }, + "public.enum_subscription_config_defaults_payment_period": { + "name": "enum_subscription_config_defaults_payment_period", + "schema": "public", + "values": [ + "monthly", + "quarterly", + "yearly" + ] + }, + "public.enum_subscription_config_deployment_self_hosted_color": { + "name": "enum_subscription_config_deployment_self_hosted_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_deployment_cloud_color": { + "name": "enum_subscription_config_deployment_cloud_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2b_color": { + "name": "enum_subscription_config_customer_type_b2b_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_customer_type_b2c_color": { + "name": "enum_subscription_config_customer_type_b2c_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_pro_color": { + "name": "enum_subscription_config_subscription_tier_pro_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + }, + "public.enum_subscription_config_subscription_tier_team_color": { + "name": "enum_subscription_config_subscription_tier_team_color", + "schema": "public", + "values": [ + "brand", + "pink", + "yellow", + "aqua", + "blue" + ] + } + }, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "schemas": {}, + "tables": {}, + "columns": {} + }, + "id": "50b5fa47-f80a-481a-aad3-6a58e91c06a8", + "prevId": "00000000-0000-0000-0000-000000000000" +} \ No newline at end of file diff --git a/src/migrations/20260723_084800_20260723_stats_suffix.ts b/src/migrations/20260723_084800_20260723_stats_suffix.ts new file mode 100644 index 00000000..a0ec5442 --- /dev/null +++ b/src/migrations/20260723_084800_20260723_stats_suffix.ts @@ -0,0 +1,41 @@ +import { MigrateUpArgs, MigrateDownArgs, sql } from "@payloadcms/db-postgres" + +export async function up({ db }: MigrateUpArgs): Promise { + await db.execute(sql` + ALTER TABLE "pages_blocks_stats_items" ADD COLUMN IF NOT EXISTS "suffix" varchar; + DO $$ + BEGIN + IF EXISTS ( + SELECT 1 + FROM "information_schema"."columns" + WHERE "table_schema" = 'public' + AND "table_name" = 'pages_blocks_stats_items' + AND "column_name" = 'show_plus' + ) THEN + EXECUTE 'UPDATE "pages_blocks_stats_items" SET "suffix" = ''+'' WHERE "show_plus" = true'; + END IF; + END + $$; + ALTER TABLE "pages_blocks_stats_items" DROP COLUMN IF EXISTS "show_plus"; + `) +} + +export async function down({ db }: MigrateDownArgs): Promise { + await db.execute(sql` + ALTER TABLE "pages_blocks_stats_items" ADD COLUMN IF NOT EXISTS "show_plus" boolean DEFAULT false; + DO $$ + BEGIN + IF EXISTS ( + SELECT 1 + FROM "information_schema"."columns" + WHERE "table_schema" = 'public' + AND "table_name" = 'pages_blocks_stats_items' + AND "column_name" = 'suffix' + ) THEN + EXECUTE 'UPDATE "pages_blocks_stats_items" SET "show_plus" = true WHERE "suffix" = ''+'''; + END IF; + END + $$; + ALTER TABLE "pages_blocks_stats_items" DROP COLUMN IF EXISTS "suffix"; + `) +} diff --git a/src/migrations/index.ts b/src/migrations/index.ts index 924fbc4e..371111c5 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -42,6 +42,7 @@ import * as migration_20260720_123334_20260720_flow_example from './20260720_123 import * as migration_20260721_092035_20260721_flow_example_segments from './20260721_092035_20260721_flow_example_segments'; import * as migration_20260723_073358_20260723_flow_example_item_icons from './20260723_073358_20260723_flow_example_item_icons'; import * as migration_20260723_083548_20260723_flow_example_layouts from './20260723_083548_20260723_flow_example_layouts'; +import * as migration_20260723_084800_20260723_stats_suffix from './20260723_084800_20260723_stats_suffix'; export const migrations = [ { @@ -264,4 +265,9 @@ export const migrations = [ down: migration_20260723_083548_20260723_flow_example_layouts.down, name: '20260723_083548_20260723_flow_example_layouts' }, + { + up: migration_20260723_084800_20260723_stats_suffix.up, + down: migration_20260723_084800_20260723_stats_suffix.down, + name: '20260723_084800_20260723_stats_suffix', + }, ]; diff --git a/src/payload-types.ts b/src/payload-types.ts index 66276f82..3177c186 100644 --- a/src/payload-types.ts +++ b/src/payload-types.ts @@ -891,7 +891,7 @@ export interface Page { number: number; description: string; enableNumberFlow?: boolean | null; - showPlus?: boolean | null; + suffix?: string | null; id?: string | null; }[]; id?: string | null; @@ -1924,7 +1924,7 @@ export interface PagesSelect { number?: T; description?: T; enableNumberFlow?: T; - showPlus?: T; + suffix?: T; id?: T; }; id?: T; From de3e56c31449bad63dd3e80a0eb0d4e4e10fa8d8 Mon Sep 17 00:00:00 2001 From: Marius Ahsmus Date: Thu, 23 Jul 2026 10:58:19 +0200 Subject: [PATCH 6/6] fix: merge migration error Signed-off-by: Marius Ahsmus --- src/migrations/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/migrations/index.ts b/src/migrations/index.ts index 1ae4d9ea..f75777cb 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -280,6 +280,8 @@ export const migrations = [ up: migration_20260723_084800_20260723_stats_suffix.up, down: migration_20260723_084800_20260723_stats_suffix.down, name: '20260723_084800_20260723_stats_suffix', + }, + { up: migration_20260720_212600_actions_module_only.up, down: migration_20260720_212600_actions_module_only.down, name: '20260720_212600_actions_module_only',