diff --git a/src/blocks/FDLinkCardsBlock/Component.tsx b/src/blocks/FDLinkCardsBlock/Component.tsx new file mode 100644 index 0000000..a3d86d6 --- /dev/null +++ b/src/blocks/FDLinkCardsBlock/Component.tsx @@ -0,0 +1,140 @@ +import React from 'react' +import type { FDLinkCardsBlock as Props, Media } from '@/payload-types' +import { FDImage } from '@/components/FDImage' +import { sectionBg, isExplicitDark, headingColor, bodyColor, fdCardRadius } from '@/utilities/fdTheme' + +const cardStyleMap: Record = { + outlined: { + bg: 'bg-white/5', + title: 'text-white dark:text-white', + link: 'text-white/60 hover:text-fd-yellow dark:text-white/60 dark:hover:text-fd-yellow', + border: 'border border-white/10 dark:border-white/10', + }, + navy: { + bg: 'bg-fd-navy dark:bg-white/10', + title: 'text-white', + link: 'text-fd-yellow hover:text-fd-yellow/80', + border: '', + }, + gray: { + bg: 'bg-fd-gray-light dark:bg-white/10', + title: 'text-fd-navy dark:text-white', + link: 'text-fd-navy/60 hover:text-fd-navy dark:text-white/60 dark:hover:text-fd-yellow', + border: '', + }, + yellow: { + bg: 'bg-fd-yellow', + title: 'text-fd-navy', + link: 'text-fd-navy/60 hover:text-fd-navy', + border: '', + }, +} + +/* Light-section overrides for outlined cards (needs dark text, not white) */ +const cardStyleMapLight: Record = { + outlined: { + bg: 'bg-white dark:bg-white/5', + title: 'text-fd-navy dark:text-white', + link: 'text-fd-navy/60 hover:text-fd-navy dark:text-white/60 dark:hover:text-fd-yellow', + border: 'border border-gray-200 dark:border-white/10', + }, +} + +const colsMap: Record = { + '2': 'md:grid-cols-2', + '3': 'md:grid-cols-3', + '4': 'md:grid-cols-2 lg:grid-cols-4', +} + +const ArrowIcon: React.FC<{ className?: string }> = ({ className }) => ( + + + +) + +export const FDLinkCardsBlockComponent: React.FC = ({ + icon, + heading, + description, + cards, + columns = '3', + cardStyle = 'outlined', + sectionBackground = 'navy', + anchorId, +}) => { + const dark = isExplicitDark(sectionBackground) + const bg = sectionBg(sectionBackground) + const hClr = headingColor(dark) + const bClr = bodyColor(dark) + const gridCols = colsMap[columns || '3'] || colsMap['3'] + + /* Pick card style — outlined adapts based on section darkness */ + const style = (!dark && cardStyle === 'outlined') + ? cardStyleMapLight.outlined + : (cardStyleMap[cardStyle || 'outlined'] || cardStyleMap.outlined) + + const iconMedia = icon as Media | undefined + const hasIcon = iconMedia && typeof iconMedia === 'object' && iconMedia.url + + return ( +
+
+ + {/* Centered header */} +
+ {hasIcon && ( + + )} +

+ {heading} +

+ {description && ( +

+ {description} +

+ )} +
+ + {/* Card grid */} +
+ {cards?.map((card, i) => { + const linkIconMedia = card.linkIcon as Media | undefined + const hasLinkIcon = linkIconMedia && typeof linkIconMedia === 'object' && linkIconMedia.url + + return ( + +

+ {card.title} +

+
+ {hasLinkIcon && ( + + )} + {card.linkLabel} + +
+
+ ) + })} +
+ +
+
+ ) +} diff --git a/src/blocks/FDLinkCardsBlock/config.ts b/src/blocks/FDLinkCardsBlock/config.ts new file mode 100644 index 0000000..54af31c --- /dev/null +++ b/src/blocks/FDLinkCardsBlock/config.ts @@ -0,0 +1,108 @@ +import type { Block } from 'payload' +import { anchorField } from '@/fields/anchorField' + +export const FDLinkCardsBlock: Block = { + slug: 'fdLinkCards', + imageURL: '/block-thumbnails/fd-link-cards.png', + imageAltText: 'FD Länkkort', + interfaceName: 'FDLinkCardsBlock', + labels: { + singular: 'FD Länkkort', + plural: 'FD Länkkort', + }, + fields: [ + { + name: 'icon', + type: 'upload', + relationTo: 'media', + label: 'Ikon ovanför rubrik (valfri)', + }, + { + name: 'heading', + type: 'text', + localized: true, + label: 'Rubrik', + required: true, + }, + { + name: 'description', + type: 'textarea', + localized: true, + label: 'Beskrivning (valfri)', + }, + { + name: 'cards', + type: 'array', + label: 'Kort', + minRows: 1, + maxRows: 6, + labels: { + singular: 'Kort', + plural: 'Kort', + }, + fields: [ + { + name: 'title', + type: 'textarea', + localized: true, + label: 'Korttitel', + required: true, + }, + { + name: 'linkLabel', + type: 'text', + localized: true, + label: 'Länktext (visas i botten)', + required: true, + }, + { + name: 'linkUrl', + type: 'text', + label: 'Länk-URL', + required: true, + }, + { + name: 'linkIcon', + type: 'upload', + relationTo: 'media', + label: 'Länkikon (valfri, visas bredvid länktexten)', + }, + ], + }, + { + name: 'columns', + type: 'select', + label: 'Kolumner (desktop)', + defaultValue: '3', + options: [ + { label: '2 kolumner', value: '2' }, + { label: '3 kolumner', value: '3' }, + { label: '4 kolumner', value: '4' }, + ], + }, + { + name: 'cardStyle', + type: 'select', + label: 'Kortstil', + defaultValue: 'outlined', + options: [ + { label: 'Kantlinje', value: 'outlined' }, + { label: 'Navy', value: 'navy' }, + { label: 'Grå', value: 'gray' }, + { label: 'Gul', value: 'yellow' }, + ], + }, + { + name: 'sectionBackground', + type: 'select', + label: 'Sektionsbakgrund', + defaultValue: 'navy', + options: [ + { label: 'Vit', value: 'white' }, + { label: 'Grå', value: 'gray' }, + { label: 'Navy', value: 'navy' }, + ], + }, + anchorField, + ], +} diff --git a/src/blocks/FDQuizBlock/Component.tsx b/src/blocks/FDQuizBlock/Component.tsx new file mode 100644 index 0000000..1a87328 --- /dev/null +++ b/src/blocks/FDQuizBlock/Component.tsx @@ -0,0 +1,370 @@ +'use client' +import React, { useState, useEffect, useCallback, useRef } from 'react' +import type { FDQuizBlock as Props } from '@/payload-types' +import { FDButton } from '@/components/FDButton' +import { sectionBg, isExplicitDark, headingColor, bodyColor, fdCardRadius } from '@/utilities/fdTheme' + +/* ── Types ── */ +type QuizState = 'idle' | 'active' | 'result' + +/* ── Icons ── */ +const QuizIcon: React.FC<{ className?: string }> = ({ className }) => ( + + + + + +) + +const ArrowRight: React.FC<{ className?: string }> = ({ className }) => ( + + + +) + +const ArrowLeft: React.FC<{ className?: string }> = ({ className }) => ( + + + +) + +/* ── Component ── */ +export const FDQuizBlockComponent: React.FC = ({ + heading, + description, + triggerLabel = 'Starta quiz', + outcomes = [], + questions = [], + nextLabel = 'Nästa', + backLabel = 'Tillbaka', + resultHeading = 'Rekommenderat:', + restartLabel = 'Börja om', + sectionBackground = 'navy', + anchorId, +}) => { + const [state, setState] = useState('idle') + const [step, setStep] = useState(0) + const [answers, setAnswers] = useState>({}) // step → option index + const [animating, setAnimating] = useState(false) + const [prefersReducedMotion, setPrefersReducedMotion] = useState(false) + const panelRef = useRef(null) + + useEffect(() => { + const mql = window.matchMedia('(prefers-reduced-motion: reduce)') + setPrefersReducedMotion(mql.matches) + const handler = (e: MediaQueryListEvent) => setPrefersReducedMotion(e.matches) + mql.addEventListener('change', handler) + return () => mql.removeEventListener('change', handler) + }, []) + + const dark = isExplicitDark(sectionBackground) + const bg = sectionBg(sectionBackground) + const hClr = headingColor(dark) + const bClr = bodyColor(dark) + + /* Panel colors — always dark-ish card on any section */ + const panelBg = dark + ? 'bg-white/5 border border-white/10' + : 'bg-white border border-gray-200 dark:bg-white/5 dark:border-white/10' + const panelText = dark + ? 'text-white' + : 'text-fd-navy dark:text-white' + const panelMuted = dark + ? 'text-white/50' + : 'text-fd-navy/50 dark:text-white/50' + const optionBase = dark + ? 'border border-white/15 hover:border-white/30' + : 'border border-gray-200 hover:border-fd-navy/30 dark:border-white/15 dark:hover:border-white/30' + const optionSelected = dark + ? 'border-fd-yellow bg-fd-yellow/10' + : 'border-fd-yellow bg-fd-yellow/10 dark:border-fd-yellow dark:bg-fd-yellow/10' + const radioActive = 'border-fd-yellow bg-fd-yellow' + const radioInactive = dark + ? 'border-white/30' + : 'border-gray-300 dark:border-white/30' + + const totalQuestions = (questions ?? []).length + const currentQuestion = (questions ?? [])[step] + const hasAnswer = answers[step] !== undefined + + /* ── Scoring logic ── */ + const calculateResult = useCallback(() => { + const scores: Record = {} + ;(outcomes ?? []).forEach((o) => { scores[o.key || ''] = 0 }) + + Object.entries(answers).forEach(([stepStr, optionIndex]) => { + const q = (questions ?? [])[Number(stepStr)] + const option = q?.options?.[optionIndex] + if (option?.outcomeKeys) { + option.outcomeKeys.split(',').forEach((key) => { + const k = key.trim() + if (k in scores) scores[k] += 1 + }) + } + }) + + /* Find highest scoring outcome */ + let maxKey = '' + let maxScore = -1 + Object.entries(scores).forEach(([key, score]) => { + if (score > maxScore) { maxScore = score; maxKey = key } + }) + + return (outcomes ?? []).find((o) => o.key === maxKey) || (outcomes ?? [])[0] + }, [answers, outcomes, questions]) + + /* ── Navigation ── */ + const animateTransition = (callback: () => void) => { + if (prefersReducedMotion) { callback(); return } + setAnimating(true) + setTimeout(() => { callback(); setAnimating(false) }, 150) + } + + const handleStart = () => { + setState('active') + setStep(0) + setAnswers({}) + } + + const handleSelect = (optionIndex: number) => { + setAnswers((prev) => ({ ...prev, [step]: optionIndex })) + } + + const handleNext = () => { + if (!hasAnswer) return + if (step < totalQuestions - 1) { + animateTransition(() => setStep((s) => s + 1)) + } else { + animateTransition(() => setState('result')) + } + } + + const handleBack = () => { + if (step > 0) { + animateTransition(() => setStep((s) => s - 1)) + } + } + + const handleRestart = () => { + animateTransition(() => { + setState('idle') + setStep(0) + setAnswers({}) + }) + } + + const handleClose = () => { + setState('idle') + setStep(0) + setAnswers({}) + } + + /* ── Render: Idle state ── */ + if (state === 'idle') { + return ( +
+
+

+ {heading} +

+ {description && ( +

+ {description} +

+ )} +
+ + +
+
+
+ ) + } + + /* ── Transition classes ── */ + const transitionCls = prefersReducedMotion + ? '' + : `transition-all duration-150 ${animating ? 'opacity-0 translate-y-2' : 'opacity-100 translate-y-0'}` + + /* ── Render: Result state ── */ + if (state === 'result') { + const winner = calculateResult() + return ( +
+
+
+ {/* Close */} +
+ + Resultat + + +
+ + {/* Recommendation */} +
+

+ {resultHeading} +

+

+ {winner?.title} +

+ {winner?.description && ( +

+ {winner.description} +

+ )} + +
+ + {winner?.ctaText && ( + + {winner.ctaText} + + )} +
+
+
+
+
+ ) + } + + /* ── Render: Active (question step) ── */ + return ( +
+
+
+ {/* Header: counter + close */} +
+ + Fråga {String(step + 1).padStart(2, '0')} / {String(totalQuestions).padStart(2, '0')} + + +
+ + {/* Question */} +
+

+ {currentQuestion?.question} +

+ + {/* Options */} +
+ {currentQuestion?.options?.map((option, i) => { + const isSelected = answers[step] === i + return ( + + ) + })} +
+
+ + {/* Navigation */} +
+ {step > 0 ? ( + + ) :
} + +
+
+
+
+ ) +} diff --git a/src/blocks/FDQuizBlock/config.ts b/src/blocks/FDQuizBlock/config.ts new file mode 100644 index 0000000..2934556 --- /dev/null +++ b/src/blocks/FDQuizBlock/config.ts @@ -0,0 +1,199 @@ +import type { Block } from 'payload' +import { anchorField } from '@/fields/anchorField' + +export const FDQuizBlock: Block = { + slug: 'fdQuiz', + imageURL: '/block-thumbnails/fd-quiz.png', + imageAltText: 'FD Quiz / Behovsanalys', + interfaceName: 'FDQuizBlock', + labels: { + singular: 'FD Quiz / Behovsanalys', + plural: 'FD Quiz / Behovsanalyser', + }, + fields: [ + { + name: 'heading', + type: 'text', + localized: true, + label: 'Rubrik', + required: true, + defaultValue: 'Vilken tjänst passar dig?', + }, + { + name: 'description', + type: 'textarea', + localized: true, + label: 'Beskrivning (valfri)', + }, + { + name: 'triggerLabel', + type: 'text', + localized: true, + label: 'Startknapp-text', + defaultValue: 'Starta quiz', + }, + + /* ── Outcomes — define these FIRST so editors know the keys ── */ + { + type: 'collapsible', + label: 'Resultat / rekommendationer', + admin: { initCollapsed: false }, + fields: [ + { + name: 'outcomes', + type: 'array', + label: 'Möjliga resultat', + minRows: 2, + maxRows: 6, + labels: { singular: 'Resultat', plural: 'Resultat' }, + fields: [ + { + name: 'key', + type: 'text', + label: 'Nyckel (kort, unik, t.ex. "vdc", "colo", "fiber")', + required: true, + admin: { + description: 'Används i frågornas alternativ. Bara små bokstäver, inga mellanslag.', + }, + }, + { + name: 'title', + type: 'text', + localized: true, + label: 'Resultatrubrik (t.ex. "Virtuellt Datacenter")', + required: true, + }, + { + name: 'description', + type: 'textarea', + localized: true, + label: 'Resultatbeskrivning', + }, + { + name: 'ctaText', + type: 'text', + localized: true, + label: 'CTA-knapp text', + defaultValue: 'Läs mer', + }, + { + name: 'ctaLink', + type: 'text', + label: 'CTA-knapp länk', + defaultValue: '/kontakt', + }, + ], + }, + ], + }, + + /* ── Questions ── */ + { + type: 'collapsible', + label: 'Frågor', + admin: { initCollapsed: false }, + fields: [ + { + name: 'questions', + type: 'array', + label: 'Frågor', + minRows: 2, + maxRows: 10, + labels: { singular: 'Fråga', plural: 'Frågor' }, + fields: [ + { + name: 'question', + type: 'text', + localized: true, + label: 'Frågetext', + required: true, + }, + { + name: 'options', + type: 'array', + label: 'Svarsalternativ', + minRows: 2, + maxRows: 5, + labels: { singular: 'Alternativ', plural: 'Alternativ' }, + fields: [ + { + name: 'label', + type: 'text', + localized: true, + label: 'Alternativtext', + required: true, + }, + { + name: 'sublabel', + type: 'text', + localized: true, + label: 'Undertext (valfri, visas under alternativet)', + }, + { + name: 'outcomeKeys', + type: 'text', + label: 'Resultatnycklar (kommaseparerade, t.ex. "vdc,fiber")', + required: true, + admin: { + description: 'Varje valt alternativ ger +1 poäng till angivna resultatnycklar.', + }, + }, + ], + }, + ], + }, + ], + }, + + /* ── UI labels ── */ + { + type: 'collapsible', + label: 'Knappar & etiketter', + admin: { initCollapsed: true }, + fields: [ + { + name: 'nextLabel', + type: 'text', + localized: true, + label: '"Nästa"-knapptext', + defaultValue: 'Nästa', + }, + { + name: 'backLabel', + type: 'text', + localized: true, + label: '"Tillbaka"-knapptext', + defaultValue: 'Tillbaka', + }, + { + name: 'resultHeading', + type: 'text', + localized: true, + label: 'Resultatrubrik', + defaultValue: 'Rekommenderat:', + }, + { + name: 'restartLabel', + type: 'text', + localized: true, + label: '"Börja om"-knapptext', + defaultValue: 'Börja om', + }, + ], + }, + + /* ── Styling ── */ + { + name: 'sectionBackground', + type: 'select', + label: 'Sektionsbakgrund', + defaultValue: 'navy', + options: [ + { label: 'Vit', value: 'white' }, + { label: 'Grå', value: 'gray' }, + { label: 'Navy', value: 'navy' }, + ], + }, + anchorField, + ], +} diff --git a/src/blocks/FDSpecCardsBlock/Component.tsx b/src/blocks/FDSpecCardsBlock/Component.tsx new file mode 100644 index 0000000..39fe28f --- /dev/null +++ b/src/blocks/FDSpecCardsBlock/Component.tsx @@ -0,0 +1,191 @@ +import React from 'react' +import type { FDSpecCardsBlock as Props } from '@/payload-types' +import { FDButton } from '@/components/FDButton' +import { + sectionBg, isExplicitDark, headingColor, bodyColor, + bodySubduedColor, fdCardRadius, fdCardRadiusSm, +} from '@/utilities/fdTheme' + +const cardStyleMap: Record = { + outlined: { + bg: 'bg-transparent', + border: 'border border-white/15 dark:border-white/15', + title: 'text-white dark:text-white', + body: 'text-white/70 dark:text-white/70', + specLabel: 'text-white/50 dark:text-white/50', + specValue: 'text-white dark:text-white', + divider: 'border-white/10 dark:border-white/10', + isDark: true, + }, + navy: { + bg: 'bg-fd-navy dark:bg-white/10', + border: '', + title: 'text-white', + body: 'text-white/70', + specLabel: 'text-white/50', + specValue: 'text-fd-yellow', + divider: 'border-white/10', + isDark: true, + }, + gray: { + bg: 'bg-fd-gray-light dark:bg-white/10', + border: '', + title: 'text-fd-navy dark:text-white', + body: 'text-fd-navy/70 dark:text-white/70', + specLabel: 'text-fd-navy/50 dark:text-white/50', + specValue: 'text-fd-navy dark:text-white', + divider: 'border-fd-navy/10 dark:border-white/10', + isDark: false, + }, + white: { + bg: 'bg-white dark:bg-white/10 shadow-fd-card dark:shadow-none', + border: '', + title: 'text-fd-navy dark:text-white', + body: 'text-fd-navy/70 dark:text-white/70', + specLabel: 'text-fd-navy/50 dark:text-white/50', + specValue: 'text-fd-navy dark:text-white', + divider: 'border-fd-navy/10 dark:border-white/10', + isDark: false, + }, +} + +/* Light-section overrides for outlined cards */ +const cardStyleMapLight: Record = { + outlined: { + bg: 'bg-transparent', + border: 'border border-gray-200 dark:border-white/15', + title: 'text-fd-navy dark:text-white', + body: 'text-fd-navy/70 dark:text-white/70', + specLabel: 'text-fd-navy/50 dark:text-white/50', + specValue: 'text-fd-navy dark:text-white', + divider: 'border-fd-navy/10 dark:border-white/10', + isDark: false, + }, +} + +export const FDSpecCardsBlockComponent: React.FC = ({ + heading, + description, + ctaText, + ctaLink, + secondaryCtaText, + secondaryCtaLink, + cards, + layout = 'sideBySide', + cardStyle = 'outlined', + sectionBackground = 'navy', + anchorId, +}) => { + const dark = isExplicitDark(sectionBackground) + const bg = sectionBg(sectionBackground) + const hClr = headingColor(dark) + const bClr = bodySubduedColor(dark) + + const style = (!dark && cardStyle === 'outlined') + ? cardStyleMapLight.outlined + : (cardStyleMap[cardStyle || 'outlined'] || cardStyleMap.outlined) + + const isSideBySide = layout === 'sideBySide' || layout === 'sideBySideReverse' + const isReversed = layout === 'sideBySideReverse' + const cardCount = cards?.length || 1 + + /* Cards grid: 1 card = 1 col, 2 = 2-col, 3+ = 2-col wrapping */ + const cardGridCols = cardCount === 1 ? '' : 'sm:grid-cols-2' + + const renderCards = () => ( +
+ {cards?.map((card, i) => ( +
+
+

+ {card.title} +

+ {card.description && ( +

+ {card.description} +

+ )} +
+ + {(card.specLabel || card.specValue) && ( +
+ {card.specLabel && ( + + {card.specLabel} + + )} + {card.specValue && ( + + {card.specValue} + + )} +
+ )} +
+ ))} +
+ ) + + const renderText = () => ( +
+

+ {heading} +

+ {description && ( +

+ {description} +

+ )} + {(ctaText || secondaryCtaText) && ( +
+ {ctaText && ( + + {ctaText} + + )} + {secondaryCtaText && ( + + {secondaryCtaText} + + )} +
+ )} +
+ ) + + if (!isSideBySide) { + /* Full-width layout — heading on top, cards below */ + return ( +
+
+
+ {renderText()} +
+ {renderCards()} +
+
+ ) + } + + /* Side-by-side layout */ + return ( +
+
+
+
+ {renderText()} +
+
+ {renderCards()} +
+
+
+
+ ) +} diff --git a/src/blocks/FDSpecCardsBlock/config.ts b/src/blocks/FDSpecCardsBlock/config.ts new file mode 100644 index 0000000..0419953 --- /dev/null +++ b/src/blocks/FDSpecCardsBlock/config.ts @@ -0,0 +1,125 @@ +import type { Block } from 'payload' +import { anchorField } from '@/fields/anchorField' + +export const FDSpecCardsBlock: Block = { + slug: 'fdSpecCards', + imageURL: '/block-thumbnails/fd-spec-cards.png', + imageAltText: 'FD Specifikationskort', + interfaceName: 'FDSpecCardsBlock', + labels: { + singular: 'FD Specifikationskort', + plural: 'FD Specifikationskort', + }, + fields: [ + { + name: 'heading', + type: 'text', + localized: true, + label: 'Rubrik', + required: true, + }, + { + name: 'description', + type: 'textarea', + localized: true, + label: 'Beskrivning (valfri)', + }, + { + name: 'ctaText', + type: 'text', + localized: true, + label: 'CTA-knapp text (valfri)', + }, + { + name: 'ctaLink', + type: 'text', + label: 'CTA-knapp länk', + defaultValue: '/kontakt', + }, + { + name: 'secondaryCtaText', + type: 'text', + localized: true, + label: 'Sekundär CTA-text (valfri)', + }, + { + name: 'secondaryCtaLink', + type: 'text', + label: 'Sekundär CTA-länk', + }, + { + name: 'cards', + type: 'array', + label: 'Kort', + minRows: 1, + maxRows: 4, + labels: { + singular: 'Kort', + plural: 'Kort', + }, + fields: [ + { + name: 'title', + type: 'text', + localized: true, + label: 'Korttitel', + required: true, + }, + { + name: 'description', + type: 'textarea', + localized: true, + label: 'Kortbeskrivning', + }, + { + name: 'specLabel', + type: 'text', + localized: true, + label: 'Spec-etikett (t.ex. "Kostnad", "Hastighet")', + }, + { + name: 'specValue', + type: 'text', + localized: true, + label: 'Spec-värde (t.ex. "10 Gbit/s", "$12.50 / 1K")', + }, + ], + }, + { + name: 'layout', + type: 'select', + label: 'Layout', + defaultValue: 'sideBySide', + options: [ + { label: 'Text vänster, kort höger', value: 'sideBySide' }, + { label: 'Text höger, kort vänster', value: 'sideBySideReverse' }, + { label: 'Kort i helbredd (utan sidotext)', value: 'fullWidth' }, + ], + }, + { + name: 'cardStyle', + type: 'select', + label: 'Kortstil', + defaultValue: 'outlined', + options: [ + { label: 'Kantlinje', value: 'outlined' }, + { label: 'Navy', value: 'navy' }, + { label: 'Grå', value: 'gray' }, + { label: 'Vit (med skugga)', value: 'white' }, + ], + }, + { + name: 'sectionBackground', + type: 'select', + label: 'Sektionsbakgrund', + defaultValue: 'navy', + options: [ + { label: 'Vit', value: 'white' }, + { label: 'Grå', value: 'gray' }, + { label: 'Navy', value: 'navy' }, + { label: 'Navy gradient', value: 'navyGradient' }, + ], + }, + anchorField, + ], +} diff --git a/src/blocks/RenderBlocks.tsx b/src/blocks/RenderBlocks.tsx index 2835475..c91a634 100644 --- a/src/blocks/RenderBlocks.tsx +++ b/src/blocks/RenderBlocks.tsx @@ -35,6 +35,9 @@ import { FDCtaBannerBlockComponent } from './FDCtaBannerBlock/Component' import { FDTestimonialBlockComponent } from './FDTestimonialBlock/Component' import { FDTeamBlockComponent } from './FDTeamBlock/Component' import { FDServiceCalculatorBlockComponent } from '@/blocks/FDServiceCalculatorBlock/Component' +import { FDLinkCardsBlockComponent } from '@/blocks/FDLinkCardsBlock/Component' +import { FDSpecCardsBlockComponent } from '@/blocks/FDSpecCardsBlock/Component' +import { FDQuizBlockComponent } from '@/blocks/FDQuizBlock/Component' const blockComponents: Record> = { formBlock: FormBlock, @@ -70,6 +73,9 @@ const blockComponents: Record> = { fdTestimonial: FDTestimonialBlockComponent, fdTeam: FDTeamBlockComponent, fdServiceCalc: FDServiceCalculatorBlockComponent, + fdLinkCards: FDLinkCardsBlockComponent, + fdSpecCards: FDSpecCardsBlockComponent, + fdQuiz: FDQuizBlockComponent, } /** diff --git a/src/collections/Pages/index.ts b/src/collections/Pages/index.ts index d075bc5..c7d91da 100644 --- a/src/collections/Pages/index.ts +++ b/src/collections/Pages/index.ts @@ -38,6 +38,9 @@ import { FDCtaBannerBlock } from '../../blocks/FDCtaBannerBlock/config' import { FDTestimonialBlock } from '../../blocks/FDTestimonialBlock/config' import { FDTeamBlock } from '../../blocks/FDTeamBlock/config' import { FDServiceCalculatorBlock } from '../../blocks/FDServiceCalculatorBlock/config' +import { FDLinkCardsBlock } from '../../blocks/FDLinkCardsBlock/config' +import { FDSpecCardsBlock } from '../../blocks/FDSpecCardsBlock/config' +import { FDQuizBlock } from '../../blocks/FDQuizBlock/config' import { MetaDescriptionField, @@ -134,6 +137,9 @@ export const Pages: CollectionConfig<'pages'> = { FDCtaBannerBlock, FDTestimonialBlock, FDTeamBlock, + FDLinkCardsBlock, + FDSpecCardsBlock, + FDQuizBlock, ], required: true, admin: { diff --git a/src/migrations/20260304_194657.json b/src/migrations/20260304_194657.json new file mode 100644 index 0000000..52c5a71 --- /dev/null +++ b/src/migrations/20260304_194657.json @@ -0,0 +1,37725 @@ +{ + "version": "7", + "dialect": "postgresql", + "tables": { + "public.pages_blocks_fd_hero": { + "name": "pages_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "background_image_id": { + "name": "background_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "overlay_opacity": { + "name": "overlay_opacity", + "type": "enum_pages_blocks_fd_hero_overlay_opacity", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'50'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_hero_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "theme": { + "name": "theme", + "type": "enum_pages_blocks_fd_hero_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'light'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_hero_order_idx": { + "name": "pages_blocks_fd_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_hero_parent_id_idx": { + "name": "pages_blocks_fd_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_hero_path_idx": { + "name": "pages_blocks_fd_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_hero_background_image_idx": { + "name": "pages_blocks_fd_hero_background_image_idx", + "columns": [ + { + "expression": "background_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_hero_background_image_id_media_id_fk": { + "name": "pages_blocks_fd_hero_background_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_hero", + "tableTo": "media", + "columnsFrom": [ + "background_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_hero_parent_id_fk": { + "name": "pages_blocks_fd_hero_parent_id_fk", + "tableFrom": "pages_blocks_fd_hero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_hero_locales": { + "name": "pages_blocks_fd_hero_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Sveriges bästa IT-ekosystem för företag'" + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Fiber, Backup, Colocation och Cloud'" + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'För företag som väljer Sverige. Vi levererar dedikerad fiber, backup, colocation och cloud – allt från en leverantör med svenskt huvudmannaskap.'" + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kom igång'" + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kontakta oss'" + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "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": { + "pages_blocks_fd_hero_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_hero_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_blocks_fd_hero_locales_parent_id_fk": { + "name": "pages_blocks_fd_hero_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_hero_locales", + "tableTo": "pages_blocks_fd_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_cta_side_image": { + "name": "pages_blocks_fd_cta_side_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "image_overlay": { + "name": "image_overlay", + "type": "enum_pages_blocks_fd_cta_side_image_image_overlay", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "image_position": { + "name": "image_position", + "type": "enum_pages_blocks_fd_cta_side_image_image_position", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'right'" + }, + "theme": { + "name": "theme", + "type": "enum_pages_blocks_fd_cta_side_image_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'dark'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_cta_side_image_order_idx": { + "name": "pages_blocks_fd_cta_side_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_cta_side_image_parent_id_idx": { + "name": "pages_blocks_fd_cta_side_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_cta_side_image_path_idx": { + "name": "pages_blocks_fd_cta_side_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_cta_side_image_image_idx": { + "name": "pages_blocks_fd_cta_side_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_cta_side_image_image_id_media_id_fk": { + "name": "pages_blocks_fd_cta_side_image_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_cta_side_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_cta_side_image_parent_id_fk": { + "name": "pages_blocks_fd_cta_side_image_parent_id_fk", + "tableFrom": "pages_blocks_fd_cta_side_image", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_cta_side_image_locales": { + "name": "pages_blocks_fd_cta_side_image_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Läs mer'" + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'#'" + }, + "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": { + "pages_blocks_fd_cta_side_image_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_cta_side_image_locales_locale_parent_id_uniq", + "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_blocks_fd_cta_side_image_locales_parent_id_fk": { + "name": "pages_blocks_fd_cta_side_image_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_cta_side_image_locales", + "tableTo": "pages_blocks_fd_cta_side_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_feature_announcement": { + "name": "pages_blocks_fd_feature_announcement", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "theme": { + "name": "theme", + "type": "enum_pages_blocks_fd_feature_announcement_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_feature_announcement_order_idx": { + "name": "pages_blocks_fd_feature_announcement_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_feature_announcement_parent_id_idx": { + "name": "pages_blocks_fd_feature_announcement_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_feature_announcement_path_idx": { + "name": "pages_blocks_fd_feature_announcement_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_feature_announcement_parent_id_fk": { + "name": "pages_blocks_fd_feature_announcement_parent_id_fk", + "tableFrom": "pages_blocks_fd_feature_announcement", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_feature_announcement_locales": { + "name": "pages_blocks_fd_feature_announcement_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_link": { + "name": "cta_link", + "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": { + "pages_blocks_fd_feature_announcement_locales_locale_parent_i": { + "name": "pages_blocks_fd_feature_announcement_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": { + "pages_blocks_fd_feature_announcement_locales_parent_id_fk": { + "name": "pages_blocks_fd_feature_announcement_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_feature_announcement_locales", + "tableTo": "pages_blocks_fd_feature_announcement", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_services_grid_services": { + "name": "pages_blocks_fd_services_grid_services", + "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 + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_services_grid_services_order_idx": { + "name": "pages_blocks_fd_services_grid_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_services_grid_services_parent_id_idx": { + "name": "pages_blocks_fd_services_grid_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_services_grid_services_image_idx": { + "name": "pages_blocks_fd_services_grid_services_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_services_grid_services_image_id_media_id_fk": { + "name": "pages_blocks_fd_services_grid_services_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_services_grid_services", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_services_grid_services_parent_id_fk": { + "name": "pages_blocks_fd_services_grid_services_parent_id_fk", + "tableFrom": "pages_blocks_fd_services_grid_services", + "tableTo": "pages_blocks_fd_services_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_services_grid_services_locales": { + "name": "pages_blocks_fd_services_grid_services_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": { + "pages_blocks_fd_services_grid_services_locales_locale_parent": { + "name": "pages_blocks_fd_services_grid_services_locales_locale_parent", + "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_blocks_fd_services_grid_services_locales_parent_id_fk": { + "name": "pages_blocks_fd_services_grid_services_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_services_grid_services_locales", + "tableTo": "pages_blocks_fd_services_grid_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_services_grid": { + "name": "pages_blocks_fd_services_grid", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "columns": { + "name": "columns", + "type": "enum_pages_blocks_fd_services_grid_columns", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'4'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_services_grid_order_idx": { + "name": "pages_blocks_fd_services_grid_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_services_grid_parent_id_idx": { + "name": "pages_blocks_fd_services_grid_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_services_grid_path_idx": { + "name": "pages_blocks_fd_services_grid_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_services_grid_parent_id_fk": { + "name": "pages_blocks_fd_services_grid_parent_id_fk", + "tableFrom": "pages_blocks_fd_services_grid", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_services_grid_locales": { + "name": "pages_blocks_fd_services_grid_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Företagstjänster'" + }, + "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": { + "pages_blocks_fd_services_grid_locales_locale_parent_id_uniqu": { + "name": "pages_blocks_fd_services_grid_locales_locale_parent_id_uniqu", + "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_blocks_fd_services_grid_locales_parent_id_fk": { + "name": "pages_blocks_fd_services_grid_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_services_grid_locales", + "tableTo": "pages_blocks_fd_services_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_contact_contact_methods": { + "name": "pages_blocks_fd_contact_contact_methods", + "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 + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_contact_contact_methods_order_idx": { + "name": "pages_blocks_fd_contact_contact_methods_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_contact_methods_parent_id_idx": { + "name": "pages_blocks_fd_contact_contact_methods_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_contact_methods_icon_idx": { + "name": "pages_blocks_fd_contact_contact_methods_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_contact_contact_methods_icon_id_media_id_fk": { + "name": "pages_blocks_fd_contact_contact_methods_icon_id_media_id_fk", + "tableFrom": "pages_blocks_fd_contact_contact_methods", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_contact_contact_methods_parent_id_fk": { + "name": "pages_blocks_fd_contact_contact_methods_parent_id_fk", + "tableFrom": "pages_blocks_fd_contact_contact_methods", + "tableTo": "pages_blocks_fd_contact", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_contact_contact_methods_locales": { + "name": "pages_blocks_fd_contact_contact_methods_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_contact_contact_methods_locales_locale_paren": { + "name": "pages_blocks_fd_contact_contact_methods_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": { + "pages_blocks_fd_contact_contact_methods_locales_parent_id_fk": { + "name": "pages_blocks_fd_contact_contact_methods_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_contact_contact_methods_locales", + "tableTo": "pages_blocks_fd_contact_contact_methods", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_contact": { + "name": "pages_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_contact_order_idx": { + "name": "pages_blocks_fd_contact_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_parent_id_idx": { + "name": "pages_blocks_fd_contact_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_path_idx": { + "name": "pages_blocks_fd_contact_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_contact_parent_id_fk": { + "name": "pages_blocks_fd_contact_parent_id_fk", + "tableFrom": "pages_blocks_fd_contact", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_contact_locales": { + "name": "pages_blocks_fd_contact_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kontakta oss'" + }, + "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": { + "pages_blocks_fd_contact_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_contact_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_blocks_fd_contact_locales_parent_id_fk": { + "name": "pages_blocks_fd_contact_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_contact_locales", + "tableTo": "pages_blocks_fd_contact", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_faq_items": { + "name": "pages_blocks_fd_faq_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 + } + }, + "indexes": { + "pages_blocks_fd_faq_items_order_idx": { + "name": "pages_blocks_fd_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_faq_items_parent_id_idx": { + "name": "pages_blocks_fd_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_faq_items_parent_id_fk": { + "name": "pages_blocks_fd_faq_items_parent_id_fk", + "tableFrom": "pages_blocks_fd_faq_items", + "tableTo": "pages_blocks_fd_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_faq_items_locales": { + "name": "pages_blocks_fd_faq_items_locales", + "schema": "", + "columns": { + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "answer": { + "name": "answer", + "type": "jsonb", + "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": { + "pages_blocks_fd_faq_items_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_faq_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": { + "pages_blocks_fd_faq_items_locales_parent_id_fk": { + "name": "pages_blocks_fd_faq_items_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_faq_items_locales", + "tableTo": "pages_blocks_fd_faq_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_faq": { + "name": "pages_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "theme": { + "name": "theme", + "type": "enum_pages_blocks_fd_faq_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_faq_order_idx": { + "name": "pages_blocks_fd_faq_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_faq_parent_id_idx": { + "name": "pages_blocks_fd_faq_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_faq_path_idx": { + "name": "pages_blocks_fd_faq_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_faq_parent_id_fk": { + "name": "pages_blocks_fd_faq_parent_id_fk", + "tableFrom": "pages_blocks_fd_faq", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_faq_locales": { + "name": "pages_blocks_fd_faq_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Vanliga frågor'" + }, + "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": { + "pages_blocks_fd_faq_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_faq_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_blocks_fd_faq_locales_parent_id_fk": { + "name": "pages_blocks_fd_faq_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_faq_locales", + "tableTo": "pages_blocks_fd_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_card_grid_cards_content_lines": { + "name": "pages_blocks_fd_card_grid_cards_content_lines", + "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 + }, + "style": { + "name": "style", + "type": "enum_pages_blocks_fd_card_grid_cards_content_lines_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_card_grid_cards_content_lines_order_idx": { + "name": "pages_blocks_fd_card_grid_cards_content_lines_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_card_grid_cards_content_lines_parent_id_idx": { + "name": "pages_blocks_fd_card_grid_cards_content_lines_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_card_grid_cards_content_lines_parent_id_fk": { + "name": "pages_blocks_fd_card_grid_cards_content_lines_parent_id_fk", + "tableFrom": "pages_blocks_fd_card_grid_cards_content_lines", + "tableTo": "pages_blocks_fd_card_grid_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_card_grid_cards_content_lines_locales": { + "name": "pages_blocks_fd_card_grid_cards_content_lines_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "pages_blocks_fd_card_grid_cards_content_lines_locales_locale": { + "name": "pages_blocks_fd_card_grid_cards_content_lines_locales_locale", + "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_blocks_fd_card_grid_cards_content_lines_locales_par_fk": { + "name": "pages_blocks_fd_card_grid_cards_content_lines_locales_par_fk", + "tableFrom": "pages_blocks_fd_card_grid_cards_content_lines_locales", + "tableTo": "pages_blocks_fd_card_grid_cards_content_lines", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_card_grid_cards": { + "name": "pages_blocks_fd_card_grid_cards", + "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 + }, + "display_mode": { + "name": "display_mode", + "type": "enum_pages_blocks_fd_card_grid_cards_display_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'content'" + } + }, + "indexes": { + "pages_blocks_fd_card_grid_cards_order_idx": { + "name": "pages_blocks_fd_card_grid_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_card_grid_cards_parent_id_idx": { + "name": "pages_blocks_fd_card_grid_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_card_grid_cards_parent_id_fk": { + "name": "pages_blocks_fd_card_grid_cards_parent_id_fk", + "tableFrom": "pages_blocks_fd_card_grid_cards", + "tableTo": "pages_blocks_fd_card_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_card_grid_cards_locales": { + "name": "pages_blocks_fd_card_grid_cards_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "centered_body_text": { + "name": "centered_body_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "card_link": { + "name": "card_link", + "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": { + "pages_blocks_fd_card_grid_cards_locales_locale_parent_id_uni": { + "name": "pages_blocks_fd_card_grid_cards_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": { + "pages_blocks_fd_card_grid_cards_locales_parent_id_fk": { + "name": "pages_blocks_fd_card_grid_cards_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_card_grid_cards_locales", + "tableTo": "pages_blocks_fd_card_grid_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_card_grid": { + "name": "pages_blocks_fd_card_grid", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "layout": { + "name": "layout", + "type": "enum_pages_blocks_fd_card_grid_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'1-1-1'" + }, + "card_style": { + "name": "card_style", + "type": "enum_pages_blocks_fd_card_grid_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_card_grid_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_card_grid_order_idx": { + "name": "pages_blocks_fd_card_grid_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_card_grid_parent_id_idx": { + "name": "pages_blocks_fd_card_grid_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_card_grid_path_idx": { + "name": "pages_blocks_fd_card_grid_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_card_grid_parent_id_fk": { + "name": "pages_blocks_fd_card_grid_parent_id_fk", + "tableFrom": "pages_blocks_fd_card_grid", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_pricing_card_cards_bullet_points": { + "name": "pages_blocks_fd_pricing_card_cards_bullet_points", + "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 + } + }, + "indexes": { + "pages_blocks_fd_pricing_card_cards_bullet_points_order_idx": { + "name": "pages_blocks_fd_pricing_card_cards_bullet_points_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_pricing_card_cards_bullet_points_parent_id_idx": { + "name": "pages_blocks_fd_pricing_card_cards_bullet_points_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_pricing_card_cards_bullet_points_parent_id_fk": { + "name": "pages_blocks_fd_pricing_card_cards_bullet_points_parent_id_fk", + "tableFrom": "pages_blocks_fd_pricing_card_cards_bullet_points", + "tableTo": "pages_blocks_fd_pricing_card_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_pricing_card_cards_bullet_points_locales": { + "name": "pages_blocks_fd_pricing_card_cards_bullet_points_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "pages_blocks_fd_pricing_card_cards_bullet_points_locales_loc": { + "name": "pages_blocks_fd_pricing_card_cards_bullet_points_locales_loc", + "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_blocks_fd_pricing_card_cards_bullet_points_locales__fk": { + "name": "pages_blocks_fd_pricing_card_cards_bullet_points_locales__fk", + "tableFrom": "pages_blocks_fd_pricing_card_cards_bullet_points_locales", + "tableTo": "pages_blocks_fd_pricing_card_cards_bullet_points", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_pricing_card_cards": { + "name": "pages_blocks_fd_pricing_card_cards", + "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 + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + } + }, + "indexes": { + "pages_blocks_fd_pricing_card_cards_order_idx": { + "name": "pages_blocks_fd_pricing_card_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_pricing_card_cards_parent_id_idx": { + "name": "pages_blocks_fd_pricing_card_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_pricing_card_cards_parent_id_fk": { + "name": "pages_blocks_fd_pricing_card_cards_parent_id_fk", + "tableFrom": "pages_blocks_fd_pricing_card_cards", + "tableTo": "pages_blocks_fd_pricing_card", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_pricing_card_cards_locales": { + "name": "pages_blocks_fd_pricing_card_cards_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subtitle": { + "name": "subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Få offert'" + }, + "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": { + "pages_blocks_fd_pricing_card_cards_locales_locale_parent_id_": { + "name": "pages_blocks_fd_pricing_card_cards_locales_locale_parent_id_", + "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_blocks_fd_pricing_card_cards_locales_parent_id_fk": { + "name": "pages_blocks_fd_pricing_card_cards_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_pricing_card_cards_locales", + "tableTo": "pages_blocks_fd_pricing_card_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_pricing_card": { + "name": "pages_blocks_fd_pricing_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "card_style": { + "name": "card_style", + "type": "enum_pages_blocks_fd_pricing_card_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "button_color": { + "name": "button_color", + "type": "enum_pages_blocks_fd_pricing_card_button_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_pricing_card_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "title_color": { + "name": "title_color", + "type": "enum_pages_blocks_fd_pricing_card_title_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_pricing_card_order_idx": { + "name": "pages_blocks_fd_pricing_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_pricing_card_parent_id_idx": { + "name": "pages_blocks_fd_pricing_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_pricing_card_path_idx": { + "name": "pages_blocks_fd_pricing_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_pricing_card_parent_id_fk": { + "name": "pages_blocks_fd_pricing_card_parent_id_fk", + "tableFrom": "pages_blocks_fd_pricing_card", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_pricing_card_locales": { + "name": "pages_blocks_fd_pricing_card_locales", + "schema": "", + "columns": { + "section_title": { + "name": "section_title", + "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": { + "pages_blocks_fd_pricing_card_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_pricing_card_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_blocks_fd_pricing_card_locales_parent_id_fk": { + "name": "pages_blocks_fd_pricing_card_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_pricing_card_locales", + "tableTo": "pages_blocks_fd_pricing_card", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_spacer": { + "name": "pages_blocks_fd_spacer", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "height": { + "name": "height", + "type": "enum_pages_blocks_fd_spacer_height", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'md'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_spacer_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_spacer_order_idx": { + "name": "pages_blocks_fd_spacer_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_spacer_parent_id_idx": { + "name": "pages_blocks_fd_spacer_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_spacer_path_idx": { + "name": "pages_blocks_fd_spacer_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_spacer_parent_id_fk": { + "name": "pages_blocks_fd_spacer_parent_id_fk", + "tableFrom": "pages_blocks_fd_spacer", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_icon_bar_icons": { + "name": "pages_blocks_fd_icon_bar_icons", + "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 + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_icon_bar_icons_order_idx": { + "name": "pages_blocks_fd_icon_bar_icons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_icon_bar_icons_parent_id_idx": { + "name": "pages_blocks_fd_icon_bar_icons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_icon_bar_icons_icon_idx": { + "name": "pages_blocks_fd_icon_bar_icons_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_icon_bar_icons_icon_id_media_id_fk": { + "name": "pages_blocks_fd_icon_bar_icons_icon_id_media_id_fk", + "tableFrom": "pages_blocks_fd_icon_bar_icons", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_icon_bar_icons_parent_id_fk": { + "name": "pages_blocks_fd_icon_bar_icons_parent_id_fk", + "tableFrom": "pages_blocks_fd_icon_bar_icons", + "tableTo": "pages_blocks_fd_icon_bar", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_icon_bar_icons_locales": { + "name": "pages_blocks_fd_icon_bar_icons_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_icon_bar_icons_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_icon_bar_icons_locales_locale_parent_id_uniq", + "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_blocks_fd_icon_bar_icons_locales_parent_id_fk": { + "name": "pages_blocks_fd_icon_bar_icons_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_icon_bar_icons_locales", + "tableTo": "pages_blocks_fd_icon_bar_icons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_icon_bar": { + "name": "pages_blocks_fd_icon_bar", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon_style": { + "name": "icon_style", + "type": "enum_pages_blocks_fd_icon_bar_icon_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_icon_bar_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_icon_bar_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_icon_bar_order_idx": { + "name": "pages_blocks_fd_icon_bar_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_icon_bar_parent_id_idx": { + "name": "pages_blocks_fd_icon_bar_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_icon_bar_path_idx": { + "name": "pages_blocks_fd_icon_bar_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_icon_bar_parent_id_fk": { + "name": "pages_blocks_fd_icon_bar_parent_id_fk", + "tableFrom": "pages_blocks_fd_icon_bar", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_icon_bar_locales": { + "name": "pages_blocks_fd_icon_bar_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_icon_bar_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_icon_bar_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_blocks_fd_icon_bar_locales_parent_id_fk": { + "name": "pages_blocks_fd_icon_bar_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_icon_bar_locales", + "tableTo": "pages_blocks_fd_icon_bar", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_checklist_items": { + "name": "pages_blocks_fd_usp_checklist_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 + } + }, + "indexes": { + "pages_blocks_fd_usp_checklist_items_order_idx": { + "name": "pages_blocks_fd_usp_checklist_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_usp_checklist_items_parent_id_idx": { + "name": "pages_blocks_fd_usp_checklist_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_usp_checklist_items_parent_id_fk": { + "name": "pages_blocks_fd_usp_checklist_items_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_checklist_items", + "tableTo": "pages_blocks_fd_usp_checklist", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_checklist_items_locales": { + "name": "pages_blocks_fd_usp_checklist_items_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "pages_blocks_fd_usp_checklist_items_locales_locale_parent_id": { + "name": "pages_blocks_fd_usp_checklist_items_locales_locale_parent_id", + "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_blocks_fd_usp_checklist_items_locales_parent_id_fk": { + "name": "pages_blocks_fd_usp_checklist_items_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_checklist_items_locales", + "tableTo": "pages_blocks_fd_usp_checklist_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_checklist": { + "name": "pages_blocks_fd_usp_checklist", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "image_position": { + "name": "image_position", + "type": "enum_pages_blocks_fd_usp_checklist_image_position", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'right'" + }, + "check_color": { + "name": "check_color", + "type": "enum_pages_blocks_fd_usp_checklist_check_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_usp_checklist_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_usp_checklist_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_usp_checklist_order_idx": { + "name": "pages_blocks_fd_usp_checklist_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_usp_checklist_parent_id_idx": { + "name": "pages_blocks_fd_usp_checklist_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_usp_checklist_path_idx": { + "name": "pages_blocks_fd_usp_checklist_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_usp_checklist_image_idx": { + "name": "pages_blocks_fd_usp_checklist_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_usp_checklist_image_id_media_id_fk": { + "name": "pages_blocks_fd_usp_checklist_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_usp_checklist", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_usp_checklist_parent_id_fk": { + "name": "pages_blocks_fd_usp_checklist_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_checklist", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_checklist_locales": { + "name": "pages_blocks_fd_usp_checklist_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_usp_checklist_locales_locale_parent_id_uniqu": { + "name": "pages_blocks_fd_usp_checklist_locales_locale_parent_id_uniqu", + "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_blocks_fd_usp_checklist_locales_parent_id_fk": { + "name": "pages_blocks_fd_usp_checklist_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_checklist_locales", + "tableTo": "pages_blocks_fd_usp_checklist", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_wide_card": { + "name": "pages_blocks_fd_wide_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "card_background": { + "name": "card_background", + "type": "enum_pages_blocks_fd_wide_card_card_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "button_color": { + "name": "button_color", + "type": "enum_pages_blocks_fd_wide_card_button_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_wide_card_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_wide_card_order_idx": { + "name": "pages_blocks_fd_wide_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_wide_card_parent_id_idx": { + "name": "pages_blocks_fd_wide_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_wide_card_path_idx": { + "name": "pages_blocks_fd_wide_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_wide_card_image_idx": { + "name": "pages_blocks_fd_wide_card_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_wide_card_image_id_media_id_fk": { + "name": "pages_blocks_fd_wide_card_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_wide_card", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_wide_card_parent_id_fk": { + "name": "pages_blocks_fd_wide_card_parent_id_fk", + "tableFrom": "pages_blocks_fd_wide_card", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_wide_card_locales": { + "name": "pages_blocks_fd_wide_card_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "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": { + "pages_blocks_fd_wide_card_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_wide_card_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_blocks_fd_wide_card_locales_parent_id_fk": { + "name": "pages_blocks_fd_wide_card_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_wide_card_locales", + "tableTo": "pages_blocks_fd_wide_card", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_tech_properties_properties": { + "name": "pages_blocks_fd_tech_properties_properties", + "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 + } + }, + "indexes": { + "pages_blocks_fd_tech_properties_properties_order_idx": { + "name": "pages_blocks_fd_tech_properties_properties_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_tech_properties_properties_parent_id_idx": { + "name": "pages_blocks_fd_tech_properties_properties_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_tech_properties_properties_parent_id_fk": { + "name": "pages_blocks_fd_tech_properties_properties_parent_id_fk", + "tableFrom": "pages_blocks_fd_tech_properties_properties", + "tableTo": "pages_blocks_fd_tech_properties", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_tech_properties_properties_locales": { + "name": "pages_blocks_fd_tech_properties_properties_locales", + "schema": "", + "columns": { + "category": { + "name": "category", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "value": { + "name": "value", + "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": { + "pages_blocks_fd_tech_properties_properties_locales_locale_pa": { + "name": "pages_blocks_fd_tech_properties_properties_locales_locale_pa", + "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_blocks_fd_tech_properties_properties_locales_parent_fk": { + "name": "pages_blocks_fd_tech_properties_properties_locales_parent_fk", + "tableFrom": "pages_blocks_fd_tech_properties_properties_locales", + "tableTo": "pages_blocks_fd_tech_properties_properties", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_tech_properties": { + "name": "pages_blocks_fd_tech_properties", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_tech_properties_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "category_color": { + "name": "category_color", + "type": "enum_pages_blocks_fd_tech_properties_category_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "value_color": { + "name": "value_color", + "type": "enum_pages_blocks_fd_tech_properties_value_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_tech_properties_order_idx": { + "name": "pages_blocks_fd_tech_properties_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_tech_properties_parent_id_idx": { + "name": "pages_blocks_fd_tech_properties_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_tech_properties_path_idx": { + "name": "pages_blocks_fd_tech_properties_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_tech_properties_parent_id_fk": { + "name": "pages_blocks_fd_tech_properties_parent_id_fk", + "tableFrom": "pages_blocks_fd_tech_properties", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_table_rows": { + "name": "pages_blocks_fd_usp_table_rows", + "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 + } + }, + "indexes": { + "pages_blocks_fd_usp_table_rows_order_idx": { + "name": "pages_blocks_fd_usp_table_rows_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_usp_table_rows_parent_id_idx": { + "name": "pages_blocks_fd_usp_table_rows_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_usp_table_rows_parent_id_fk": { + "name": "pages_blocks_fd_usp_table_rows_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_table_rows", + "tableTo": "pages_blocks_fd_usp_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_table_rows_locales": { + "name": "pages_blocks_fd_usp_table_rows_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "jsonb", + "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": { + "pages_blocks_fd_usp_table_rows_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_usp_table_rows_locales_locale_parent_id_uniq", + "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_blocks_fd_usp_table_rows_locales_parent_id_fk": { + "name": "pages_blocks_fd_usp_table_rows_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_table_rows_locales", + "tableTo": "pages_blocks_fd_usp_table_rows", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_table": { + "name": "pages_blocks_fd_usp_table", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "check_color": { + "name": "check_color", + "type": "enum_pages_blocks_fd_usp_table_check_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_usp_table_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_usp_table_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_usp_table_order_idx": { + "name": "pages_blocks_fd_usp_table_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_usp_table_parent_id_idx": { + "name": "pages_blocks_fd_usp_table_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_usp_table_path_idx": { + "name": "pages_blocks_fd_usp_table_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_usp_table_parent_id_fk": { + "name": "pages_blocks_fd_usp_table_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_table", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_usp_table_locales": { + "name": "pages_blocks_fd_usp_table_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_usp_table_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_usp_table_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_blocks_fd_usp_table_locales_parent_id_fk": { + "name": "pages_blocks_fd_usp_table_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_usp_table_locales", + "tableTo": "pages_blocks_fd_usp_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_header_text_image": { + "name": "pages_blocks_fd_header_text_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "image_overlay": { + "name": "image_overlay", + "type": "enum_pages_blocks_fd_header_text_image_image_overlay", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "image_rounded": { + "name": "image_rounded", + "type": "enum_pages_blocks_fd_header_text_image_image_rounded", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'large'" + }, + "text_align": { + "name": "text_align", + "type": "enum_pages_blocks_fd_header_text_image_text_align", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'center'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_header_text_image_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_header_text_image_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_header_text_image_order_idx": { + "name": "pages_blocks_fd_header_text_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_header_text_image_parent_id_idx": { + "name": "pages_blocks_fd_header_text_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_header_text_image_path_idx": { + "name": "pages_blocks_fd_header_text_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_header_text_image_image_idx": { + "name": "pages_blocks_fd_header_text_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_header_text_image_image_id_media_id_fk": { + "name": "pages_blocks_fd_header_text_image_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_header_text_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_header_text_image_parent_id_fk": { + "name": "pages_blocks_fd_header_text_image_parent_id_fk", + "tableFrom": "pages_blocks_fd_header_text_image", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_header_text_image_locales": { + "name": "pages_blocks_fd_header_text_image_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "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": { + "pages_blocks_fd_header_text_image_locales_locale_parent_id_u": { + "name": "pages_blocks_fd_header_text_image_locales_locale_parent_id_u", + "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_blocks_fd_header_text_image_locales_parent_id_fk": { + "name": "pages_blocks_fd_header_text_image_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_header_text_image_locales", + "tableTo": "pages_blocks_fd_header_text_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_contact_form": { + "name": "pages_blocks_fd_contact_form", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "form_id": { + "name": "form_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_contact_form_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "layout": { + "name": "layout", + "type": "enum_pages_blocks_fd_contact_form_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'standard'" + }, + "side_image_id": { + "name": "side_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "external_api_enabled": { + "name": "external_api_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "external_api_endpoint": { + "name": "external_api_endpoint", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "external_api_auth_token": { + "name": "external_api_auth_token", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_contact_form_order_idx": { + "name": "pages_blocks_fd_contact_form_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_form_parent_id_idx": { + "name": "pages_blocks_fd_contact_form_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_form_path_idx": { + "name": "pages_blocks_fd_contact_form_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_form_form_idx": { + "name": "pages_blocks_fd_contact_form_form_idx", + "columns": [ + { + "expression": "form_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_contact_form_side_image_idx": { + "name": "pages_blocks_fd_contact_form_side_image_idx", + "columns": [ + { + "expression": "side_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_contact_form_form_id_forms_id_fk": { + "name": "pages_blocks_fd_contact_form_form_id_forms_id_fk", + "tableFrom": "pages_blocks_fd_contact_form", + "tableTo": "forms", + "columnsFrom": [ + "form_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_contact_form_side_image_id_media_id_fk": { + "name": "pages_blocks_fd_contact_form_side_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_contact_form", + "tableTo": "media", + "columnsFrom": [ + "side_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_contact_form_parent_id_fk": { + "name": "pages_blocks_fd_contact_form_parent_id_fk", + "tableFrom": "pages_blocks_fd_contact_form", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_contact_form_locales": { + "name": "pages_blocks_fd_contact_form_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Prata med vårt team'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Berätta om era mål — vårt team kontaktar er och hjälper er hitta rätt lösning.'" + }, + "submit_text": { + "name": "submit_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Skicka förfrågan'" + }, + "privacy_text": { + "name": "privacy_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Vi använder din kontaktinformation för att svara på din förfrågan och dela detaljer om våra produkter och tjänster. Du kan när som helst avregistrera dig.'" + }, + "privacy_link_text": { + "name": "privacy_link_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'integritetspolicy'" + }, + "privacy_link_url": { + "name": "privacy_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/integritetspolicy'" + }, + "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": { + "pages_blocks_fd_contact_form_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_contact_form_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_blocks_fd_contact_form_locales_parent_id_fk": { + "name": "pages_blocks_fd_contact_form_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_contact_form_locales", + "tableTo": "pages_blocks_fd_contact_form", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_locations_grid_cards": { + "name": "pages_blocks_fd_locations_grid_cards", + "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 + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_locations_grid_cards_order_idx": { + "name": "pages_blocks_fd_locations_grid_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_locations_grid_cards_parent_id_idx": { + "name": "pages_blocks_fd_locations_grid_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_locations_grid_cards_image_idx": { + "name": "pages_blocks_fd_locations_grid_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_locations_grid_cards_image_id_media_id_fk": { + "name": "pages_blocks_fd_locations_grid_cards_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_locations_grid_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_locations_grid_cards_parent_id_fk": { + "name": "pages_blocks_fd_locations_grid_cards_parent_id_fk", + "tableFrom": "pages_blocks_fd_locations_grid_cards", + "tableTo": "pages_blocks_fd_locations_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_locations_grid_cards_locales": { + "name": "pages_blocks_fd_locations_grid_cards_locales", + "schema": "", + "columns": { + "location_name": { + "name": "location_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "address": { + "name": "address", + "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": { + "pages_blocks_fd_locations_grid_cards_locales_locale_parent_i": { + "name": "pages_blocks_fd_locations_grid_cards_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": { + "pages_blocks_fd_locations_grid_cards_locales_parent_id_fk": { + "name": "pages_blocks_fd_locations_grid_cards_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_locations_grid_cards_locales", + "tableTo": "pages_blocks_fd_locations_grid_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_locations_grid": { + "name": "pages_blocks_fd_locations_grid", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "hover_color": { + "name": "hover_color", + "type": "enum_pages_blocks_fd_locations_grid_hover_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_locations_grid_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_locations_grid_order_idx": { + "name": "pages_blocks_fd_locations_grid_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_locations_grid_parent_id_idx": { + "name": "pages_blocks_fd_locations_grid_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_locations_grid_path_idx": { + "name": "pages_blocks_fd_locations_grid_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_locations_grid_parent_id_fk": { + "name": "pages_blocks_fd_locations_grid_parent_id_fk", + "tableFrom": "pages_blocks_fd_locations_grid", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_locations_grid_locales": { + "name": "pages_blocks_fd_locations_grid_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "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": { + "pages_blocks_fd_locations_grid_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_locations_grid_locales_locale_parent_id_uniq", + "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_blocks_fd_locations_grid_locales_parent_id_fk": { + "name": "pages_blocks_fd_locations_grid_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_locations_grid_locales", + "tableTo": "pages_blocks_fd_locations_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_alternate_hero": { + "name": "pages_blocks_fd_alternate_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_alternate_hero_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_alternate_hero_order_idx": { + "name": "pages_blocks_fd_alternate_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_alternate_hero_parent_id_idx": { + "name": "pages_blocks_fd_alternate_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_alternate_hero_path_idx": { + "name": "pages_blocks_fd_alternate_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_alternate_hero_image_idx": { + "name": "pages_blocks_fd_alternate_hero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_alternate_hero_image_id_media_id_fk": { + "name": "pages_blocks_fd_alternate_hero_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_alternate_hero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_alternate_hero_parent_id_fk": { + "name": "pages_blocks_fd_alternate_hero_parent_id_fk", + "tableFrom": "pages_blocks_fd_alternate_hero", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_alternate_hero_locales": { + "name": "pages_blocks_fd_alternate_hero_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "primary_cta_text": { + "name": "primary_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "primary_cta_link": { + "name": "primary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'#'" + }, + "image_caption": { + "name": "image_caption", + "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": { + "pages_blocks_fd_alternate_hero_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_alternate_hero_locales_locale_parent_id_uniq", + "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_blocks_fd_alternate_hero_locales_parent_id_fk": { + "name": "pages_blocks_fd_alternate_hero_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_alternate_hero_locales", + "tableTo": "pages_blocks_fd_alternate_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_statistics_stats": { + "name": "pages_blocks_fd_statistics_stats", + "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 + } + }, + "indexes": { + "pages_blocks_fd_statistics_stats_order_idx": { + "name": "pages_blocks_fd_statistics_stats_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_statistics_stats_parent_id_idx": { + "name": "pages_blocks_fd_statistics_stats_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_statistics_stats_parent_id_fk": { + "name": "pages_blocks_fd_statistics_stats_parent_id_fk", + "tableFrom": "pages_blocks_fd_statistics_stats", + "tableTo": "pages_blocks_fd_statistics", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_statistics_stats_locales": { + "name": "pages_blocks_fd_statistics_stats_locales", + "schema": "", + "columns": { + "number": { + "name": "number", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_statistics_stats_locales_locale_parent_id_un": { + "name": "pages_blocks_fd_statistics_stats_locales_locale_parent_id_un", + "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_blocks_fd_statistics_stats_locales_parent_id_fk": { + "name": "pages_blocks_fd_statistics_stats_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_statistics_stats_locales", + "tableTo": "pages_blocks_fd_statistics_stats", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_statistics": { + "name": "pages_blocks_fd_statistics", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_statistics_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "number_color": { + "name": "number_color", + "type": "enum_pages_blocks_fd_statistics_number_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gradient'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_statistics_order_idx": { + "name": "pages_blocks_fd_statistics_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_statistics_parent_id_idx": { + "name": "pages_blocks_fd_statistics_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_statistics_path_idx": { + "name": "pages_blocks_fd_statistics_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_statistics_parent_id_fk": { + "name": "pages_blocks_fd_statistics_parent_id_fk", + "tableFrom": "pages_blocks_fd_statistics", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_statistics_locales": { + "name": "pages_blocks_fd_statistics_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_statistics_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_statistics_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_blocks_fd_statistics_locales_parent_id_fk": { + "name": "pages_blocks_fd_statistics_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_statistics_locales", + "tableTo": "pages_blocks_fd_statistics", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_partners_logos_logos": { + "name": "pages_blocks_fd_partners_logos_logos", + "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 + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_partners_logos_logos_order_idx": { + "name": "pages_blocks_fd_partners_logos_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_partners_logos_logos_parent_id_idx": { + "name": "pages_blocks_fd_partners_logos_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_partners_logos_logos_image_idx": { + "name": "pages_blocks_fd_partners_logos_logos_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_partners_logos_logos_image_id_media_id_fk": { + "name": "pages_blocks_fd_partners_logos_logos_image_id_media_id_fk", + "tableFrom": "pages_blocks_fd_partners_logos_logos", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_partners_logos_logos_parent_id_fk": { + "name": "pages_blocks_fd_partners_logos_logos_parent_id_fk", + "tableFrom": "pages_blocks_fd_partners_logos_logos", + "tableTo": "pages_blocks_fd_partners_logos", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_partners_logos_logos_locales": { + "name": "pages_blocks_fd_partners_logos_logos_locales", + "schema": "", + "columns": { + "alt": { + "name": "alt", + "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": { + "pages_blocks_fd_partners_logos_logos_locales_locale_parent_i": { + "name": "pages_blocks_fd_partners_logos_logos_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": { + "pages_blocks_fd_partners_logos_logos_locales_parent_id_fk": { + "name": "pages_blocks_fd_partners_logos_logos_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_partners_logos_logos_locales", + "tableTo": "pages_blocks_fd_partners_logos_logos", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_partners_logos": { + "name": "pages_blocks_fd_partners_logos", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "display_mode": { + "name": "display_mode", + "type": "enum_pages_blocks_fd_partners_logos_display_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'color'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_partners_logos_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_partners_logos_order_idx": { + "name": "pages_blocks_fd_partners_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_partners_logos_parent_id_idx": { + "name": "pages_blocks_fd_partners_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_partners_logos_path_idx": { + "name": "pages_blocks_fd_partners_logos_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_partners_logos_parent_id_fk": { + "name": "pages_blocks_fd_partners_logos_parent_id_fk", + "tableFrom": "pages_blocks_fd_partners_logos", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_partners_logos_locales": { + "name": "pages_blocks_fd_partners_logos_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Våra partners'" + }, + "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": { + "pages_blocks_fd_partners_logos_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_partners_logos_locales_locale_parent_id_uniq", + "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_blocks_fd_partners_logos_locales_parent_id_fk": { + "name": "pages_blocks_fd_partners_logos_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_partners_logos_locales", + "tableTo": "pages_blocks_fd_partners_logos", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_newsletter": { + "name": "pages_blocks_fd_newsletter", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "submit_endpoint": { + "name": "submit_endpoint", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "privacy_policy_link": { + "name": "privacy_policy_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/integritetspolicy'" + }, + "collect_name": { + "name": "collect_name", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "collect_company": { + "name": "collect_company", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "layout": { + "name": "layout", + "type": "enum_pages_blocks_fd_newsletter_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'inline'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_newsletter_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_newsletter_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_newsletter_order_idx": { + "name": "pages_blocks_fd_newsletter_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_newsletter_parent_id_idx": { + "name": "pages_blocks_fd_newsletter_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_newsletter_path_idx": { + "name": "pages_blocks_fd_newsletter_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_newsletter_parent_id_fk": { + "name": "pages_blocks_fd_newsletter_parent_id_fk", + "tableFrom": "pages_blocks_fd_newsletter", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_newsletter_locales": { + "name": "pages_blocks_fd_newsletter_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Håll dig uppdaterad'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Prenumerera på vårt nyhetsbrev för att få de senaste nyheterna om fiber, cloud och IT-infrastruktur.'" + }, + "button_text": { + "name": "button_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Prenumerera'" + }, + "success_message": { + "name": "success_message", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Tack! Du är nu prenumerant.'" + }, + "consent_text": { + "name": "consent_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Jag godkänner att mina uppgifter används enligt vår integritetspolicy.'" + }, + "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": { + "pages_blocks_fd_newsletter_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_newsletter_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_blocks_fd_newsletter_locales_parent_id_fk": { + "name": "pages_blocks_fd_newsletter_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_newsletter_locales", + "tableTo": "pages_blocks_fd_newsletter", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_chooser_categories_services": { + "name": "pages_blocks_fd_service_chooser_categories_services", + "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 + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + } + }, + "indexes": { + "pages_blocks_fd_service_chooser_categories_services_order_idx": { + "name": "pages_blocks_fd_service_chooser_categories_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_chooser_categories_services_parent_id_idx": { + "name": "pages_blocks_fd_service_chooser_categories_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_chooser_categories_services_parent_id_fk": { + "name": "pages_blocks_fd_service_chooser_categories_services_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_chooser_categories_services", + "tableTo": "pages_blocks_fd_service_chooser_categories", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_chooser_categories_services_locales": { + "name": "pages_blocks_fd_service_chooser_categories_services_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": { + "pages_blocks_fd_service_chooser_categories_services_locales_": { + "name": "pages_blocks_fd_service_chooser_categories_services_locales_", + "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_blocks_fd_service_chooser_categories_services_local_fk": { + "name": "pages_blocks_fd_service_chooser_categories_services_local_fk", + "tableFrom": "pages_blocks_fd_service_chooser_categories_services_locales", + "tableTo": "pages_blocks_fd_service_chooser_categories_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_chooser_categories": { + "name": "pages_blocks_fd_service_chooser_categories", + "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 + } + }, + "indexes": { + "pages_blocks_fd_service_chooser_categories_order_idx": { + "name": "pages_blocks_fd_service_chooser_categories_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_chooser_categories_parent_id_idx": { + "name": "pages_blocks_fd_service_chooser_categories_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_chooser_categories_parent_id_fk": { + "name": "pages_blocks_fd_service_chooser_categories_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_chooser_categories", + "tableTo": "pages_blocks_fd_service_chooser", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_chooser_categories_locales": { + "name": "pages_blocks_fd_service_chooser_categories_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "intro": { + "name": "intro", + "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": { + "pages_blocks_fd_service_chooser_categories_locales_locale_pa": { + "name": "pages_blocks_fd_service_chooser_categories_locales_locale_pa", + "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_blocks_fd_service_chooser_categories_locales_parent_fk": { + "name": "pages_blocks_fd_service_chooser_categories_locales_parent_fk", + "tableFrom": "pages_blocks_fd_service_chooser_categories_locales", + "tableTo": "pages_blocks_fd_service_chooser_categories", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_chooser": { + "name": "pages_blocks_fd_service_chooser", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_service_chooser_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_service_chooser_order_idx": { + "name": "pages_blocks_fd_service_chooser_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_chooser_parent_id_idx": { + "name": "pages_blocks_fd_service_chooser_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_chooser_path_idx": { + "name": "pages_blocks_fd_service_chooser_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_chooser_parent_id_fk": { + "name": "pages_blocks_fd_service_chooser_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_chooser", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_chooser_locales": { + "name": "pages_blocks_fd_service_chooser_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Välj din bransch'" + }, + "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": { + "pages_blocks_fd_service_chooser_locales_locale_parent_id_uni": { + "name": "pages_blocks_fd_service_chooser_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": { + "pages_blocks_fd_service_chooser_locales_parent_id_fk": { + "name": "pages_blocks_fd_service_chooser_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_chooser_locales", + "tableTo": "pages_blocks_fd_service_chooser", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_data_table_headers": { + "name": "pages_blocks_fd_data_table_headers", + "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 + } + }, + "indexes": { + "pages_blocks_fd_data_table_headers_order_idx": { + "name": "pages_blocks_fd_data_table_headers_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_data_table_headers_parent_id_idx": { + "name": "pages_blocks_fd_data_table_headers_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_data_table_headers_parent_id_fk": { + "name": "pages_blocks_fd_data_table_headers_parent_id_fk", + "tableFrom": "pages_blocks_fd_data_table_headers", + "tableTo": "pages_blocks_fd_data_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_data_table_headers_locales": { + "name": "pages_blocks_fd_data_table_headers_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "pages_blocks_fd_data_table_headers_locales_locale_parent_id_": { + "name": "pages_blocks_fd_data_table_headers_locales_locale_parent_id_", + "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_blocks_fd_data_table_headers_locales_parent_id_fk": { + "name": "pages_blocks_fd_data_table_headers_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_data_table_headers_locales", + "tableTo": "pages_blocks_fd_data_table_headers", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_data_table_rows": { + "name": "pages_blocks_fd_data_table_rows", + "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 + } + }, + "indexes": { + "pages_blocks_fd_data_table_rows_order_idx": { + "name": "pages_blocks_fd_data_table_rows_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_data_table_rows_parent_id_idx": { + "name": "pages_blocks_fd_data_table_rows_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_data_table_rows_parent_id_fk": { + "name": "pages_blocks_fd_data_table_rows_parent_id_fk", + "tableFrom": "pages_blocks_fd_data_table_rows", + "tableTo": "pages_blocks_fd_data_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_data_table_rows_locales": { + "name": "pages_blocks_fd_data_table_rows_locales", + "schema": "", + "columns": { + "cells": { + "name": "cells", + "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": { + "pages_blocks_fd_data_table_rows_locales_locale_parent_id_uni": { + "name": "pages_blocks_fd_data_table_rows_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": { + "pages_blocks_fd_data_table_rows_locales_parent_id_fk": { + "name": "pages_blocks_fd_data_table_rows_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_data_table_rows_locales", + "tableTo": "pages_blocks_fd_data_table_rows", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_data_table": { + "name": "pages_blocks_fd_data_table", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "data_source": { + "name": "data_source", + "type": "enum_pages_blocks_fd_data_table_data_source", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'upload'" + }, + "file_id": { + "name": "file_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_data_table_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "header_style": { + "name": "header_style", + "type": "enum_pages_blocks_fd_data_table_header_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "stripe_rows": { + "name": "stripe_rows", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "bordered": { + "name": "bordered", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "first_column_bold": { + "name": "first_column_bold", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_data_table_order_idx": { + "name": "pages_blocks_fd_data_table_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_data_table_parent_id_idx": { + "name": "pages_blocks_fd_data_table_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_data_table_path_idx": { + "name": "pages_blocks_fd_data_table_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_data_table_file_idx": { + "name": "pages_blocks_fd_data_table_file_idx", + "columns": [ + { + "expression": "file_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_data_table_file_id_media_id_fk": { + "name": "pages_blocks_fd_data_table_file_id_media_id_fk", + "tableFrom": "pages_blocks_fd_data_table", + "tableTo": "media", + "columnsFrom": [ + "file_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_data_table_parent_id_fk": { + "name": "pages_blocks_fd_data_table_parent_id_fk", + "tableFrom": "pages_blocks_fd_data_table", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_data_table_locales": { + "name": "pages_blocks_fd_data_table_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_data_table_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_data_table_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_blocks_fd_data_table_locales_parent_id_fk": { + "name": "pages_blocks_fd_data_table_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_data_table_locales", + "tableTo": "pages_blocks_fd_data_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_vps_calculator_additional_services": { + "name": "pages_blocks_fd_vps_calculator_additional_services", + "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 + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_vps_calculator_additional_services_order_idx": { + "name": "pages_blocks_fd_vps_calculator_additional_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_vps_calculator_additional_services_parent_id_idx": { + "name": "pages_blocks_fd_vps_calculator_additional_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_vps_calculator_additional_services_parent_id_fk": { + "name": "pages_blocks_fd_vps_calculator_additional_services_parent_id_fk", + "tableFrom": "pages_blocks_fd_vps_calculator_additional_services", + "tableTo": "pages_blocks_fd_vps_calculator", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_vps_calculator_additional_services_locales": { + "name": "pages_blocks_fd_vps_calculator_additional_services_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_vps_calculator_additional_services_locales_l": { + "name": "pages_blocks_fd_vps_calculator_additional_services_locales_l", + "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_blocks_fd_vps_calculator_additional_services_locale_fk": { + "name": "pages_blocks_fd_vps_calculator_additional_services_locale_fk", + "tableFrom": "pages_blocks_fd_vps_calculator_additional_services_locales", + "tableTo": "pages_blocks_fd_vps_calculator_additional_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_vps_calculator": { + "name": "pages_blocks_fd_vps_calculator", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "order_cta_link": { + "name": "order_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt?subject=vps-bestallning'" + }, + "contact_cta_link": { + "name": "contact_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_vps_calculator_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "pricing_cpu_per_core": { + "name": "pricing_cpu_per_core", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 120 + }, + "pricing_ram_per_gb": { + "name": "pricing_ram_per_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "pricing_ssd_per_gb": { + "name": "pricing_ssd_per_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 4 + }, + "pricing_hdd_per_gb": { + "name": "pricing_hdd_per_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + }, + "pricing_windows_license": { + "name": "pricing_windows_license", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 250 + }, + "discount_percent": { + "name": "discount_percent", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "show_admin_fee": { + "name": "show_admin_fee", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "admin_fee_amount": { + "name": "admin_fee_amount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 200 + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_vps_calculator_order_idx": { + "name": "pages_blocks_fd_vps_calculator_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_vps_calculator_parent_id_idx": { + "name": "pages_blocks_fd_vps_calculator_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_vps_calculator_path_idx": { + "name": "pages_blocks_fd_vps_calculator_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_vps_calculator_parent_id_fk": { + "name": "pages_blocks_fd_vps_calculator_parent_id_fk", + "tableFrom": "pages_blocks_fd_vps_calculator", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_vps_calculator_locales": { + "name": "pages_blocks_fd_vps_calculator_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Virtuell server — kalkylator'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "order_cta_text": { + "name": "order_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Beställ'" + }, + "contact_cta_text": { + "name": "contact_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Frågor? Kontakta oss'" + }, + "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": { + "pages_blocks_fd_vps_calculator_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_vps_calculator_locales_locale_parent_id_uniq", + "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_blocks_fd_vps_calculator_locales_parent_id_fk": { + "name": "pages_blocks_fd_vps_calculator_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_vps_calculator_locales", + "tableTo": "pages_blocks_fd_vps_calculator", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_option_groups_options": { + "name": "pages_blocks_fd_service_calc_option_groups_options", + "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 + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + } + }, + "indexes": { + "pages_blocks_fd_service_calc_option_groups_options_order_idx": { + "name": "pages_blocks_fd_service_calc_option_groups_options_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_calc_option_groups_options_parent_id_idx": { + "name": "pages_blocks_fd_service_calc_option_groups_options_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_calc_option_groups_options_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_option_groups_options_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_option_groups_options", + "tableTo": "pages_blocks_fd_service_calc_option_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_option_groups_options_locales": { + "name": "pages_blocks_fd_service_calc_option_groups_options_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_service_calc_option_groups_options_locales_l": { + "name": "pages_blocks_fd_service_calc_option_groups_options_locales_l", + "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_blocks_fd_service_calc_option_groups_options_locale_fk": { + "name": "pages_blocks_fd_service_calc_option_groups_options_locale_fk", + "tableFrom": "pages_blocks_fd_service_calc_option_groups_options_locales", + "tableTo": "pages_blocks_fd_service_calc_option_groups_options", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_option_groups": { + "name": "pages_blocks_fd_service_calc_option_groups", + "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 + } + }, + "indexes": { + "pages_blocks_fd_service_calc_option_groups_order_idx": { + "name": "pages_blocks_fd_service_calc_option_groups_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_calc_option_groups_parent_id_idx": { + "name": "pages_blocks_fd_service_calc_option_groups_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_calc_option_groups_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_option_groups_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_option_groups", + "tableTo": "pages_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_option_groups_locales": { + "name": "pages_blocks_fd_service_calc_option_groups_locales", + "schema": "", + "columns": { + "group_label": { + "name": "group_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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_service_calc_option_groups_locales_locale_pa": { + "name": "pages_blocks_fd_service_calc_option_groups_locales_locale_pa", + "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_blocks_fd_service_calc_option_groups_locales_parent_fk": { + "name": "pages_blocks_fd_service_calc_option_groups_locales_parent_fk", + "tableFrom": "pages_blocks_fd_service_calc_option_groups_locales", + "tableTo": "pages_blocks_fd_service_calc_option_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_resources": { + "name": "pages_blocks_fd_service_calc_resources", + "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 + }, + "price_per_unit": { + "name": "price_per_unit", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "default_value": { + "name": "default_value", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "min": { + "name": "min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "max": { + "name": "max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "step": { + "name": "step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + } + }, + "indexes": { + "pages_blocks_fd_service_calc_resources_order_idx": { + "name": "pages_blocks_fd_service_calc_resources_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_calc_resources_parent_id_idx": { + "name": "pages_blocks_fd_service_calc_resources_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_calc_resources_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_resources_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_resources", + "tableTo": "pages_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_resources_locales": { + "name": "pages_blocks_fd_service_calc_resources_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "unit": { + "name": "unit", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'GB'" + }, + "summary_template": { + "name": "summary_template", + "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": { + "pages_blocks_fd_service_calc_resources_locales_locale_parent": { + "name": "pages_blocks_fd_service_calc_resources_locales_locale_parent", + "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_blocks_fd_service_calc_resources_locales_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_resources_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_resources_locales", + "tableTo": "pages_blocks_fd_service_calc_resources", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_addons": { + "name": "pages_blocks_fd_service_calc_addons", + "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 + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_service_calc_addons_order_idx": { + "name": "pages_blocks_fd_service_calc_addons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_calc_addons_parent_id_idx": { + "name": "pages_blocks_fd_service_calc_addons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_calc_addons_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_addons_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_addons", + "tableTo": "pages_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_addons_locales": { + "name": "pages_blocks_fd_service_calc_addons_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "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": { + "pages_blocks_fd_service_calc_addons_locales_locale_parent_id": { + "name": "pages_blocks_fd_service_calc_addons_locales_locale_parent_id", + "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_blocks_fd_service_calc_addons_locales_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_addons_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_addons_locales", + "tableTo": "pages_blocks_fd_service_calc_addons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_fixed_fees": { + "name": "pages_blocks_fd_service_calc_fixed_fees", + "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 + }, + "amount": { + "name": "amount", + "type": "numeric", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_service_calc_fixed_fees_order_idx": { + "name": "pages_blocks_fd_service_calc_fixed_fees_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_calc_fixed_fees_parent_id_idx": { + "name": "pages_blocks_fd_service_calc_fixed_fees_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_calc_fixed_fees_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_fixed_fees_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_fixed_fees", + "tableTo": "pages_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_fixed_fees_locales": { + "name": "pages_blocks_fd_service_calc_fixed_fees_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_service_calc_fixed_fees_locales_locale_paren": { + "name": "pages_blocks_fd_service_calc_fixed_fees_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": { + "pages_blocks_fd_service_calc_fixed_fees_locales_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_fixed_fees_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_fixed_fees_locales", + "tableTo": "pages_blocks_fd_service_calc_fixed_fees", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc": { + "name": "pages_blocks_fd_service_calc", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "order_cta_link": { + "name": "order_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "contact_cta_link": { + "name": "contact_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_service_calc_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "discount_percent": { + "name": "discount_percent", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_service_calc_order_idx": { + "name": "pages_blocks_fd_service_calc_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_calc_parent_id_idx": { + "name": "pages_blocks_fd_service_calc_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_service_calc_path_idx": { + "name": "pages_blocks_fd_service_calc_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_service_calc_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_service_calc_locales": { + "name": "pages_blocks_fd_service_calc_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Beräkna din kostnad'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "summary_heading": { + "name": "summary_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kostnadsöversikt'" + }, + "total_label": { + "name": "total_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Totalt per månad'" + }, + "total_suffix": { + "name": "total_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'exkl. moms'" + }, + "order_cta_text": { + "name": "order_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Beställ'" + }, + "contact_cta_text": { + "name": "contact_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Frågor? Kontakta oss'" + }, + "discount_label": { + "name": "discount_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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_service_calc_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_service_calc_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_blocks_fd_service_calc_locales_parent_id_fk": { + "name": "pages_blocks_fd_service_calc_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_service_calc_locales", + "tableTo": "pages_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_tags_tags": { + "name": "pages_blocks_fd_tags_tags", + "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 + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_tags_tags_order_idx": { + "name": "pages_blocks_fd_tags_tags_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_tags_tags_parent_id_idx": { + "name": "pages_blocks_fd_tags_tags_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_tags_tags_parent_id_fk": { + "name": "pages_blocks_fd_tags_tags_parent_id_fk", + "tableFrom": "pages_blocks_fd_tags_tags", + "tableTo": "pages_blocks_fd_tags", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_tags_tags_locales": { + "name": "pages_blocks_fd_tags_tags_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "pages_blocks_fd_tags_tags_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_tags_tags_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_blocks_fd_tags_tags_locales_parent_id_fk": { + "name": "pages_blocks_fd_tags_tags_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_tags_tags_locales", + "tableTo": "pages_blocks_fd_tags_tags", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_tags": { + "name": "pages_blocks_fd_tags", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "tag_style": { + "name": "tag_style", + "type": "enum_pages_blocks_fd_tags_tag_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "tag_size": { + "name": "tag_size", + "type": "enum_pages_blocks_fd_tags_tag_size", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'large'" + }, + "alignment": { + "name": "alignment", + "type": "enum_pages_blocks_fd_tags_alignment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'left'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_tags_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_tags_order_idx": { + "name": "pages_blocks_fd_tags_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_tags_parent_id_idx": { + "name": "pages_blocks_fd_tags_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_tags_path_idx": { + "name": "pages_blocks_fd_tags_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_tags_parent_id_fk": { + "name": "pages_blocks_fd_tags_parent_id_fk", + "tableFrom": "pages_blocks_fd_tags", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_tags_locales": { + "name": "pages_blocks_fd_tags_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_tags_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_tags_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_blocks_fd_tags_locales_parent_id_fk": { + "name": "pages_blocks_fd_tags_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_tags_locales", + "tableTo": "pages_blocks_fd_tags", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_text": { + "name": "pages_blocks_fd_text", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "alignment": { + "name": "alignment", + "type": "enum_pages_blocks_fd_text_alignment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'left'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_text_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_text_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "max_width": { + "name": "max_width", + "type": "enum_pages_blocks_fd_text_max_width", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'wide'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_text_order_idx": { + "name": "pages_blocks_fd_text_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_text_parent_id_idx": { + "name": "pages_blocks_fd_text_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_text_path_idx": { + "name": "pages_blocks_fd_text_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_text_parent_id_fk": { + "name": "pages_blocks_fd_text_parent_id_fk", + "tableFrom": "pages_blocks_fd_text", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_text_locales": { + "name": "pages_blocks_fd_text_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "jsonb", + "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": { + "pages_blocks_fd_text_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_text_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_blocks_fd_text_locales_parent_id_fk": { + "name": "pages_blocks_fd_text_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_text_locales", + "tableTo": "pages_blocks_fd_text", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_code_embed": { + "name": "pages_blocks_fd_code_embed", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "embed_type": { + "name": "embed_type", + "type": "enum_pages_blocks_fd_code_embed_embed_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'iframe'" + }, + "iframe_src": { + "name": "iframe_src", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "iframe_height": { + "name": "iframe_height", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'600px'" + }, + "iframe_allow": { + "name": "iframe_allow", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "custom_code": { + "name": "custom_code", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sandboxed": { + "name": "sandboxed", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "max_width": { + "name": "max_width", + "type": "enum_pages_blocks_fd_code_embed_max_width", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_code_embed_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_code_embed_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "embed_background": { + "name": "embed_background", + "type": "enum_pages_blocks_fd_code_embed_embed_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_code_embed_order_idx": { + "name": "pages_blocks_fd_code_embed_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_code_embed_parent_id_idx": { + "name": "pages_blocks_fd_code_embed_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_code_embed_path_idx": { + "name": "pages_blocks_fd_code_embed_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_code_embed_parent_id_fk": { + "name": "pages_blocks_fd_code_embed_parent_id_fk", + "tableFrom": "pages_blocks_fd_code_embed", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_code_embed_locales": { + "name": "pages_blocks_fd_code_embed_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "iframe_title": { + "name": "iframe_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Inbäddat formulär'" + }, + "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": { + "pages_blocks_fd_code_embed_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_code_embed_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_blocks_fd_code_embed_locales_parent_id_fk": { + "name": "pages_blocks_fd_code_embed_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_code_embed_locales", + "tableTo": "pages_blocks_fd_code_embed", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_video": { + "name": "pages_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "video_source": { + "name": "video_source", + "type": "enum_pages_blocks_fd_video_video_source", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'upload'" + }, + "video_file_id": { + "name": "video_file_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "youtube_url": { + "name": "youtube_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "vimeo_url": { + "name": "vimeo_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_id": { + "name": "thumbnail_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "aspect_ratio": { + "name": "aspect_ratio", + "type": "enum_pages_blocks_fd_video_aspect_ratio", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'16/9'" + }, + "autoplay": { + "name": "autoplay", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "loop": { + "name": "loop", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "max_width": { + "name": "max_width", + "type": "enum_pages_blocks_fd_video_max_width", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_video_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum_pages_blocks_fd_video_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_video_order_idx": { + "name": "pages_blocks_fd_video_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_video_parent_id_idx": { + "name": "pages_blocks_fd_video_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_video_path_idx": { + "name": "pages_blocks_fd_video_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_video_video_file_idx": { + "name": "pages_blocks_fd_video_video_file_idx", + "columns": [ + { + "expression": "video_file_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_video_thumbnail_idx": { + "name": "pages_blocks_fd_video_thumbnail_idx", + "columns": [ + { + "expression": "thumbnail_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_video_video_file_id_media_id_fk": { + "name": "pages_blocks_fd_video_video_file_id_media_id_fk", + "tableFrom": "pages_blocks_fd_video", + "tableTo": "media", + "columnsFrom": [ + "video_file_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_video_thumbnail_id_media_id_fk": { + "name": "pages_blocks_fd_video_thumbnail_id_media_id_fk", + "tableFrom": "pages_blocks_fd_video", + "tableTo": "media", + "columnsFrom": [ + "thumbnail_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_video_parent_id_fk": { + "name": "pages_blocks_fd_video_parent_id_fk", + "tableFrom": "pages_blocks_fd_video", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_video_locales": { + "name": "pages_blocks_fd_video_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_video_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_video_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_blocks_fd_video_locales_parent_id_fk": { + "name": "pages_blocks_fd_video_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_video_locales", + "tableTo": "pages_blocks_fd_video", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_cta_banner": { + "name": "pages_blocks_fd_cta_banner", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_cta_banner_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "alignment": { + "name": "alignment", + "type": "enum_pages_blocks_fd_cta_banner_alignment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'center'" + }, + "size": { + "name": "size", + "type": "enum_pages_blocks_fd_cta_banner_size", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'medium'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_cta_banner_order_idx": { + "name": "pages_blocks_fd_cta_banner_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_cta_banner_parent_id_idx": { + "name": "pages_blocks_fd_cta_banner_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_cta_banner_path_idx": { + "name": "pages_blocks_fd_cta_banner_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_cta_banner_parent_id_fk": { + "name": "pages_blocks_fd_cta_banner_parent_id_fk", + "tableFrom": "pages_blocks_fd_cta_banner", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_cta_banner_locales": { + "name": "pages_blocks_fd_cta_banner_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Redo att komma igång?'" + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kontakta oss'" + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "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": { + "pages_blocks_fd_cta_banner_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_cta_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": { + "pages_blocks_fd_cta_banner_locales_parent_id_fk": { + "name": "pages_blocks_fd_cta_banner_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_cta_banner_locales", + "tableTo": "pages_blocks_fd_cta_banner", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_testimonial_testimonials": { + "name": "pages_blocks_fd_testimonial_testimonials", + "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 + }, + "author_company": { + "name": "author_company", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "avatar_id": { + "name": "avatar_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_testimonial_testimonials_order_idx": { + "name": "pages_blocks_fd_testimonial_testimonials_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_testimonial_testimonials_parent_id_idx": { + "name": "pages_blocks_fd_testimonial_testimonials_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_testimonial_testimonials_avatar_idx": { + "name": "pages_blocks_fd_testimonial_testimonials_avatar_idx", + "columns": [ + { + "expression": "avatar_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_testimonial_testimonials_avatar_id_media_id_fk": { + "name": "pages_blocks_fd_testimonial_testimonials_avatar_id_media_id_fk", + "tableFrom": "pages_blocks_fd_testimonial_testimonials", + "tableTo": "media", + "columnsFrom": [ + "avatar_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_testimonial_testimonials_parent_id_fk": { + "name": "pages_blocks_fd_testimonial_testimonials_parent_id_fk", + "tableFrom": "pages_blocks_fd_testimonial_testimonials", + "tableTo": "pages_blocks_fd_testimonial", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_testimonial_testimonials_locales": { + "name": "pages_blocks_fd_testimonial_testimonials_locales", + "schema": "", + "columns": { + "quote": { + "name": "quote", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "author_name": { + "name": "author_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "author_role": { + "name": "author_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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_testimonial_testimonials_locales_locale_pare": { + "name": "pages_blocks_fd_testimonial_testimonials_locales_locale_pare", + "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_blocks_fd_testimonial_testimonials_locales_parent_i_fk": { + "name": "pages_blocks_fd_testimonial_testimonials_locales_parent_i_fk", + "tableFrom": "pages_blocks_fd_testimonial_testimonials_locales", + "tableTo": "pages_blocks_fd_testimonial_testimonials", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_testimonial": { + "name": "pages_blocks_fd_testimonial", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "layout": { + "name": "layout", + "type": "enum_pages_blocks_fd_testimonial_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'grid'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_testimonial_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_testimonial_order_idx": { + "name": "pages_blocks_fd_testimonial_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_testimonial_parent_id_idx": { + "name": "pages_blocks_fd_testimonial_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_testimonial_path_idx": { + "name": "pages_blocks_fd_testimonial_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_testimonial_parent_id_fk": { + "name": "pages_blocks_fd_testimonial_parent_id_fk", + "tableFrom": "pages_blocks_fd_testimonial", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_testimonial_locales": { + "name": "pages_blocks_fd_testimonial_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_testimonial_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_testimonial_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_blocks_fd_testimonial_locales_parent_id_fk": { + "name": "pages_blocks_fd_testimonial_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_testimonial_locales", + "tableTo": "pages_blocks_fd_testimonial", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_team_members": { + "name": "pages_blocks_fd_team_members", + "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 + }, + "photo_id": { + "name": "photo_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "email": { + "name": "email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "linkedin": { + "name": "linkedin", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_team_members_order_idx": { + "name": "pages_blocks_fd_team_members_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_team_members_parent_id_idx": { + "name": "pages_blocks_fd_team_members_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_team_members_photo_idx": { + "name": "pages_blocks_fd_team_members_photo_idx", + "columns": [ + { + "expression": "photo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_team_members_photo_id_media_id_fk": { + "name": "pages_blocks_fd_team_members_photo_id_media_id_fk", + "tableFrom": "pages_blocks_fd_team_members", + "tableTo": "media", + "columnsFrom": [ + "photo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_team_members_parent_id_fk": { + "name": "pages_blocks_fd_team_members_parent_id_fk", + "tableFrom": "pages_blocks_fd_team_members", + "tableTo": "pages_blocks_fd_team", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_team_members_locales": { + "name": "pages_blocks_fd_team_members_locales", + "schema": "", + "columns": { + "role": { + "name": "role", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "bio": { + "name": "bio", + "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": { + "pages_blocks_fd_team_members_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_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": { + "pages_blocks_fd_team_members_locales_parent_id_fk": { + "name": "pages_blocks_fd_team_members_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_team_members_locales", + "tableTo": "pages_blocks_fd_team_members", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_team": { + "name": "pages_blocks_fd_team", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "columns": { + "name": "columns", + "type": "enum_pages_blocks_fd_team_columns", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'3'" + }, + "card_style": { + "name": "card_style", + "type": "enum_pages_blocks_fd_team_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_team_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_team_order_idx": { + "name": "pages_blocks_fd_team_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_team_parent_id_idx": { + "name": "pages_blocks_fd_team_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_team_path_idx": { + "name": "pages_blocks_fd_team_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_team_parent_id_fk": { + "name": "pages_blocks_fd_team_parent_id_fk", + "tableFrom": "pages_blocks_fd_team", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_team_locales": { + "name": "pages_blocks_fd_team_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "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": { + "pages_blocks_fd_team_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_team_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_blocks_fd_team_locales_parent_id_fk": { + "name": "pages_blocks_fd_team_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_team_locales", + "tableTo": "pages_blocks_fd_team", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_link_cards_cards": { + "name": "pages_blocks_fd_link_cards_cards", + "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 + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_icon_id": { + "name": "link_icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_link_cards_cards_order_idx": { + "name": "pages_blocks_fd_link_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_link_cards_cards_parent_id_idx": { + "name": "pages_blocks_fd_link_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_link_cards_cards_link_icon_idx": { + "name": "pages_blocks_fd_link_cards_cards_link_icon_idx", + "columns": [ + { + "expression": "link_icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_link_cards_cards_link_icon_id_media_id_fk": { + "name": "pages_blocks_fd_link_cards_cards_link_icon_id_media_id_fk", + "tableFrom": "pages_blocks_fd_link_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "link_icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_link_cards_cards_parent_id_fk": { + "name": "pages_blocks_fd_link_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_fd_link_cards_cards", + "tableTo": "pages_blocks_fd_link_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_link_cards_cards_locales": { + "name": "pages_blocks_fd_link_cards_cards_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "pages_blocks_fd_link_cards_cards_locales_locale_parent_id_un": { + "name": "pages_blocks_fd_link_cards_cards_locales_locale_parent_id_un", + "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_blocks_fd_link_cards_cards_locales_parent_id_fk": { + "name": "pages_blocks_fd_link_cards_cards_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_link_cards_cards_locales", + "tableTo": "pages_blocks_fd_link_cards_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_link_cards": { + "name": "pages_blocks_fd_link_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "columns": { + "name": "columns", + "type": "enum_pages_blocks_fd_link_cards_columns", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'3'" + }, + "card_style": { + "name": "card_style", + "type": "enum_pages_blocks_fd_link_cards_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_link_cards_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_link_cards_order_idx": { + "name": "pages_blocks_fd_link_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_link_cards_parent_id_idx": { + "name": "pages_blocks_fd_link_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_link_cards_path_idx": { + "name": "pages_blocks_fd_link_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_link_cards_icon_idx": { + "name": "pages_blocks_fd_link_cards_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_link_cards_icon_id_media_id_fk": { + "name": "pages_blocks_fd_link_cards_icon_id_media_id_fk", + "tableFrom": "pages_blocks_fd_link_cards", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "pages_blocks_fd_link_cards_parent_id_fk": { + "name": "pages_blocks_fd_link_cards_parent_id_fk", + "tableFrom": "pages_blocks_fd_link_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_link_cards_locales": { + "name": "pages_blocks_fd_link_cards_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "pages_blocks_fd_link_cards_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_link_cards_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_blocks_fd_link_cards_locales_parent_id_fk": { + "name": "pages_blocks_fd_link_cards_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_link_cards_locales", + "tableTo": "pages_blocks_fd_link_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_spec_cards_cards": { + "name": "pages_blocks_fd_spec_cards_cards", + "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 + } + }, + "indexes": { + "pages_blocks_fd_spec_cards_cards_order_idx": { + "name": "pages_blocks_fd_spec_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_spec_cards_cards_parent_id_idx": { + "name": "pages_blocks_fd_spec_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_spec_cards_cards_parent_id_fk": { + "name": "pages_blocks_fd_spec_cards_cards_parent_id_fk", + "tableFrom": "pages_blocks_fd_spec_cards_cards", + "tableTo": "pages_blocks_fd_spec_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_spec_cards_cards_locales": { + "name": "pages_blocks_fd_spec_cards_cards_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "spec_label": { + "name": "spec_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "spec_value": { + "name": "spec_value", + "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": { + "pages_blocks_fd_spec_cards_cards_locales_locale_parent_id_un": { + "name": "pages_blocks_fd_spec_cards_cards_locales_locale_parent_id_un", + "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_blocks_fd_spec_cards_cards_locales_parent_id_fk": { + "name": "pages_blocks_fd_spec_cards_cards_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_spec_cards_cards_locales", + "tableTo": "pages_blocks_fd_spec_cards_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_spec_cards": { + "name": "pages_blocks_fd_spec_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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "layout": { + "name": "layout", + "type": "enum_pages_blocks_fd_spec_cards_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'sideBySide'" + }, + "card_style": { + "name": "card_style", + "type": "enum_pages_blocks_fd_spec_cards_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_spec_cards_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_spec_cards_order_idx": { + "name": "pages_blocks_fd_spec_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_spec_cards_parent_id_idx": { + "name": "pages_blocks_fd_spec_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_spec_cards_path_idx": { + "name": "pages_blocks_fd_spec_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_spec_cards_parent_id_fk": { + "name": "pages_blocks_fd_spec_cards_parent_id_fk", + "tableFrom": "pages_blocks_fd_spec_cards", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_spec_cards_locales": { + "name": "pages_blocks_fd_spec_cards_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "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": { + "pages_blocks_fd_spec_cards_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_spec_cards_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_blocks_fd_spec_cards_locales_parent_id_fk": { + "name": "pages_blocks_fd_spec_cards_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_spec_cards_locales", + "tableTo": "pages_blocks_fd_spec_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz_outcomes": { + "name": "pages_blocks_fd_quiz_outcomes", + "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": false + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + } + }, + "indexes": { + "pages_blocks_fd_quiz_outcomes_order_idx": { + "name": "pages_blocks_fd_quiz_outcomes_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_quiz_outcomes_parent_id_idx": { + "name": "pages_blocks_fd_quiz_outcomes_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_quiz_outcomes_parent_id_fk": { + "name": "pages_blocks_fd_quiz_outcomes_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz_outcomes", + "tableTo": "pages_blocks_fd_quiz", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz_outcomes_locales": { + "name": "pages_blocks_fd_quiz_outcomes_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Läs mer'" + }, + "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": { + "pages_blocks_fd_quiz_outcomes_locales_locale_parent_id_uniqu": { + "name": "pages_blocks_fd_quiz_outcomes_locales_locale_parent_id_uniqu", + "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_blocks_fd_quiz_outcomes_locales_parent_id_fk": { + "name": "pages_blocks_fd_quiz_outcomes_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz_outcomes_locales", + "tableTo": "pages_blocks_fd_quiz_outcomes", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz_questions_options": { + "name": "pages_blocks_fd_quiz_questions_options", + "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 + }, + "outcome_keys": { + "name": "outcome_keys", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_quiz_questions_options_order_idx": { + "name": "pages_blocks_fd_quiz_questions_options_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_quiz_questions_options_parent_id_idx": { + "name": "pages_blocks_fd_quiz_questions_options_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_quiz_questions_options_parent_id_fk": { + "name": "pages_blocks_fd_quiz_questions_options_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz_questions_options", + "tableTo": "pages_blocks_fd_quiz_questions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz_questions_options_locales": { + "name": "pages_blocks_fd_quiz_questions_options_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sublabel": { + "name": "sublabel", + "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": { + "pages_blocks_fd_quiz_questions_options_locales_locale_parent": { + "name": "pages_blocks_fd_quiz_questions_options_locales_locale_parent", + "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_blocks_fd_quiz_questions_options_locales_parent_id_fk": { + "name": "pages_blocks_fd_quiz_questions_options_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz_questions_options_locales", + "tableTo": "pages_blocks_fd_quiz_questions_options", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz_questions": { + "name": "pages_blocks_fd_quiz_questions", + "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 + } + }, + "indexes": { + "pages_blocks_fd_quiz_questions_order_idx": { + "name": "pages_blocks_fd_quiz_questions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_quiz_questions_parent_id_idx": { + "name": "pages_blocks_fd_quiz_questions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_quiz_questions_parent_id_fk": { + "name": "pages_blocks_fd_quiz_questions_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz_questions", + "tableTo": "pages_blocks_fd_quiz", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz_questions_locales": { + "name": "pages_blocks_fd_quiz_questions_locales", + "schema": "", + "columns": { + "question": { + "name": "question", + "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": { + "pages_blocks_fd_quiz_questions_locales_locale_parent_id_uniq": { + "name": "pages_blocks_fd_quiz_questions_locales_locale_parent_id_uniq", + "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_blocks_fd_quiz_questions_locales_parent_id_fk": { + "name": "pages_blocks_fd_quiz_questions_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz_questions_locales", + "tableTo": "pages_blocks_fd_quiz_questions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz": { + "name": "pages_blocks_fd_quiz", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum_pages_blocks_fd_quiz_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pages_blocks_fd_quiz_order_idx": { + "name": "pages_blocks_fd_quiz_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_quiz_parent_id_idx": { + "name": "pages_blocks_fd_quiz_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "pages_blocks_fd_quiz_path_idx": { + "name": "pages_blocks_fd_quiz_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pages_blocks_fd_quiz_parent_id_fk": { + "name": "pages_blocks_fd_quiz_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz", + "tableTo": "pages", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pages_blocks_fd_quiz_locales": { + "name": "pages_blocks_fd_quiz_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Vilken tjänst passar dig?'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "trigger_label": { + "name": "trigger_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Starta quiz'" + }, + "next_label": { + "name": "next_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Nästa'" + }, + "back_label": { + "name": "back_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Tillbaka'" + }, + "result_heading": { + "name": "result_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Rekommenderat:'" + }, + "restart_label": { + "name": "restart_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Börja om'" + }, + "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": { + "pages_blocks_fd_quiz_locales_locale_parent_id_unique": { + "name": "pages_blocks_fd_quiz_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_blocks_fd_quiz_locales_parent_id_fk": { + "name": "pages_blocks_fd_quiz_locales_parent_id_fk", + "tableFrom": "pages_blocks_fd_quiz_locales", + "tableTo": "pages_blocks_fd_quiz", + "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 + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "published_at": { + "name": "published_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "generate_slug": { + "name": "generate_slug", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": 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()" + }, + "_status": { + "name": "_status", + "type": "enum_pages_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + } + }, + "indexes": { + "pages_slug_idx": { + "name": "pages_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "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": {} + }, + "pages__status_idx": { + "name": "pages__status_idx", + "columns": [ + { + "expression": "_status", + "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": { + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_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": "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_v_blocks_fd_hero": { + "name": "_pages_v_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "background_image_id": { + "name": "background_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "overlay_opacity": { + "name": "overlay_opacity", + "type": "enum__pages_v_blocks_fd_hero_overlay_opacity", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'50'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_hero_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "theme": { + "name": "theme", + "type": "enum__pages_v_blocks_fd_hero_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'light'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_hero_order_idx": { + "name": "_pages_v_blocks_fd_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_hero_parent_id_idx": { + "name": "_pages_v_blocks_fd_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_hero_path_idx": { + "name": "_pages_v_blocks_fd_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_hero_background_image_idx": { + "name": "_pages_v_blocks_fd_hero_background_image_idx", + "columns": [ + { + "expression": "background_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_hero_background_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_hero_background_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_hero", + "tableTo": "media", + "columnsFrom": [ + "background_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_hero_parent_id_fk": { + "name": "_pages_v_blocks_fd_hero_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_hero", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_hero_locales": { + "name": "_pages_v_blocks_fd_hero_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Sveriges bästa IT-ekosystem för företag'" + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Fiber, Backup, Colocation och Cloud'" + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'För företag som väljer Sverige. Vi levererar dedikerad fiber, backup, colocation och cloud – allt från en leverantör med svenskt huvudmannaskap.'" + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kom igång'" + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kontakta oss'" + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "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_v_blocks_fd_hero_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_hero_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_v_blocks_fd_hero_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_hero_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_hero_locales", + "tableTo": "_pages_v_blocks_fd_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_cta_side_image": { + "name": "_pages_v_blocks_fd_cta_side_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "image_overlay": { + "name": "image_overlay", + "type": "enum__pages_v_blocks_fd_cta_side_image_image_overlay", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "image_position": { + "name": "image_position", + "type": "enum__pages_v_blocks_fd_cta_side_image_image_position", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'right'" + }, + "theme": { + "name": "theme", + "type": "enum__pages_v_blocks_fd_cta_side_image_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'dark'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_cta_side_image_order_idx": { + "name": "_pages_v_blocks_fd_cta_side_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_cta_side_image_parent_id_idx": { + "name": "_pages_v_blocks_fd_cta_side_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_cta_side_image_path_idx": { + "name": "_pages_v_blocks_fd_cta_side_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_cta_side_image_image_idx": { + "name": "_pages_v_blocks_fd_cta_side_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_cta_side_image_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_cta_side_image_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_cta_side_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_cta_side_image_parent_id_fk": { + "name": "_pages_v_blocks_fd_cta_side_image_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_cta_side_image", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_cta_side_image_locales": { + "name": "_pages_v_blocks_fd_cta_side_image_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Läs mer'" + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'#'" + }, + "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_v_blocks_fd_cta_side_image_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_cta_side_image_locales_locale_parent_id_u", + "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_v_blocks_fd_cta_side_image_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_cta_side_image_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_cta_side_image_locales", + "tableTo": "_pages_v_blocks_fd_cta_side_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_feature_announcement": { + "name": "_pages_v_blocks_fd_feature_announcement", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "theme": { + "name": "theme", + "type": "enum__pages_v_blocks_fd_feature_announcement_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_feature_announcement_order_idx": { + "name": "_pages_v_blocks_fd_feature_announcement_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_feature_announcement_parent_id_idx": { + "name": "_pages_v_blocks_fd_feature_announcement_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_feature_announcement_path_idx": { + "name": "_pages_v_blocks_fd_feature_announcement_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_feature_announcement_parent_id_fk": { + "name": "_pages_v_blocks_fd_feature_announcement_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_feature_announcement", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_feature_announcement_locales": { + "name": "_pages_v_blocks_fd_feature_announcement_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_link": { + "name": "cta_link", + "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": { + "_pages_v_blocks_fd_feature_announcement_locales_locale_paren": { + "name": "_pages_v_blocks_fd_feature_announcement_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": { + "_pages_v_blocks_fd_feature_announcement_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_feature_announcement_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_feature_announcement_locales", + "tableTo": "_pages_v_blocks_fd_feature_announcement", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_services_grid_services": { + "name": "_pages_v_blocks_fd_services_grid_services", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_services_grid_services_order_idx": { + "name": "_pages_v_blocks_fd_services_grid_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_services_grid_services_parent_id_idx": { + "name": "_pages_v_blocks_fd_services_grid_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_services_grid_services_image_idx": { + "name": "_pages_v_blocks_fd_services_grid_services_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_services_grid_services_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_services_grid_services_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_services_grid_services", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_services_grid_services_parent_id_fk": { + "name": "_pages_v_blocks_fd_services_grid_services_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_services_grid_services", + "tableTo": "_pages_v_blocks_fd_services_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_services_grid_services_locales": { + "name": "_pages_v_blocks_fd_services_grid_services_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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_blocks_fd_services_grid_services_locales_locale_par": { + "name": "_pages_v_blocks_fd_services_grid_services_locales_locale_par", + "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_v_blocks_fd_services_grid_services_locales_parent__fk": { + "name": "_pages_v_blocks_fd_services_grid_services_locales_parent__fk", + "tableFrom": "_pages_v_blocks_fd_services_grid_services_locales", + "tableTo": "_pages_v_blocks_fd_services_grid_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_services_grid": { + "name": "_pages_v_blocks_fd_services_grid", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "columns": { + "name": "columns", + "type": "enum__pages_v_blocks_fd_services_grid_columns", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'4'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_services_grid_order_idx": { + "name": "_pages_v_blocks_fd_services_grid_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_services_grid_parent_id_idx": { + "name": "_pages_v_blocks_fd_services_grid_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_services_grid_path_idx": { + "name": "_pages_v_blocks_fd_services_grid_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_services_grid_parent_id_fk": { + "name": "_pages_v_blocks_fd_services_grid_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_services_grid", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_services_grid_locales": { + "name": "_pages_v_blocks_fd_services_grid_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Företagstjänster'" + }, + "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_v_blocks_fd_services_grid_locales_locale_parent_id_un": { + "name": "_pages_v_blocks_fd_services_grid_locales_locale_parent_id_un", + "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_v_blocks_fd_services_grid_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_services_grid_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_services_grid_locales", + "tableTo": "_pages_v_blocks_fd_services_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_contact_contact_methods": { + "name": "_pages_v_blocks_fd_contact_contact_methods", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_contact_contact_methods_order_idx": { + "name": "_pages_v_blocks_fd_contact_contact_methods_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_contact_methods_parent_id_idx": { + "name": "_pages_v_blocks_fd_contact_contact_methods_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_contact_methods_icon_idx": { + "name": "_pages_v_blocks_fd_contact_contact_methods_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_contact_contact_methods_icon_id_media_id_fk": { + "name": "_pages_v_blocks_fd_contact_contact_methods_icon_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact_contact_methods", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_contact_contact_methods_parent_id_fk": { + "name": "_pages_v_blocks_fd_contact_contact_methods_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact_contact_methods", + "tableTo": "_pages_v_blocks_fd_contact", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_contact_contact_methods_locales": { + "name": "_pages_v_blocks_fd_contact_contact_methods_locales", + "schema": "", + "columns": { + "label": { + "name": "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": { + "_pages_v_blocks_fd_contact_contact_methods_locales_locale_pa": { + "name": "_pages_v_blocks_fd_contact_contact_methods_locales_locale_pa", + "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_v_blocks_fd_contact_contact_methods_locales_parent_fk": { + "name": "_pages_v_blocks_fd_contact_contact_methods_locales_parent_fk", + "tableFrom": "_pages_v_blocks_fd_contact_contact_methods_locales", + "tableTo": "_pages_v_blocks_fd_contact_contact_methods", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_contact": { + "name": "_pages_v_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_contact_order_idx": { + "name": "_pages_v_blocks_fd_contact_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_parent_id_idx": { + "name": "_pages_v_blocks_fd_contact_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_path_idx": { + "name": "_pages_v_blocks_fd_contact_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_contact_parent_id_fk": { + "name": "_pages_v_blocks_fd_contact_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_contact_locales": { + "name": "_pages_v_blocks_fd_contact_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kontakta oss'" + }, + "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_v_blocks_fd_contact_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_contact_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_v_blocks_fd_contact_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_contact_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact_locales", + "tableTo": "_pages_v_blocks_fd_contact", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_faq_items": { + "name": "_pages_v_blocks_fd_faq_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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_faq_items_order_idx": { + "name": "_pages_v_blocks_fd_faq_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_faq_items_parent_id_idx": { + "name": "_pages_v_blocks_fd_faq_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_faq_items_parent_id_fk": { + "name": "_pages_v_blocks_fd_faq_items_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_faq_items", + "tableTo": "_pages_v_blocks_fd_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_faq_items_locales": { + "name": "_pages_v_blocks_fd_faq_items_locales", + "schema": "", + "columns": { + "question": { + "name": "question", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "answer": { + "name": "answer", + "type": "jsonb", + "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_v_blocks_fd_faq_items_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_faq_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": { + "_pages_v_blocks_fd_faq_items_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_faq_items_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_faq_items_locales", + "tableTo": "_pages_v_blocks_fd_faq_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_faq": { + "name": "_pages_v_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "theme": { + "name": "theme", + "type": "enum__pages_v_blocks_fd_faq_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_faq_order_idx": { + "name": "_pages_v_blocks_fd_faq_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_faq_parent_id_idx": { + "name": "_pages_v_blocks_fd_faq_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_faq_path_idx": { + "name": "_pages_v_blocks_fd_faq_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_faq_parent_id_fk": { + "name": "_pages_v_blocks_fd_faq_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_faq", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_faq_locales": { + "name": "_pages_v_blocks_fd_faq_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Vanliga frågor'" + }, + "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_v_blocks_fd_faq_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_faq_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_v_blocks_fd_faq_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_faq_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_faq_locales", + "tableTo": "_pages_v_blocks_fd_faq", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_card_grid_cards_content_lines": { + "name": "_pages_v_blocks_fd_card_grid_cards_content_lines", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "style": { + "name": "style", + "type": "enum__pages_v_blocks_fd_card_grid_cards_content_lines_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'normal'" + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_card_grid_cards_content_lines_order_idx": { + "name": "_pages_v_blocks_fd_card_grid_cards_content_lines_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_card_grid_cards_content_lines_parent_id_idx": { + "name": "_pages_v_blocks_fd_card_grid_cards_content_lines_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_card_grid_cards_content_lines_parent_id_fk": { + "name": "_pages_v_blocks_fd_card_grid_cards_content_lines_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_card_grid_cards_content_lines", + "tableTo": "_pages_v_blocks_fd_card_grid_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_card_grid_cards_content_lines_locales": { + "name": "_pages_v_blocks_fd_card_grid_cards_content_lines_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "_pages_v_blocks_fd_card_grid_cards_content_lines_locales_loc": { + "name": "_pages_v_blocks_fd_card_grid_cards_content_lines_locales_loc", + "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_v_blocks_fd_card_grid_cards_content_lines_locales__fk": { + "name": "_pages_v_blocks_fd_card_grid_cards_content_lines_locales__fk", + "tableFrom": "_pages_v_blocks_fd_card_grid_cards_content_lines_locales", + "tableTo": "_pages_v_blocks_fd_card_grid_cards_content_lines", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_card_grid_cards": { + "name": "_pages_v_blocks_fd_card_grid_cards", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "display_mode": { + "name": "display_mode", + "type": "enum__pages_v_blocks_fd_card_grid_cards_display_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'content'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_card_grid_cards_order_idx": { + "name": "_pages_v_blocks_fd_card_grid_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_card_grid_cards_parent_id_idx": { + "name": "_pages_v_blocks_fd_card_grid_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_card_grid_cards_parent_id_fk": { + "name": "_pages_v_blocks_fd_card_grid_cards_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_card_grid_cards", + "tableTo": "_pages_v_blocks_fd_card_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_card_grid_cards_locales": { + "name": "_pages_v_blocks_fd_card_grid_cards_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "centered_body_text": { + "name": "centered_body_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "card_link": { + "name": "card_link", + "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": { + "_pages_v_blocks_fd_card_grid_cards_locales_locale_parent_id_": { + "name": "_pages_v_blocks_fd_card_grid_cards_locales_locale_parent_id_", + "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_v_blocks_fd_card_grid_cards_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_card_grid_cards_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_card_grid_cards_locales", + "tableTo": "_pages_v_blocks_fd_card_grid_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_card_grid": { + "name": "_pages_v_blocks_fd_card_grid", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "layout": { + "name": "layout", + "type": "enum__pages_v_blocks_fd_card_grid_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'1-1-1'" + }, + "card_style": { + "name": "card_style", + "type": "enum__pages_v_blocks_fd_card_grid_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_card_grid_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_card_grid_order_idx": { + "name": "_pages_v_blocks_fd_card_grid_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_card_grid_parent_id_idx": { + "name": "_pages_v_blocks_fd_card_grid_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_card_grid_path_idx": { + "name": "_pages_v_blocks_fd_card_grid_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_card_grid_parent_id_fk": { + "name": "_pages_v_blocks_fd_card_grid_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_card_grid", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_pricing_card_cards_bullet_points": { + "name": "_pages_v_blocks_fd_pricing_card_cards_bullet_points", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_pricing_card_cards_bullet_points_order_idx": { + "name": "_pages_v_blocks_fd_pricing_card_cards_bullet_points_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_pricing_card_cards_bullet_points_parent_id_idx": { + "name": "_pages_v_blocks_fd_pricing_card_cards_bullet_points_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_pricing_card_cards_bullet_points_parent_id_fk": { + "name": "_pages_v_blocks_fd_pricing_card_cards_bullet_points_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_pricing_card_cards_bullet_points", + "tableTo": "_pages_v_blocks_fd_pricing_card_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_pricing_card_cards_bullet_points_locales": { + "name": "_pages_v_blocks_fd_pricing_card_cards_bullet_points_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "_pages_v_blocks_fd_pricing_card_cards_bullet_points_locales_": { + "name": "_pages_v_blocks_fd_pricing_card_cards_bullet_points_locales_", + "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_v_blocks_fd_pricing_card_cards_bullet_points_local_fk": { + "name": "_pages_v_blocks_fd_pricing_card_cards_bullet_points_local_fk", + "tableFrom": "_pages_v_blocks_fd_pricing_card_cards_bullet_points_locales", + "tableTo": "_pages_v_blocks_fd_pricing_card_cards_bullet_points", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_pricing_card_cards": { + "name": "_pages_v_blocks_fd_pricing_card_cards", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_pricing_card_cards_order_idx": { + "name": "_pages_v_blocks_fd_pricing_card_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_pricing_card_cards_parent_id_idx": { + "name": "_pages_v_blocks_fd_pricing_card_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_pricing_card_cards_parent_id_fk": { + "name": "_pages_v_blocks_fd_pricing_card_cards_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_pricing_card_cards", + "tableTo": "_pages_v_blocks_fd_pricing_card", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_pricing_card_cards_locales": { + "name": "_pages_v_blocks_fd_pricing_card_cards_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subtitle": { + "name": "subtitle", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Få offert'" + }, + "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_v_blocks_fd_pricing_card_cards_locales_locale_parent_": { + "name": "_pages_v_blocks_fd_pricing_card_cards_locales_locale_parent_", + "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_v_blocks_fd_pricing_card_cards_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_pricing_card_cards_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_pricing_card_cards_locales", + "tableTo": "_pages_v_blocks_fd_pricing_card_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_pricing_card": { + "name": "_pages_v_blocks_fd_pricing_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "card_style": { + "name": "card_style", + "type": "enum__pages_v_blocks_fd_pricing_card_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "button_color": { + "name": "button_color", + "type": "enum__pages_v_blocks_fd_pricing_card_button_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_pricing_card_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "title_color": { + "name": "title_color", + "type": "enum__pages_v_blocks_fd_pricing_card_title_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_pricing_card_order_idx": { + "name": "_pages_v_blocks_fd_pricing_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_pricing_card_parent_id_idx": { + "name": "_pages_v_blocks_fd_pricing_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_pricing_card_path_idx": { + "name": "_pages_v_blocks_fd_pricing_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_pricing_card_parent_id_fk": { + "name": "_pages_v_blocks_fd_pricing_card_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_pricing_card", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_pricing_card_locales": { + "name": "_pages_v_blocks_fd_pricing_card_locales", + "schema": "", + "columns": { + "section_title": { + "name": "section_title", + "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": { + "_pages_v_blocks_fd_pricing_card_locales_locale_parent_id_uni": { + "name": "_pages_v_blocks_fd_pricing_card_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": { + "_pages_v_blocks_fd_pricing_card_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_pricing_card_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_pricing_card_locales", + "tableTo": "_pages_v_blocks_fd_pricing_card", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_spacer": { + "name": "_pages_v_blocks_fd_spacer", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "height": { + "name": "height", + "type": "enum__pages_v_blocks_fd_spacer_height", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'md'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_spacer_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_spacer_order_idx": { + "name": "_pages_v_blocks_fd_spacer_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_spacer_parent_id_idx": { + "name": "_pages_v_blocks_fd_spacer_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_spacer_path_idx": { + "name": "_pages_v_blocks_fd_spacer_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_spacer_parent_id_fk": { + "name": "_pages_v_blocks_fd_spacer_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_spacer", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_icon_bar_icons": { + "name": "_pages_v_blocks_fd_icon_bar_icons", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_icon_bar_icons_order_idx": { + "name": "_pages_v_blocks_fd_icon_bar_icons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_icon_bar_icons_parent_id_idx": { + "name": "_pages_v_blocks_fd_icon_bar_icons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_icon_bar_icons_icon_idx": { + "name": "_pages_v_blocks_fd_icon_bar_icons_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_icon_bar_icons_icon_id_media_id_fk": { + "name": "_pages_v_blocks_fd_icon_bar_icons_icon_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_icon_bar_icons", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_icon_bar_icons_parent_id_fk": { + "name": "_pages_v_blocks_fd_icon_bar_icons_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_icon_bar_icons", + "tableTo": "_pages_v_blocks_fd_icon_bar", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_icon_bar_icons_locales": { + "name": "_pages_v_blocks_fd_icon_bar_icons_locales", + "schema": "", + "columns": { + "label": { + "name": "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": { + "_pages_v_blocks_fd_icon_bar_icons_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_icon_bar_icons_locales_locale_parent_id_u", + "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_v_blocks_fd_icon_bar_icons_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_icon_bar_icons_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_icon_bar_icons_locales", + "tableTo": "_pages_v_blocks_fd_icon_bar_icons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_icon_bar": { + "name": "_pages_v_blocks_fd_icon_bar", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "icon_style": { + "name": "icon_style", + "type": "enum__pages_v_blocks_fd_icon_bar_icon_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_icon_bar_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_icon_bar_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_icon_bar_order_idx": { + "name": "_pages_v_blocks_fd_icon_bar_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_icon_bar_parent_id_idx": { + "name": "_pages_v_blocks_fd_icon_bar_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_icon_bar_path_idx": { + "name": "_pages_v_blocks_fd_icon_bar_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_icon_bar_parent_id_fk": { + "name": "_pages_v_blocks_fd_icon_bar_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_icon_bar", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_icon_bar_locales": { + "name": "_pages_v_blocks_fd_icon_bar_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "_pages_v_blocks_fd_icon_bar_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_icon_bar_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_v_blocks_fd_icon_bar_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_icon_bar_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_icon_bar_locales", + "tableTo": "_pages_v_blocks_fd_icon_bar", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_checklist_items": { + "name": "_pages_v_blocks_fd_usp_checklist_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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_usp_checklist_items_order_idx": { + "name": "_pages_v_blocks_fd_usp_checklist_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_usp_checklist_items_parent_id_idx": { + "name": "_pages_v_blocks_fd_usp_checklist_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_usp_checklist_items_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_checklist_items_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_checklist_items", + "tableTo": "_pages_v_blocks_fd_usp_checklist", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_checklist_items_locales": { + "name": "_pages_v_blocks_fd_usp_checklist_items_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "_pages_v_blocks_fd_usp_checklist_items_locales_locale_parent": { + "name": "_pages_v_blocks_fd_usp_checklist_items_locales_locale_parent", + "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_v_blocks_fd_usp_checklist_items_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_checklist_items_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_checklist_items_locales", + "tableTo": "_pages_v_blocks_fd_usp_checklist_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_checklist": { + "name": "_pages_v_blocks_fd_usp_checklist", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "image_position": { + "name": "image_position", + "type": "enum__pages_v_blocks_fd_usp_checklist_image_position", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'right'" + }, + "check_color": { + "name": "check_color", + "type": "enum__pages_v_blocks_fd_usp_checklist_check_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_usp_checklist_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_usp_checklist_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_usp_checklist_order_idx": { + "name": "_pages_v_blocks_fd_usp_checklist_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_usp_checklist_parent_id_idx": { + "name": "_pages_v_blocks_fd_usp_checklist_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_usp_checklist_path_idx": { + "name": "_pages_v_blocks_fd_usp_checklist_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_usp_checklist_image_idx": { + "name": "_pages_v_blocks_fd_usp_checklist_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_usp_checklist_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_usp_checklist_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_checklist", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_usp_checklist_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_checklist_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_checklist", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_checklist_locales": { + "name": "_pages_v_blocks_fd_usp_checklist_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "_pages_v_blocks_fd_usp_checklist_locales_locale_parent_id_un": { + "name": "_pages_v_blocks_fd_usp_checklist_locales_locale_parent_id_un", + "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_v_blocks_fd_usp_checklist_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_checklist_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_checklist_locales", + "tableTo": "_pages_v_blocks_fd_usp_checklist", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_wide_card": { + "name": "_pages_v_blocks_fd_wide_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "card_background": { + "name": "card_background", + "type": "enum__pages_v_blocks_fd_wide_card_card_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "button_color": { + "name": "button_color", + "type": "enum__pages_v_blocks_fd_wide_card_button_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_wide_card_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_wide_card_order_idx": { + "name": "_pages_v_blocks_fd_wide_card_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_wide_card_parent_id_idx": { + "name": "_pages_v_blocks_fd_wide_card_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_wide_card_path_idx": { + "name": "_pages_v_blocks_fd_wide_card_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_wide_card_image_idx": { + "name": "_pages_v_blocks_fd_wide_card_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_wide_card_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_wide_card_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_wide_card", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_wide_card_parent_id_fk": { + "name": "_pages_v_blocks_fd_wide_card_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_wide_card", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_wide_card_locales": { + "name": "_pages_v_blocks_fd_wide_card_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "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": { + "_pages_v_blocks_fd_wide_card_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_wide_card_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_v_blocks_fd_wide_card_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_wide_card_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_wide_card_locales", + "tableTo": "_pages_v_blocks_fd_wide_card", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_tech_properties_properties": { + "name": "_pages_v_blocks_fd_tech_properties_properties", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_tech_properties_properties_order_idx": { + "name": "_pages_v_blocks_fd_tech_properties_properties_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_tech_properties_properties_parent_id_idx": { + "name": "_pages_v_blocks_fd_tech_properties_properties_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_tech_properties_properties_parent_id_fk": { + "name": "_pages_v_blocks_fd_tech_properties_properties_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_tech_properties_properties", + "tableTo": "_pages_v_blocks_fd_tech_properties", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_tech_properties_properties_locales": { + "name": "_pages_v_blocks_fd_tech_properties_properties_locales", + "schema": "", + "columns": { + "category": { + "name": "category", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "value": { + "name": "value", + "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": { + "_pages_v_blocks_fd_tech_properties_properties_locales_locale": { + "name": "_pages_v_blocks_fd_tech_properties_properties_locales_locale", + "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_v_blocks_fd_tech_properties_properties_locales_par_fk": { + "name": "_pages_v_blocks_fd_tech_properties_properties_locales_par_fk", + "tableFrom": "_pages_v_blocks_fd_tech_properties_properties_locales", + "tableTo": "_pages_v_blocks_fd_tech_properties_properties", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_tech_properties": { + "name": "_pages_v_blocks_fd_tech_properties", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_tech_properties_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "category_color": { + "name": "category_color", + "type": "enum__pages_v_blocks_fd_tech_properties_category_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "value_color": { + "name": "value_color", + "type": "enum__pages_v_blocks_fd_tech_properties_value_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_tech_properties_order_idx": { + "name": "_pages_v_blocks_fd_tech_properties_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_tech_properties_parent_id_idx": { + "name": "_pages_v_blocks_fd_tech_properties_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_tech_properties_path_idx": { + "name": "_pages_v_blocks_fd_tech_properties_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_tech_properties_parent_id_fk": { + "name": "_pages_v_blocks_fd_tech_properties_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_tech_properties", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_table_rows": { + "name": "_pages_v_blocks_fd_usp_table_rows", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_usp_table_rows_order_idx": { + "name": "_pages_v_blocks_fd_usp_table_rows_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_usp_table_rows_parent_id_idx": { + "name": "_pages_v_blocks_fd_usp_table_rows_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_usp_table_rows_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_table_rows_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_table_rows", + "tableTo": "_pages_v_blocks_fd_usp_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_table_rows_locales": { + "name": "_pages_v_blocks_fd_usp_table_rows_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "jsonb", + "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_v_blocks_fd_usp_table_rows_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_usp_table_rows_locales_locale_parent_id_u", + "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_v_blocks_fd_usp_table_rows_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_table_rows_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_table_rows_locales", + "tableTo": "_pages_v_blocks_fd_usp_table_rows", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_table": { + "name": "_pages_v_blocks_fd_usp_table", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "check_color": { + "name": "check_color", + "type": "enum__pages_v_blocks_fd_usp_table_check_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_usp_table_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_usp_table_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_usp_table_order_idx": { + "name": "_pages_v_blocks_fd_usp_table_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_usp_table_parent_id_idx": { + "name": "_pages_v_blocks_fd_usp_table_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_usp_table_path_idx": { + "name": "_pages_v_blocks_fd_usp_table_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_usp_table_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_table_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_table", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_usp_table_locales": { + "name": "_pages_v_blocks_fd_usp_table_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "_pages_v_blocks_fd_usp_table_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_usp_table_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_v_blocks_fd_usp_table_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_usp_table_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_usp_table_locales", + "tableTo": "_pages_v_blocks_fd_usp_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_header_text_image": { + "name": "_pages_v_blocks_fd_header_text_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "image_overlay": { + "name": "image_overlay", + "type": "enum__pages_v_blocks_fd_header_text_image_image_overlay", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "image_rounded": { + "name": "image_rounded", + "type": "enum__pages_v_blocks_fd_header_text_image_image_rounded", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'large'" + }, + "text_align": { + "name": "text_align", + "type": "enum__pages_v_blocks_fd_header_text_image_text_align", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'center'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_header_text_image_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_header_text_image_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_header_text_image_order_idx": { + "name": "_pages_v_blocks_fd_header_text_image_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_header_text_image_parent_id_idx": { + "name": "_pages_v_blocks_fd_header_text_image_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_header_text_image_path_idx": { + "name": "_pages_v_blocks_fd_header_text_image_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_header_text_image_image_idx": { + "name": "_pages_v_blocks_fd_header_text_image_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_header_text_image_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_header_text_image_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_header_text_image", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_header_text_image_parent_id_fk": { + "name": "_pages_v_blocks_fd_header_text_image_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_header_text_image", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_header_text_image_locales": { + "name": "_pages_v_blocks_fd_header_text_image_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "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": { + "_pages_v_blocks_fd_header_text_image_locales_locale_parent_i": { + "name": "_pages_v_blocks_fd_header_text_image_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": { + "_pages_v_blocks_fd_header_text_image_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_header_text_image_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_header_text_image_locales", + "tableTo": "_pages_v_blocks_fd_header_text_image", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_contact_form": { + "name": "_pages_v_blocks_fd_contact_form", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "form_id": { + "name": "form_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_contact_form_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "layout": { + "name": "layout", + "type": "enum__pages_v_blocks_fd_contact_form_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'standard'" + }, + "side_image_id": { + "name": "side_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "external_api_enabled": { + "name": "external_api_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "external_api_endpoint": { + "name": "external_api_endpoint", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "external_api_auth_token": { + "name": "external_api_auth_token", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_contact_form_order_idx": { + "name": "_pages_v_blocks_fd_contact_form_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_form_parent_id_idx": { + "name": "_pages_v_blocks_fd_contact_form_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_form_path_idx": { + "name": "_pages_v_blocks_fd_contact_form_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_form_form_idx": { + "name": "_pages_v_blocks_fd_contact_form_form_idx", + "columns": [ + { + "expression": "form_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_contact_form_side_image_idx": { + "name": "_pages_v_blocks_fd_contact_form_side_image_idx", + "columns": [ + { + "expression": "side_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_contact_form_form_id_forms_id_fk": { + "name": "_pages_v_blocks_fd_contact_form_form_id_forms_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact_form", + "tableTo": "forms", + "columnsFrom": [ + "form_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_contact_form_side_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_contact_form_side_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact_form", + "tableTo": "media", + "columnsFrom": [ + "side_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_contact_form_parent_id_fk": { + "name": "_pages_v_blocks_fd_contact_form_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact_form", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_contact_form_locales": { + "name": "_pages_v_blocks_fd_contact_form_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Prata med vårt team'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Berätta om era mål — vårt team kontaktar er och hjälper er hitta rätt lösning.'" + }, + "submit_text": { + "name": "submit_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Skicka förfrågan'" + }, + "privacy_text": { + "name": "privacy_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Vi använder din kontaktinformation för att svara på din förfrågan och dela detaljer om våra produkter och tjänster. Du kan när som helst avregistrera dig.'" + }, + "privacy_link_text": { + "name": "privacy_link_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'integritetspolicy'" + }, + "privacy_link_url": { + "name": "privacy_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/integritetspolicy'" + }, + "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_v_blocks_fd_contact_form_locales_locale_parent_id_uni": { + "name": "_pages_v_blocks_fd_contact_form_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": { + "_pages_v_blocks_fd_contact_form_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_contact_form_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_contact_form_locales", + "tableTo": "_pages_v_blocks_fd_contact_form", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_locations_grid_cards": { + "name": "_pages_v_blocks_fd_locations_grid_cards", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_locations_grid_cards_order_idx": { + "name": "_pages_v_blocks_fd_locations_grid_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_locations_grid_cards_parent_id_idx": { + "name": "_pages_v_blocks_fd_locations_grid_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_locations_grid_cards_image_idx": { + "name": "_pages_v_blocks_fd_locations_grid_cards_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_locations_grid_cards_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_locations_grid_cards_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_locations_grid_cards", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_locations_grid_cards_parent_id_fk": { + "name": "_pages_v_blocks_fd_locations_grid_cards_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_locations_grid_cards", + "tableTo": "_pages_v_blocks_fd_locations_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_locations_grid_cards_locales": { + "name": "_pages_v_blocks_fd_locations_grid_cards_locales", + "schema": "", + "columns": { + "location_name": { + "name": "location_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "address": { + "name": "address", + "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": { + "_pages_v_blocks_fd_locations_grid_cards_locales_locale_paren": { + "name": "_pages_v_blocks_fd_locations_grid_cards_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": { + "_pages_v_blocks_fd_locations_grid_cards_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_locations_grid_cards_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_locations_grid_cards_locales", + "tableTo": "_pages_v_blocks_fd_locations_grid_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_locations_grid": { + "name": "_pages_v_blocks_fd_locations_grid", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "hover_color": { + "name": "hover_color", + "type": "enum__pages_v_blocks_fd_locations_grid_hover_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_locations_grid_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_locations_grid_order_idx": { + "name": "_pages_v_blocks_fd_locations_grid_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_locations_grid_parent_id_idx": { + "name": "_pages_v_blocks_fd_locations_grid_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_locations_grid_path_idx": { + "name": "_pages_v_blocks_fd_locations_grid_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_locations_grid_parent_id_fk": { + "name": "_pages_v_blocks_fd_locations_grid_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_locations_grid", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_locations_grid_locales": { + "name": "_pages_v_blocks_fd_locations_grid_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "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_v_blocks_fd_locations_grid_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_locations_grid_locales_locale_parent_id_u", + "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_v_blocks_fd_locations_grid_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_locations_grid_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_locations_grid_locales", + "tableTo": "_pages_v_blocks_fd_locations_grid", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_alternate_hero": { + "name": "_pages_v_blocks_fd_alternate_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_alternate_hero_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_alternate_hero_order_idx": { + "name": "_pages_v_blocks_fd_alternate_hero_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_alternate_hero_parent_id_idx": { + "name": "_pages_v_blocks_fd_alternate_hero_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_alternate_hero_path_idx": { + "name": "_pages_v_blocks_fd_alternate_hero_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_alternate_hero_image_idx": { + "name": "_pages_v_blocks_fd_alternate_hero_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_alternate_hero_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_alternate_hero_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_alternate_hero", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_alternate_hero_parent_id_fk": { + "name": "_pages_v_blocks_fd_alternate_hero_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_alternate_hero", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_alternate_hero_locales": { + "name": "_pages_v_blocks_fd_alternate_hero_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "primary_cta_text": { + "name": "primary_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "primary_cta_link": { + "name": "primary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'#'" + }, + "image_caption": { + "name": "image_caption", + "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": { + "_pages_v_blocks_fd_alternate_hero_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_alternate_hero_locales_locale_parent_id_u", + "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_v_blocks_fd_alternate_hero_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_alternate_hero_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_alternate_hero_locales", + "tableTo": "_pages_v_blocks_fd_alternate_hero", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_statistics_stats": { + "name": "_pages_v_blocks_fd_statistics_stats", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_statistics_stats_order_idx": { + "name": "_pages_v_blocks_fd_statistics_stats_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_statistics_stats_parent_id_idx": { + "name": "_pages_v_blocks_fd_statistics_stats_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_statistics_stats_parent_id_fk": { + "name": "_pages_v_blocks_fd_statistics_stats_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_statistics_stats", + "tableTo": "_pages_v_blocks_fd_statistics", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_statistics_stats_locales": { + "name": "_pages_v_blocks_fd_statistics_stats_locales", + "schema": "", + "columns": { + "number": { + "name": "number", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "label": { + "name": "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": { + "_pages_v_blocks_fd_statistics_stats_locales_locale_parent_id": { + "name": "_pages_v_blocks_fd_statistics_stats_locales_locale_parent_id", + "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_v_blocks_fd_statistics_stats_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_statistics_stats_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_statistics_stats_locales", + "tableTo": "_pages_v_blocks_fd_statistics_stats", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_statistics": { + "name": "_pages_v_blocks_fd_statistics", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_statistics_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "number_color": { + "name": "number_color", + "type": "enum__pages_v_blocks_fd_statistics_number_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gradient'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_statistics_order_idx": { + "name": "_pages_v_blocks_fd_statistics_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_statistics_parent_id_idx": { + "name": "_pages_v_blocks_fd_statistics_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_statistics_path_idx": { + "name": "_pages_v_blocks_fd_statistics_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_statistics_parent_id_fk": { + "name": "_pages_v_blocks_fd_statistics_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_statistics", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_statistics_locales": { + "name": "_pages_v_blocks_fd_statistics_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "_pages_v_blocks_fd_statistics_locales_locale_parent_id_uniqu": { + "name": "_pages_v_blocks_fd_statistics_locales_locale_parent_id_uniqu", + "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_v_blocks_fd_statistics_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_statistics_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_statistics_locales", + "tableTo": "_pages_v_blocks_fd_statistics", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_partners_logos_logos": { + "name": "_pages_v_blocks_fd_partners_logos_logos", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_partners_logos_logos_order_idx": { + "name": "_pages_v_blocks_fd_partners_logos_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_partners_logos_logos_parent_id_idx": { + "name": "_pages_v_blocks_fd_partners_logos_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_partners_logos_logos_image_idx": { + "name": "_pages_v_blocks_fd_partners_logos_logos_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_partners_logos_logos_image_id_media_id_fk": { + "name": "_pages_v_blocks_fd_partners_logos_logos_image_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_partners_logos_logos", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_partners_logos_logos_parent_id_fk": { + "name": "_pages_v_blocks_fd_partners_logos_logos_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_partners_logos_logos", + "tableTo": "_pages_v_blocks_fd_partners_logos", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_partners_logos_logos_locales": { + "name": "_pages_v_blocks_fd_partners_logos_logos_locales", + "schema": "", + "columns": { + "alt": { + "name": "alt", + "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": { + "_pages_v_blocks_fd_partners_logos_logos_locales_locale_paren": { + "name": "_pages_v_blocks_fd_partners_logos_logos_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": { + "_pages_v_blocks_fd_partners_logos_logos_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_partners_logos_logos_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_partners_logos_logos_locales", + "tableTo": "_pages_v_blocks_fd_partners_logos_logos", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_partners_logos": { + "name": "_pages_v_blocks_fd_partners_logos", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "display_mode": { + "name": "display_mode", + "type": "enum__pages_v_blocks_fd_partners_logos_display_mode", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'color'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_partners_logos_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_partners_logos_order_idx": { + "name": "_pages_v_blocks_fd_partners_logos_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_partners_logos_parent_id_idx": { + "name": "_pages_v_blocks_fd_partners_logos_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_partners_logos_path_idx": { + "name": "_pages_v_blocks_fd_partners_logos_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_partners_logos_parent_id_fk": { + "name": "_pages_v_blocks_fd_partners_logos_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_partners_logos", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_partners_logos_locales": { + "name": "_pages_v_blocks_fd_partners_logos_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Våra partners'" + }, + "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_v_blocks_fd_partners_logos_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_partners_logos_locales_locale_parent_id_u", + "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_v_blocks_fd_partners_logos_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_partners_logos_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_partners_logos_locales", + "tableTo": "_pages_v_blocks_fd_partners_logos", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_newsletter": { + "name": "_pages_v_blocks_fd_newsletter", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "submit_endpoint": { + "name": "submit_endpoint", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "privacy_policy_link": { + "name": "privacy_policy_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/integritetspolicy'" + }, + "collect_name": { + "name": "collect_name", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "collect_company": { + "name": "collect_company", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "layout": { + "name": "layout", + "type": "enum__pages_v_blocks_fd_newsletter_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'inline'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_newsletter_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_newsletter_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_newsletter_order_idx": { + "name": "_pages_v_blocks_fd_newsletter_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_newsletter_parent_id_idx": { + "name": "_pages_v_blocks_fd_newsletter_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_newsletter_path_idx": { + "name": "_pages_v_blocks_fd_newsletter_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_newsletter_parent_id_fk": { + "name": "_pages_v_blocks_fd_newsletter_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_newsletter", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_newsletter_locales": { + "name": "_pages_v_blocks_fd_newsletter_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Håll dig uppdaterad'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Prenumerera på vårt nyhetsbrev för att få de senaste nyheterna om fiber, cloud och IT-infrastruktur.'" + }, + "button_text": { + "name": "button_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Prenumerera'" + }, + "success_message": { + "name": "success_message", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Tack! Du är nu prenumerant.'" + }, + "consent_text": { + "name": "consent_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Jag godkänner att mina uppgifter används enligt vår integritetspolicy.'" + }, + "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_v_blocks_fd_newsletter_locales_locale_parent_id_uniqu": { + "name": "_pages_v_blocks_fd_newsletter_locales_locale_parent_id_uniqu", + "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_v_blocks_fd_newsletter_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_newsletter_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_newsletter_locales", + "tableTo": "_pages_v_blocks_fd_newsletter", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_chooser_categories_services": { + "name": "_pages_v_blocks_fd_service_chooser_categories_services", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_chooser_categories_services_order_idx": { + "name": "_pages_v_blocks_fd_service_chooser_categories_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_chooser_categories_services_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_chooser_categories_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_chooser_categories_services_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_chooser_categories_services_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_chooser_categories_services", + "tableTo": "_pages_v_blocks_fd_service_chooser_categories", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_chooser_categories_services_locales": { + "name": "_pages_v_blocks_fd_service_chooser_categories_services_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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_blocks_fd_service_chooser_categories_services_local": { + "name": "_pages_v_blocks_fd_service_chooser_categories_services_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": { + "_pages_v_blocks_fd_service_chooser_categories_services_lo_fk": { + "name": "_pages_v_blocks_fd_service_chooser_categories_services_lo_fk", + "tableFrom": "_pages_v_blocks_fd_service_chooser_categories_services_locales", + "tableTo": "_pages_v_blocks_fd_service_chooser_categories_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_chooser_categories": { + "name": "_pages_v_blocks_fd_service_chooser_categories", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_chooser_categories_order_idx": { + "name": "_pages_v_blocks_fd_service_chooser_categories_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_chooser_categories_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_chooser_categories_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_chooser_categories_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_chooser_categories_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_chooser_categories", + "tableTo": "_pages_v_blocks_fd_service_chooser", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_chooser_categories_locales": { + "name": "_pages_v_blocks_fd_service_chooser_categories_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "intro": { + "name": "intro", + "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": { + "_pages_v_blocks_fd_service_chooser_categories_locales_locale": { + "name": "_pages_v_blocks_fd_service_chooser_categories_locales_locale", + "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_v_blocks_fd_service_chooser_categories_locales_par_fk": { + "name": "_pages_v_blocks_fd_service_chooser_categories_locales_par_fk", + "tableFrom": "_pages_v_blocks_fd_service_chooser_categories_locales", + "tableTo": "_pages_v_blocks_fd_service_chooser_categories", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_chooser": { + "name": "_pages_v_blocks_fd_service_chooser", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_service_chooser_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_chooser_order_idx": { + "name": "_pages_v_blocks_fd_service_chooser_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_chooser_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_chooser_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_chooser_path_idx": { + "name": "_pages_v_blocks_fd_service_chooser_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_chooser_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_chooser_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_chooser", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_chooser_locales": { + "name": "_pages_v_blocks_fd_service_chooser_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Välj din bransch'" + }, + "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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_blocks_fd_service_chooser_locales_locale_parent_id_": { + "name": "_pages_v_blocks_fd_service_chooser_locales_locale_parent_id_", + "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_v_blocks_fd_service_chooser_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_chooser_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_chooser_locales", + "tableTo": "_pages_v_blocks_fd_service_chooser", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_data_table_headers": { + "name": "_pages_v_blocks_fd_data_table_headers", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_data_table_headers_order_idx": { + "name": "_pages_v_blocks_fd_data_table_headers_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_data_table_headers_parent_id_idx": { + "name": "_pages_v_blocks_fd_data_table_headers_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_data_table_headers_parent_id_fk": { + "name": "_pages_v_blocks_fd_data_table_headers_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_data_table_headers", + "tableTo": "_pages_v_blocks_fd_data_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_data_table_headers_locales": { + "name": "_pages_v_blocks_fd_data_table_headers_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "_pages_v_blocks_fd_data_table_headers_locales_locale_parent_": { + "name": "_pages_v_blocks_fd_data_table_headers_locales_locale_parent_", + "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_v_blocks_fd_data_table_headers_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_data_table_headers_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_data_table_headers_locales", + "tableTo": "_pages_v_blocks_fd_data_table_headers", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_data_table_rows": { + "name": "_pages_v_blocks_fd_data_table_rows", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_data_table_rows_order_idx": { + "name": "_pages_v_blocks_fd_data_table_rows_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_data_table_rows_parent_id_idx": { + "name": "_pages_v_blocks_fd_data_table_rows_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_data_table_rows_parent_id_fk": { + "name": "_pages_v_blocks_fd_data_table_rows_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_data_table_rows", + "tableTo": "_pages_v_blocks_fd_data_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_data_table_rows_locales": { + "name": "_pages_v_blocks_fd_data_table_rows_locales", + "schema": "", + "columns": { + "cells": { + "name": "cells", + "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": { + "_pages_v_blocks_fd_data_table_rows_locales_locale_parent_id_": { + "name": "_pages_v_blocks_fd_data_table_rows_locales_locale_parent_id_", + "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_v_blocks_fd_data_table_rows_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_data_table_rows_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_data_table_rows_locales", + "tableTo": "_pages_v_blocks_fd_data_table_rows", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_data_table": { + "name": "_pages_v_blocks_fd_data_table", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "data_source": { + "name": "data_source", + "type": "enum__pages_v_blocks_fd_data_table_data_source", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'upload'" + }, + "file_id": { + "name": "file_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_data_table_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "header_style": { + "name": "header_style", + "type": "enum__pages_v_blocks_fd_data_table_header_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "stripe_rows": { + "name": "stripe_rows", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "bordered": { + "name": "bordered", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "first_column_bold": { + "name": "first_column_bold", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_data_table_order_idx": { + "name": "_pages_v_blocks_fd_data_table_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_data_table_parent_id_idx": { + "name": "_pages_v_blocks_fd_data_table_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_data_table_path_idx": { + "name": "_pages_v_blocks_fd_data_table_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_data_table_file_idx": { + "name": "_pages_v_blocks_fd_data_table_file_idx", + "columns": [ + { + "expression": "file_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_data_table_file_id_media_id_fk": { + "name": "_pages_v_blocks_fd_data_table_file_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_data_table", + "tableTo": "media", + "columnsFrom": [ + "file_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_data_table_parent_id_fk": { + "name": "_pages_v_blocks_fd_data_table_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_data_table", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_data_table_locales": { + "name": "_pages_v_blocks_fd_data_table_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_blocks_fd_data_table_locales_locale_parent_id_uniqu": { + "name": "_pages_v_blocks_fd_data_table_locales_locale_parent_id_uniqu", + "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_v_blocks_fd_data_table_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_data_table_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_data_table_locales", + "tableTo": "_pages_v_blocks_fd_data_table", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_vps_calculator_additional_services": { + "name": "_pages_v_blocks_fd_vps_calculator_additional_services", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_vps_calculator_additional_services_order_idx": { + "name": "_pages_v_blocks_fd_vps_calculator_additional_services_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_vps_calculator_additional_services_parent_id_idx": { + "name": "_pages_v_blocks_fd_vps_calculator_additional_services_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_vps_calculator_additional_services_parent_id_fk": { + "name": "_pages_v_blocks_fd_vps_calculator_additional_services_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_vps_calculator_additional_services", + "tableTo": "_pages_v_blocks_fd_vps_calculator", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_vps_calculator_additional_services_locales": { + "name": "_pages_v_blocks_fd_vps_calculator_additional_services_locales", + "schema": "", + "columns": { + "label": { + "name": "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": { + "_pages_v_blocks_fd_vps_calculator_additional_services_locale": { + "name": "_pages_v_blocks_fd_vps_calculator_additional_services_locale", + "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_v_blocks_fd_vps_calculator_additional_services_loc_fk": { + "name": "_pages_v_blocks_fd_vps_calculator_additional_services_loc_fk", + "tableFrom": "_pages_v_blocks_fd_vps_calculator_additional_services_locales", + "tableTo": "_pages_v_blocks_fd_vps_calculator_additional_services", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_vps_calculator": { + "name": "_pages_v_blocks_fd_vps_calculator", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order_cta_link": { + "name": "order_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt?subject=vps-bestallning'" + }, + "contact_cta_link": { + "name": "contact_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_vps_calculator_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "pricing_cpu_per_core": { + "name": "pricing_cpu_per_core", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 120 + }, + "pricing_ram_per_gb": { + "name": "pricing_ram_per_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 100 + }, + "pricing_ssd_per_gb": { + "name": "pricing_ssd_per_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 4 + }, + "pricing_hdd_per_gb": { + "name": "pricing_hdd_per_gb", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + }, + "pricing_windows_license": { + "name": "pricing_windows_license", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 250 + }, + "discount_percent": { + "name": "discount_percent", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "show_admin_fee": { + "name": "show_admin_fee", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "admin_fee_amount": { + "name": "admin_fee_amount", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 200 + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_vps_calculator_order_idx": { + "name": "_pages_v_blocks_fd_vps_calculator_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_vps_calculator_parent_id_idx": { + "name": "_pages_v_blocks_fd_vps_calculator_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_vps_calculator_path_idx": { + "name": "_pages_v_blocks_fd_vps_calculator_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_vps_calculator_parent_id_fk": { + "name": "_pages_v_blocks_fd_vps_calculator_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_vps_calculator", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_vps_calculator_locales": { + "name": "_pages_v_blocks_fd_vps_calculator_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Virtuell server — kalkylator'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "order_cta_text": { + "name": "order_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Beställ'" + }, + "contact_cta_text": { + "name": "contact_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Frågor? Kontakta oss'" + }, + "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_v_blocks_fd_vps_calculator_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_vps_calculator_locales_locale_parent_id_u", + "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_v_blocks_fd_vps_calculator_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_vps_calculator_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_vps_calculator_locales", + "tableTo": "_pages_v_blocks_fd_vps_calculator", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_option_groups_options": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_options", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_calc_option_groups_options_order_idx": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_options_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_calc_option_groups_options_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_options_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_calc_option_groups_options_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_options_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_option_groups_options", + "tableTo": "_pages_v_blocks_fd_service_calc_option_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_option_groups_options_locales": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_options_locales", + "schema": "", + "columns": { + "label": { + "name": "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": { + "_pages_v_blocks_fd_service_calc_option_groups_options_locale": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_options_locale", + "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_v_blocks_fd_service_calc_option_groups_options_loc_fk": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_options_loc_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_option_groups_options_locales", + "tableTo": "_pages_v_blocks_fd_service_calc_option_groups_options", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_option_groups": { + "name": "_pages_v_blocks_fd_service_calc_option_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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_calc_option_groups_order_idx": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_calc_option_groups_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_calc_option_groups_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_option_groups", + "tableTo": "_pages_v_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_option_groups_locales": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_locales", + "schema": "", + "columns": { + "group_label": { + "name": "group_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": { + "_pages_v_blocks_fd_service_calc_option_groups_locales_locale": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_locales_locale", + "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_v_blocks_fd_service_calc_option_groups_locales_par_fk": { + "name": "_pages_v_blocks_fd_service_calc_option_groups_locales_par_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_option_groups_locales", + "tableTo": "_pages_v_blocks_fd_service_calc_option_groups", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_resources": { + "name": "_pages_v_blocks_fd_service_calc_resources", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "price_per_unit": { + "name": "price_per_unit", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "default_value": { + "name": "default_value", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "min": { + "name": "min", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 0 + }, + "max": { + "name": "max", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1000 + }, + "step": { + "name": "step", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 1 + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_calc_resources_order_idx": { + "name": "_pages_v_blocks_fd_service_calc_resources_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_calc_resources_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_calc_resources_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_calc_resources_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_resources_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_resources", + "tableTo": "_pages_v_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_resources_locales": { + "name": "_pages_v_blocks_fd_service_calc_resources_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "unit": { + "name": "unit", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'GB'" + }, + "summary_template": { + "name": "summary_template", + "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": { + "_pages_v_blocks_fd_service_calc_resources_locales_locale_par": { + "name": "_pages_v_blocks_fd_service_calc_resources_locales_locale_par", + "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_v_blocks_fd_service_calc_resources_locales_parent__fk": { + "name": "_pages_v_blocks_fd_service_calc_resources_locales_parent__fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_resources_locales", + "tableTo": "_pages_v_blocks_fd_service_calc_resources", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_addons": { + "name": "_pages_v_blocks_fd_service_calc_addons", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "price": { + "name": "price", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_calc_addons_order_idx": { + "name": "_pages_v_blocks_fd_service_calc_addons_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_calc_addons_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_calc_addons_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_calc_addons_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_addons_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_addons", + "tableTo": "_pages_v_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_addons_locales": { + "name": "_pages_v_blocks_fd_service_calc_addons_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_blocks_fd_service_calc_addons_locales_locale_parent": { + "name": "_pages_v_blocks_fd_service_calc_addons_locales_locale_parent", + "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_v_blocks_fd_service_calc_addons_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_addons_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_addons_locales", + "tableTo": "_pages_v_blocks_fd_service_calc_addons", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_fixed_fees": { + "name": "_pages_v_blocks_fd_service_calc_fixed_fees", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "amount": { + "name": "amount", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_calc_fixed_fees_order_idx": { + "name": "_pages_v_blocks_fd_service_calc_fixed_fees_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_calc_fixed_fees_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_calc_fixed_fees_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_calc_fixed_fees_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_fixed_fees_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_fixed_fees", + "tableTo": "_pages_v_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_fixed_fees_locales": { + "name": "_pages_v_blocks_fd_service_calc_fixed_fees_locales", + "schema": "", + "columns": { + "label": { + "name": "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": { + "_pages_v_blocks_fd_service_calc_fixed_fees_locales_locale_pa": { + "name": "_pages_v_blocks_fd_service_calc_fixed_fees_locales_locale_pa", + "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_v_blocks_fd_service_calc_fixed_fees_locales_parent_fk": { + "name": "_pages_v_blocks_fd_service_calc_fixed_fees_locales_parent_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_fixed_fees_locales", + "tableTo": "_pages_v_blocks_fd_service_calc_fixed_fees", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc": { + "name": "_pages_v_blocks_fd_service_calc", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "order_cta_link": { + "name": "order_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "contact_cta_link": { + "name": "contact_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_service_calc_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "discount_percent": { + "name": "discount_percent", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_service_calc_order_idx": { + "name": "_pages_v_blocks_fd_service_calc_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_calc_parent_id_idx": { + "name": "_pages_v_blocks_fd_service_calc_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_service_calc_path_idx": { + "name": "_pages_v_blocks_fd_service_calc_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_service_calc_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_service_calc_locales": { + "name": "_pages_v_blocks_fd_service_calc_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Beräkna din kostnad'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "summary_heading": { + "name": "summary_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kostnadsöversikt'" + }, + "total_label": { + "name": "total_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Totalt per månad'" + }, + "total_suffix": { + "name": "total_suffix", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'exkl. moms'" + }, + "order_cta_text": { + "name": "order_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Beställ'" + }, + "contact_cta_text": { + "name": "contact_cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Frågor? Kontakta oss'" + }, + "discount_label": { + "name": "discount_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": { + "_pages_v_blocks_fd_service_calc_locales_locale_parent_id_uni": { + "name": "_pages_v_blocks_fd_service_calc_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": { + "_pages_v_blocks_fd_service_calc_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_service_calc_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_service_calc_locales", + "tableTo": "_pages_v_blocks_fd_service_calc", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_tags_tags": { + "name": "_pages_v_blocks_fd_tags_tags", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "link": { + "name": "link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_tags_tags_order_idx": { + "name": "_pages_v_blocks_fd_tags_tags_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_tags_tags_parent_id_idx": { + "name": "_pages_v_blocks_fd_tags_tags_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_tags_tags_parent_id_fk": { + "name": "_pages_v_blocks_fd_tags_tags_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_tags_tags", + "tableTo": "_pages_v_blocks_fd_tags", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_tags_tags_locales": { + "name": "_pages_v_blocks_fd_tags_tags_locales", + "schema": "", + "columns": { + "text": { + "name": "text", + "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": { + "_pages_v_blocks_fd_tags_tags_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_tags_tags_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_v_blocks_fd_tags_tags_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_tags_tags_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_tags_tags_locales", + "tableTo": "_pages_v_blocks_fd_tags_tags", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_tags": { + "name": "_pages_v_blocks_fd_tags", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "tag_style": { + "name": "tag_style", + "type": "enum__pages_v_blocks_fd_tags_tag_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "tag_size": { + "name": "tag_size", + "type": "enum__pages_v_blocks_fd_tags_tag_size", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'large'" + }, + "alignment": { + "name": "alignment", + "type": "enum__pages_v_blocks_fd_tags_alignment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'left'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_tags_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_tags_order_idx": { + "name": "_pages_v_blocks_fd_tags_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_tags_parent_id_idx": { + "name": "_pages_v_blocks_fd_tags_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_tags_path_idx": { + "name": "_pages_v_blocks_fd_tags_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_tags_parent_id_fk": { + "name": "_pages_v_blocks_fd_tags_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_tags", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_tags_locales": { + "name": "_pages_v_blocks_fd_tags_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "_pages_v_blocks_fd_tags_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_tags_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_v_blocks_fd_tags_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_tags_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_tags_locales", + "tableTo": "_pages_v_blocks_fd_tags", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_text": { + "name": "_pages_v_blocks_fd_text", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "alignment": { + "name": "alignment", + "type": "enum__pages_v_blocks_fd_text_alignment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'left'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_text_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_text_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "max_width": { + "name": "max_width", + "type": "enum__pages_v_blocks_fd_text_max_width", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'wide'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_text_order_idx": { + "name": "_pages_v_blocks_fd_text_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_text_parent_id_idx": { + "name": "_pages_v_blocks_fd_text_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_text_path_idx": { + "name": "_pages_v_blocks_fd_text_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_text_parent_id_fk": { + "name": "_pages_v_blocks_fd_text_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_text", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_text_locales": { + "name": "_pages_v_blocks_fd_text_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "jsonb", + "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_v_blocks_fd_text_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_text_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_v_blocks_fd_text_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_text_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_text_locales", + "tableTo": "_pages_v_blocks_fd_text", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_code_embed": { + "name": "_pages_v_blocks_fd_code_embed", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "embed_type": { + "name": "embed_type", + "type": "enum__pages_v_blocks_fd_code_embed_embed_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'iframe'" + }, + "iframe_src": { + "name": "iframe_src", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "iframe_height": { + "name": "iframe_height", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'600px'" + }, + "iframe_allow": { + "name": "iframe_allow", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "custom_code": { + "name": "custom_code", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sandboxed": { + "name": "sandboxed", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "max_width": { + "name": "max_width", + "type": "enum__pages_v_blocks_fd_code_embed_max_width", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_code_embed_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_code_embed_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "embed_background": { + "name": "embed_background", + "type": "enum__pages_v_blocks_fd_code_embed_embed_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'none'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_code_embed_order_idx": { + "name": "_pages_v_blocks_fd_code_embed_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_code_embed_parent_id_idx": { + "name": "_pages_v_blocks_fd_code_embed_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_code_embed_path_idx": { + "name": "_pages_v_blocks_fd_code_embed_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_code_embed_parent_id_fk": { + "name": "_pages_v_blocks_fd_code_embed_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_code_embed", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_code_embed_locales": { + "name": "_pages_v_blocks_fd_code_embed_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "iframe_title": { + "name": "iframe_title", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Inbäddat formulär'" + }, + "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_v_blocks_fd_code_embed_locales_locale_parent_id_uniqu": { + "name": "_pages_v_blocks_fd_code_embed_locales_locale_parent_id_uniqu", + "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_v_blocks_fd_code_embed_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_code_embed_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_code_embed_locales", + "tableTo": "_pages_v_blocks_fd_code_embed", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_video": { + "name": "_pages_v_blocks_fd_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "video_source": { + "name": "video_source", + "type": "enum__pages_v_blocks_fd_video_video_source", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'upload'" + }, + "video_file_id": { + "name": "video_file_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "youtube_url": { + "name": "youtube_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "vimeo_url": { + "name": "vimeo_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "thumbnail_id": { + "name": "thumbnail_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "aspect_ratio": { + "name": "aspect_ratio", + "type": "enum__pages_v_blocks_fd_video_aspect_ratio", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'16/9'" + }, + "autoplay": { + "name": "autoplay", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "loop": { + "name": "loop", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "max_width": { + "name": "max_width", + "type": "enum__pages_v_blocks_fd_video_max_width", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'default'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_video_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "text_color": { + "name": "text_color", + "type": "enum__pages_v_blocks_fd_video_text_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'auto'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_video_order_idx": { + "name": "_pages_v_blocks_fd_video_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_video_parent_id_idx": { + "name": "_pages_v_blocks_fd_video_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_video_path_idx": { + "name": "_pages_v_blocks_fd_video_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_video_video_file_idx": { + "name": "_pages_v_blocks_fd_video_video_file_idx", + "columns": [ + { + "expression": "video_file_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_video_thumbnail_idx": { + "name": "_pages_v_blocks_fd_video_thumbnail_idx", + "columns": [ + { + "expression": "thumbnail_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_video_video_file_id_media_id_fk": { + "name": "_pages_v_blocks_fd_video_video_file_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_video", + "tableTo": "media", + "columnsFrom": [ + "video_file_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_video_thumbnail_id_media_id_fk": { + "name": "_pages_v_blocks_fd_video_thumbnail_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_video", + "tableTo": "media", + "columnsFrom": [ + "thumbnail_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_video_parent_id_fk": { + "name": "_pages_v_blocks_fd_video_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_video", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_video_locales": { + "name": "_pages_v_blocks_fd_video_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_blocks_fd_video_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_video_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_v_blocks_fd_video_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_video_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_video_locales", + "tableTo": "_pages_v_blocks_fd_video", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_cta_banner": { + "name": "_pages_v_blocks_fd_cta_banner", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_cta_banner_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "alignment": { + "name": "alignment", + "type": "enum__pages_v_blocks_fd_cta_banner_alignment", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'center'" + }, + "size": { + "name": "size", + "type": "enum__pages_v_blocks_fd_cta_banner_size", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'medium'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_cta_banner_order_idx": { + "name": "_pages_v_blocks_fd_cta_banner_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_cta_banner_parent_id_idx": { + "name": "_pages_v_blocks_fd_cta_banner_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_cta_banner_path_idx": { + "name": "_pages_v_blocks_fd_cta_banner_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_cta_banner_parent_id_fk": { + "name": "_pages_v_blocks_fd_cta_banner_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_cta_banner", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_cta_banner_locales": { + "name": "_pages_v_blocks_fd_cta_banner_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Redo att komma igång?'" + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kontakta oss'" + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "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": { + "_pages_v_blocks_fd_cta_banner_locales_locale_parent_id_uniqu": { + "name": "_pages_v_blocks_fd_cta_banner_locales_locale_parent_id_uniqu", + "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_v_blocks_fd_cta_banner_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_cta_banner_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_cta_banner_locales", + "tableTo": "_pages_v_blocks_fd_cta_banner", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_testimonial_testimonials": { + "name": "_pages_v_blocks_fd_testimonial_testimonials", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "author_company": { + "name": "author_company", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "avatar_id": { + "name": "avatar_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_testimonial_testimonials_order_idx": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_testimonial_testimonials_parent_id_idx": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_testimonial_testimonials_avatar_idx": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_avatar_idx", + "columns": [ + { + "expression": "avatar_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_testimonial_testimonials_avatar_id_media_id_fk": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_avatar_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_testimonial_testimonials", + "tableTo": "media", + "columnsFrom": [ + "avatar_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_testimonial_testimonials_parent_id_fk": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_testimonial_testimonials", + "tableTo": "_pages_v_blocks_fd_testimonial", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_testimonial_testimonials_locales": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_locales", + "schema": "", + "columns": { + "quote": { + "name": "quote", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "author_name": { + "name": "author_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "author_role": { + "name": "author_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": { + "_pages_v_blocks_fd_testimonial_testimonials_locales_locale_p": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_locales_locale_p", + "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_v_blocks_fd_testimonial_testimonials_locales_paren_fk": { + "name": "_pages_v_blocks_fd_testimonial_testimonials_locales_paren_fk", + "tableFrom": "_pages_v_blocks_fd_testimonial_testimonials_locales", + "tableTo": "_pages_v_blocks_fd_testimonial_testimonials", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_testimonial": { + "name": "_pages_v_blocks_fd_testimonial", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "layout": { + "name": "layout", + "type": "enum__pages_v_blocks_fd_testimonial_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'grid'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_testimonial_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'gray'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_testimonial_order_idx": { + "name": "_pages_v_blocks_fd_testimonial_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_testimonial_parent_id_idx": { + "name": "_pages_v_blocks_fd_testimonial_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_testimonial_path_idx": { + "name": "_pages_v_blocks_fd_testimonial_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_testimonial_parent_id_fk": { + "name": "_pages_v_blocks_fd_testimonial_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_testimonial", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_testimonial_locales": { + "name": "_pages_v_blocks_fd_testimonial_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": { + "_pages_v_blocks_fd_testimonial_locales_locale_parent_id_uniq": { + "name": "_pages_v_blocks_fd_testimonial_locales_locale_parent_id_uniq", + "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_v_blocks_fd_testimonial_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_testimonial_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_testimonial_locales", + "tableTo": "_pages_v_blocks_fd_testimonial", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_team_members": { + "name": "_pages_v_blocks_fd_team_members", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "photo_id": { + "name": "photo_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "email": { + "name": "email", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "linkedin": { + "name": "linkedin", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_team_members_order_idx": { + "name": "_pages_v_blocks_fd_team_members_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_team_members_parent_id_idx": { + "name": "_pages_v_blocks_fd_team_members_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_team_members_photo_idx": { + "name": "_pages_v_blocks_fd_team_members_photo_idx", + "columns": [ + { + "expression": "photo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_team_members_photo_id_media_id_fk": { + "name": "_pages_v_blocks_fd_team_members_photo_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_team_members", + "tableTo": "media", + "columnsFrom": [ + "photo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_team_members_parent_id_fk": { + "name": "_pages_v_blocks_fd_team_members_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_team_members", + "tableTo": "_pages_v_blocks_fd_team", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_team_members_locales": { + "name": "_pages_v_blocks_fd_team_members_locales", + "schema": "", + "columns": { + "role": { + "name": "role", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "bio": { + "name": "bio", + "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": { + "_pages_v_blocks_fd_team_members_locales_locale_parent_id_uni": { + "name": "_pages_v_blocks_fd_team_members_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": { + "_pages_v_blocks_fd_team_members_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_team_members_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_team_members_locales", + "tableTo": "_pages_v_blocks_fd_team_members", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_team": { + "name": "_pages_v_blocks_fd_team", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "columns": { + "name": "columns", + "type": "enum__pages_v_blocks_fd_team_columns", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'3'" + }, + "card_style": { + "name": "card_style", + "type": "enum__pages_v_blocks_fd_team_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_team_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_team_order_idx": { + "name": "_pages_v_blocks_fd_team_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_team_parent_id_idx": { + "name": "_pages_v_blocks_fd_team_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_team_path_idx": { + "name": "_pages_v_blocks_fd_team_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_team_parent_id_fk": { + "name": "_pages_v_blocks_fd_team_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_team", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_team_locales": { + "name": "_pages_v_blocks_fd_team_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "subheading": { + "name": "subheading", + "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": { + "_pages_v_blocks_fd_team_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_team_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_v_blocks_fd_team_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_team_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_team_locales", + "tableTo": "_pages_v_blocks_fd_team", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_link_cards_cards": { + "name": "_pages_v_blocks_fd_link_cards_cards", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_icon_id": { + "name": "link_icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_link_cards_cards_order_idx": { + "name": "_pages_v_blocks_fd_link_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_link_cards_cards_parent_id_idx": { + "name": "_pages_v_blocks_fd_link_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_link_cards_cards_link_icon_idx": { + "name": "_pages_v_blocks_fd_link_cards_cards_link_icon_idx", + "columns": [ + { + "expression": "link_icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_link_cards_cards_link_icon_id_media_id_fk": { + "name": "_pages_v_blocks_fd_link_cards_cards_link_icon_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_link_cards_cards", + "tableTo": "media", + "columnsFrom": [ + "link_icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_link_cards_cards_parent_id_fk": { + "name": "_pages_v_blocks_fd_link_cards_cards_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_link_cards_cards", + "tableTo": "_pages_v_blocks_fd_link_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_link_cards_cards_locales": { + "name": "_pages_v_blocks_fd_link_cards_cards_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "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": { + "_pages_v_blocks_fd_link_cards_cards_locales_locale_parent_id": { + "name": "_pages_v_blocks_fd_link_cards_cards_locales_locale_parent_id", + "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_v_blocks_fd_link_cards_cards_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_link_cards_cards_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_link_cards_cards_locales", + "tableTo": "_pages_v_blocks_fd_link_cards_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_link_cards": { + "name": "_pages_v_blocks_fd_link_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "icon_id": { + "name": "icon_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "columns": { + "name": "columns", + "type": "enum__pages_v_blocks_fd_link_cards_columns", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'3'" + }, + "card_style": { + "name": "card_style", + "type": "enum__pages_v_blocks_fd_link_cards_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_link_cards_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_link_cards_order_idx": { + "name": "_pages_v_blocks_fd_link_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_link_cards_parent_id_idx": { + "name": "_pages_v_blocks_fd_link_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_link_cards_path_idx": { + "name": "_pages_v_blocks_fd_link_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_link_cards_icon_idx": { + "name": "_pages_v_blocks_fd_link_cards_icon_idx", + "columns": [ + { + "expression": "icon_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_link_cards_icon_id_media_id_fk": { + "name": "_pages_v_blocks_fd_link_cards_icon_id_media_id_fk", + "tableFrom": "_pages_v_blocks_fd_link_cards", + "tableTo": "media", + "columnsFrom": [ + "icon_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_blocks_fd_link_cards_parent_id_fk": { + "name": "_pages_v_blocks_fd_link_cards_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_link_cards", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_link_cards_locales": { + "name": "_pages_v_blocks_fd_link_cards_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_blocks_fd_link_cards_locales_locale_parent_id_uniqu": { + "name": "_pages_v_blocks_fd_link_cards_locales_locale_parent_id_uniqu", + "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_v_blocks_fd_link_cards_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_link_cards_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_link_cards_locales", + "tableTo": "_pages_v_blocks_fd_link_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_spec_cards_cards": { + "name": "_pages_v_blocks_fd_spec_cards_cards", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_spec_cards_cards_order_idx": { + "name": "_pages_v_blocks_fd_spec_cards_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_spec_cards_cards_parent_id_idx": { + "name": "_pages_v_blocks_fd_spec_cards_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_spec_cards_cards_parent_id_fk": { + "name": "_pages_v_blocks_fd_spec_cards_cards_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_spec_cards_cards", + "tableTo": "_pages_v_blocks_fd_spec_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_spec_cards_cards_locales": { + "name": "_pages_v_blocks_fd_spec_cards_cards_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "spec_label": { + "name": "spec_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "spec_value": { + "name": "spec_value", + "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": { + "_pages_v_blocks_fd_spec_cards_cards_locales_locale_parent_id": { + "name": "_pages_v_blocks_fd_spec_cards_cards_locales_locale_parent_id", + "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_v_blocks_fd_spec_cards_cards_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_spec_cards_cards_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_spec_cards_cards_locales", + "tableTo": "_pages_v_blocks_fd_spec_cards_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_spec_cards": { + "name": "_pages_v_blocks_fd_spec_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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "secondary_cta_link": { + "name": "secondary_cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "layout": { + "name": "layout", + "type": "enum__pages_v_blocks_fd_spec_cards_layout", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'sideBySide'" + }, + "card_style": { + "name": "card_style", + "type": "enum__pages_v_blocks_fd_spec_cards_card_style", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'outlined'" + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_spec_cards_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_spec_cards_order_idx": { + "name": "_pages_v_blocks_fd_spec_cards_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_spec_cards_parent_id_idx": { + "name": "_pages_v_blocks_fd_spec_cards_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_spec_cards_path_idx": { + "name": "_pages_v_blocks_fd_spec_cards_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_spec_cards_parent_id_fk": { + "name": "_pages_v_blocks_fd_spec_cards_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_spec_cards", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_spec_cards_locales": { + "name": "_pages_v_blocks_fd_spec_cards_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "secondary_cta_text": { + "name": "secondary_cta_text", + "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": { + "_pages_v_blocks_fd_spec_cards_locales_locale_parent_id_uniqu": { + "name": "_pages_v_blocks_fd_spec_cards_locales_locale_parent_id_uniqu", + "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_v_blocks_fd_spec_cards_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_spec_cards_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_spec_cards_locales", + "tableTo": "_pages_v_blocks_fd_spec_cards", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz_outcomes": { + "name": "_pages_v_blocks_fd_quiz_outcomes", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "key": { + "name": "key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_quiz_outcomes_order_idx": { + "name": "_pages_v_blocks_fd_quiz_outcomes_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_quiz_outcomes_parent_id_idx": { + "name": "_pages_v_blocks_fd_quiz_outcomes_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_quiz_outcomes_parent_id_fk": { + "name": "_pages_v_blocks_fd_quiz_outcomes_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_quiz_outcomes", + "tableTo": "_pages_v_blocks_fd_quiz", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz_outcomes_locales": { + "name": "_pages_v_blocks_fd_quiz_outcomes_locales", + "schema": "", + "columns": { + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Läs mer'" + }, + "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_v_blocks_fd_quiz_outcomes_locales_locale_parent_id_un": { + "name": "_pages_v_blocks_fd_quiz_outcomes_locales_locale_parent_id_un", + "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_v_blocks_fd_quiz_outcomes_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_quiz_outcomes_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_quiz_outcomes_locales", + "tableTo": "_pages_v_blocks_fd_quiz_outcomes", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz_questions_options": { + "name": "_pages_v_blocks_fd_quiz_questions_options", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "outcome_keys": { + "name": "outcome_keys", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_quiz_questions_options_order_idx": { + "name": "_pages_v_blocks_fd_quiz_questions_options_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_quiz_questions_options_parent_id_idx": { + "name": "_pages_v_blocks_fd_quiz_questions_options_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_quiz_questions_options_parent_id_fk": { + "name": "_pages_v_blocks_fd_quiz_questions_options_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_quiz_questions_options", + "tableTo": "_pages_v_blocks_fd_quiz_questions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz_questions_options_locales": { + "name": "_pages_v_blocks_fd_quiz_questions_options_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sublabel": { + "name": "sublabel", + "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": { + "_pages_v_blocks_fd_quiz_questions_options_locales_locale_par": { + "name": "_pages_v_blocks_fd_quiz_questions_options_locales_locale_par", + "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_v_blocks_fd_quiz_questions_options_locales_parent__fk": { + "name": "_pages_v_blocks_fd_quiz_questions_options_locales_parent__fk", + "tableFrom": "_pages_v_blocks_fd_quiz_questions_options_locales", + "tableTo": "_pages_v_blocks_fd_quiz_questions_options", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz_questions": { + "name": "_pages_v_blocks_fd_quiz_questions", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_quiz_questions_order_idx": { + "name": "_pages_v_blocks_fd_quiz_questions_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_quiz_questions_parent_id_idx": { + "name": "_pages_v_blocks_fd_quiz_questions_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_quiz_questions_parent_id_fk": { + "name": "_pages_v_blocks_fd_quiz_questions_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_quiz_questions", + "tableTo": "_pages_v_blocks_fd_quiz", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz_questions_locales": { + "name": "_pages_v_blocks_fd_quiz_questions_locales", + "schema": "", + "columns": { + "question": { + "name": "question", + "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": { + "_pages_v_blocks_fd_quiz_questions_locales_locale_parent_id_u": { + "name": "_pages_v_blocks_fd_quiz_questions_locales_locale_parent_id_u", + "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_v_blocks_fd_quiz_questions_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_quiz_questions_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_quiz_questions_locales", + "tableTo": "_pages_v_blocks_fd_quiz_questions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz": { + "name": "_pages_v_blocks_fd_quiz", + "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 + }, + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "section_background": { + "name": "section_background", + "type": "enum__pages_v_blocks_fd_quiz_section_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'navy'" + }, + "anchor_id": { + "name": "anchor_id", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_blocks_fd_quiz_order_idx": { + "name": "_pages_v_blocks_fd_quiz_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_quiz_parent_id_idx": { + "name": "_pages_v_blocks_fd_quiz_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_blocks_fd_quiz_path_idx": { + "name": "_pages_v_blocks_fd_quiz_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_blocks_fd_quiz_parent_id_fk": { + "name": "_pages_v_blocks_fd_quiz_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_quiz", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_blocks_fd_quiz_locales": { + "name": "_pages_v_blocks_fd_quiz_locales", + "schema": "", + "columns": { + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Vilken tjänst passar dig?'" + }, + "description": { + "name": "description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "trigger_label": { + "name": "trigger_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Starta quiz'" + }, + "next_label": { + "name": "next_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Nästa'" + }, + "back_label": { + "name": "back_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Tillbaka'" + }, + "result_heading": { + "name": "result_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Rekommenderat:'" + }, + "restart_label": { + "name": "restart_label", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Börja om'" + }, + "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_v_blocks_fd_quiz_locales_locale_parent_id_unique": { + "name": "_pages_v_blocks_fd_quiz_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_v_blocks_fd_quiz_locales_parent_id_fk": { + "name": "_pages_v_blocks_fd_quiz_locales_parent_id_fk", + "tableFrom": "_pages_v_blocks_fd_quiz_locales", + "tableTo": "_pages_v_blocks_fd_quiz", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v": { + "name": "_pages_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "version_title": { + "name": "version_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_published_at": { + "name": "version_published_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "version_slug": { + "name": "version_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_generate_slug": { + "name": "version_generate_slug", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "version_updated_at": { + "name": "version_updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "version_created_at": { + "name": "version_created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "version__status": { + "name": "version__status", + "type": "enum__pages_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__pages_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "autosave": { + "name": "autosave", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_pages_v_parent_idx": { + "name": "_pages_v_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_version_version_slug_idx": { + "name": "_pages_v_version_version_slug_idx", + "columns": [ + { + "expression": "version_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_version_version_updated_at_idx": { + "name": "_pages_v_version_version_updated_at_idx", + "columns": [ + { + "expression": "version_updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_version_version_created_at_idx": { + "name": "_pages_v_version_version_created_at_idx", + "columns": [ + { + "expression": "version_created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_version_version__status_idx": { + "name": "_pages_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_created_at_idx": { + "name": "_pages_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_updated_at_idx": { + "name": "_pages_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_snapshot_idx": { + "name": "_pages_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_published_locale_idx": { + "name": "_pages_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_latest_idx": { + "name": "_pages_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_pages_v_autosave_idx": { + "name": "_pages_v_autosave_idx", + "columns": [ + { + "expression": "autosave", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_pages_v_parent_id_pages_id_fk": { + "name": "_pages_v_parent_id_pages_id_fk", + "tableFrom": "_pages_v", + "tableTo": "pages", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._pages_v_locales": { + "name": "_pages_v_locales", + "schema": "", + "columns": { + "version_meta_title": { + "name": "version_meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_image_id": { + "name": "version_meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "version_meta_description": { + "name": "version_meta_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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_pages_v_version_meta_version_meta_image_idx": { + "name": "_pages_v_version_meta_version_meta_image_idx", + "columns": [ + { + "expression": "version_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_v_locales_locale_parent_id_unique": { + "name": "_pages_v_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_v_locales_version_meta_image_id_media_id_fk": { + "name": "_pages_v_locales_version_meta_image_id_media_id_fk", + "tableFrom": "_pages_v_locales", + "tableTo": "media", + "columnsFrom": [ + "version_meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_pages_v_locales_parent_id_fk": { + "name": "_pages_v_locales_parent_id_fk", + "tableFrom": "_pages_v_locales", + "tableTo": "_pages_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.posts_populated_authors": { + "name": "posts_populated_authors", + "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 + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "posts_populated_authors_order_idx": { + "name": "posts_populated_authors_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_populated_authors_parent_id_idx": { + "name": "posts_populated_authors_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "posts_populated_authors_parent_id_fk": { + "name": "posts_populated_authors_parent_id_fk", + "tableFrom": "posts_populated_authors", + "tableTo": "posts", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.posts": { + "name": "posts", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "hero_image_id": { + "name": "hero_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "content": { + "name": "content", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "published_at": { + "name": "published_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "generate_slug": { + "name": "generate_slug", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": 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()" + }, + "_status": { + "name": "_status", + "type": "enum_posts_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + } + }, + "indexes": { + "posts_hero_image_idx": { + "name": "posts_hero_image_idx", + "columns": [ + { + "expression": "hero_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_slug_idx": { + "name": "posts_slug_idx", + "columns": [ + { + "expression": "slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_updated_at_idx": { + "name": "posts_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_created_at_idx": { + "name": "posts_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts__status_idx": { + "name": "posts__status_idx", + "columns": [ + { + "expression": "_status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "posts_hero_image_id_media_id_fk": { + "name": "posts_hero_image_id_media_id_fk", + "tableFrom": "posts", + "tableTo": "media", + "columnsFrom": [ + "hero_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.posts_locales": { + "name": "posts_locales", + "schema": "", + "columns": { + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_image_id": { + "name": "meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "posts_meta_meta_image_idx": { + "name": "posts_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": {} + }, + "posts_locales_locale_parent_id_unique": { + "name": "posts_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": { + "posts_locales_meta_image_id_media_id_fk": { + "name": "posts_locales_meta_image_id_media_id_fk", + "tableFrom": "posts_locales", + "tableTo": "media", + "columnsFrom": [ + "meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "posts_locales_parent_id_fk": { + "name": "posts_locales_parent_id_fk", + "tableFrom": "posts_locales", + "tableTo": "posts", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.posts_rels": { + "name": "posts_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 + }, + "posts_id": { + "name": "posts_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "categories_id": { + "name": "categories_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "posts_rels_order_idx": { + "name": "posts_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_rels_parent_idx": { + "name": "posts_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_rels_path_idx": { + "name": "posts_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_rels_posts_id_idx": { + "name": "posts_rels_posts_id_idx", + "columns": [ + { + "expression": "posts_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_rels_categories_id_idx": { + "name": "posts_rels_categories_id_idx", + "columns": [ + { + "expression": "categories_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "posts_rels_users_id_idx": { + "name": "posts_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "posts_rels_parent_fk": { + "name": "posts_rels_parent_fk", + "tableFrom": "posts_rels", + "tableTo": "posts", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "posts_rels_posts_fk": { + "name": "posts_rels_posts_fk", + "tableFrom": "posts_rels", + "tableTo": "posts", + "columnsFrom": [ + "posts_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "posts_rels_categories_fk": { + "name": "posts_rels_categories_fk", + "tableFrom": "posts_rels", + "tableTo": "categories", + "columnsFrom": [ + "categories_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "posts_rels_users_fk": { + "name": "posts_rels_users_fk", + "tableFrom": "posts_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._posts_v_version_populated_authors": { + "name": "_posts_v_version_populated_authors", + "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": "serial", + "primaryKey": true, + "notNull": true + }, + "_uuid": { + "name": "_uuid", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_posts_v_version_populated_authors_order_idx": { + "name": "_posts_v_version_populated_authors_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_version_populated_authors_parent_id_idx": { + "name": "_posts_v_version_populated_authors_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_posts_v_version_populated_authors_parent_id_fk": { + "name": "_posts_v_version_populated_authors_parent_id_fk", + "tableFrom": "_posts_v_version_populated_authors", + "tableTo": "_posts_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._posts_v": { + "name": "_posts_v", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "parent_id": { + "name": "parent_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "version_title": { + "name": "version_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_hero_image_id": { + "name": "version_hero_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "version_content": { + "name": "version_content", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "version_published_at": { + "name": "version_published_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "version_slug": { + "name": "version_slug", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_generate_slug": { + "name": "version_generate_slug", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "version_updated_at": { + "name": "version_updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "version_created_at": { + "name": "version_created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": false + }, + "version__status": { + "name": "version__status", + "type": "enum__posts_v_version_status", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'draft'" + }, + "created_at": { + "name": "created_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp(3) with time zone", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "snapshot": { + "name": "snapshot", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "published_locale": { + "name": "published_locale", + "type": "enum__posts_v_published_locale", + "typeSchema": "public", + "primaryKey": false, + "notNull": false + }, + "latest": { + "name": "latest", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "autosave": { + "name": "autosave", + "type": "boolean", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_posts_v_parent_idx": { + "name": "_posts_v_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_version_version_hero_image_idx": { + "name": "_posts_v_version_version_hero_image_idx", + "columns": [ + { + "expression": "version_hero_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_version_version_slug_idx": { + "name": "_posts_v_version_version_slug_idx", + "columns": [ + { + "expression": "version_slug", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_version_version_updated_at_idx": { + "name": "_posts_v_version_version_updated_at_idx", + "columns": [ + { + "expression": "version_updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_version_version_created_at_idx": { + "name": "_posts_v_version_version_created_at_idx", + "columns": [ + { + "expression": "version_created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_version_version__status_idx": { + "name": "_posts_v_version_version__status_idx", + "columns": [ + { + "expression": "version__status", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_created_at_idx": { + "name": "_posts_v_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_updated_at_idx": { + "name": "_posts_v_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_snapshot_idx": { + "name": "_posts_v_snapshot_idx", + "columns": [ + { + "expression": "snapshot", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_published_locale_idx": { + "name": "_posts_v_published_locale_idx", + "columns": [ + { + "expression": "published_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_latest_idx": { + "name": "_posts_v_latest_idx", + "columns": [ + { + "expression": "latest", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_autosave_idx": { + "name": "_posts_v_autosave_idx", + "columns": [ + { + "expression": "autosave", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_posts_v_parent_id_posts_id_fk": { + "name": "_posts_v_parent_id_posts_id_fk", + "tableFrom": "_posts_v", + "tableTo": "posts", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_posts_v_version_hero_image_id_media_id_fk": { + "name": "_posts_v_version_hero_image_id_media_id_fk", + "tableFrom": "_posts_v", + "tableTo": "media", + "columnsFrom": [ + "version_hero_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._posts_v_locales": { + "name": "_posts_v_locales", + "schema": "", + "columns": { + "version_meta_title": { + "name": "version_meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "version_meta_image_id": { + "name": "version_meta_image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "version_meta_description": { + "name": "version_meta_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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "_posts_v_version_meta_version_meta_image_idx": { + "name": "_posts_v_version_meta_version_meta_image_idx", + "columns": [ + { + "expression": "version_meta_image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_locales_locale_parent_id_unique": { + "name": "_posts_v_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": { + "_posts_v_locales_version_meta_image_id_media_id_fk": { + "name": "_posts_v_locales_version_meta_image_id_media_id_fk", + "tableFrom": "_posts_v_locales", + "tableTo": "media", + "columnsFrom": [ + "version_meta_image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "_posts_v_locales_parent_id_fk": { + "name": "_posts_v_locales_parent_id_fk", + "tableFrom": "_posts_v_locales", + "tableTo": "_posts_v", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public._posts_v_rels": { + "name": "_posts_v_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 + }, + "posts_id": { + "name": "posts_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "categories_id": { + "name": "categories_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "_posts_v_rels_order_idx": { + "name": "_posts_v_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_rels_parent_idx": { + "name": "_posts_v_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_rels_path_idx": { + "name": "_posts_v_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_rels_posts_id_idx": { + "name": "_posts_v_rels_posts_id_idx", + "columns": [ + { + "expression": "posts_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_rels_categories_id_idx": { + "name": "_posts_v_rels_categories_id_idx", + "columns": [ + { + "expression": "categories_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "_posts_v_rels_users_id_idx": { + "name": "_posts_v_rels_users_id_idx", + "columns": [ + { + "expression": "users_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "_posts_v_rels_parent_fk": { + "name": "_posts_v_rels_parent_fk", + "tableFrom": "_posts_v_rels", + "tableTo": "_posts_v", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "_posts_v_rels_posts_fk": { + "name": "_posts_v_rels_posts_fk", + "tableFrom": "_posts_v_rels", + "tableTo": "posts", + "columnsFrom": [ + "posts_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "_posts_v_rels_categories_fk": { + "name": "_posts_v_rels_categories_fk", + "tableFrom": "_posts_v_rels", + "tableTo": "categories", + "columnsFrom": [ + "categories_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "_posts_v_rels_users_fk": { + "name": "_posts_v_rels_users_fk", + "tableFrom": "_posts_v_rels", + "tableTo": "users", + "columnsFrom": [ + "users_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "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 + }, + "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 + }, + "sizes_thumbnail_url": { + "name": "sizes_thumbnail_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_thumbnail_width": { + "name": "sizes_thumbnail_width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_thumbnail_height": { + "name": "sizes_thumbnail_height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_thumbnail_mime_type": { + "name": "sizes_thumbnail_mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_thumbnail_filesize": { + "name": "sizes_thumbnail_filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_thumbnail_filename": { + "name": "sizes_thumbnail_filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_medium_url": { + "name": "sizes_medium_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_medium_width": { + "name": "sizes_medium_width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_medium_height": { + "name": "sizes_medium_height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_medium_mime_type": { + "name": "sizes_medium_mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_medium_filesize": { + "name": "sizes_medium_filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_medium_filename": { + "name": "sizes_medium_filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_large_url": { + "name": "sizes_large_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_large_width": { + "name": "sizes_large_width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_large_height": { + "name": "sizes_large_height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_large_mime_type": { + "name": "sizes_large_mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_large_filesize": { + "name": "sizes_large_filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_large_filename": { + "name": "sizes_large_filename", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_hero_url": { + "name": "sizes_hero_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_hero_width": { + "name": "sizes_hero_width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_hero_height": { + "name": "sizes_hero_height", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_hero_mime_type": { + "name": "sizes_hero_mime_type", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "sizes_hero_filesize": { + "name": "sizes_hero_filesize", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "sizes_hero_filename": { + "name": "sizes_hero_filename", + "type": "varchar", + "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": {} + }, + "media_sizes_thumbnail_sizes_thumbnail_filename_idx": { + "name": "media_sizes_thumbnail_sizes_thumbnail_filename_idx", + "columns": [ + { + "expression": "sizes_thumbnail_filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_sizes_medium_sizes_medium_filename_idx": { + "name": "media_sizes_medium_sizes_medium_filename_idx", + "columns": [ + { + "expression": "sizes_medium_filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_sizes_large_sizes_large_filename_idx": { + "name": "media_sizes_large_sizes_large_filename_idx", + "columns": [ + { + "expression": "sizes_large_filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "media_sizes_hero_sizes_hero_filename_idx": { + "name": "media_sizes_hero_sizes_hero_filename_idx", + "columns": [ + { + "expression": "sizes_hero_filename", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.categories_breadcrumbs": { + "name": "categories_breadcrumbs", + "schema": "", + "columns": { + "_order": { + "name": "_order", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_parent_id": { + "name": "_parent_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "_locale": { + "name": "_locale", + "type": "_locales", + "typeSchema": "public", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "doc_id": { + "name": "doc_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "categories_breadcrumbs_order_idx": { + "name": "categories_breadcrumbs_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "categories_breadcrumbs_parent_id_idx": { + "name": "categories_breadcrumbs_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "categories_breadcrumbs_locale_idx": { + "name": "categories_breadcrumbs_locale_idx", + "columns": [ + { + "expression": "_locale", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "categories_breadcrumbs_doc_idx": { + "name": "categories_breadcrumbs_doc_idx", + "columns": [ + { + "expression": "doc_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "categories_breadcrumbs_doc_id_categories_id_fk": { + "name": "categories_breadcrumbs_doc_id_categories_id_fk", + "tableFrom": "categories_breadcrumbs", + "tableTo": "categories", + "columnsFrom": [ + "doc_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "categories_breadcrumbs_parent_id_fk": { + "name": "categories_breadcrumbs_parent_id_fk", + "tableFrom": "categories_breadcrumbs", + "tableTo": "categories", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.categories": { + "name": "categories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "slug": { + "name": "slug", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "parent_id": { + "name": "parent_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": { + "categories_parent_idx": { + "name": "categories_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "categories_updated_at_idx": { + "name": "categories_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "categories_created_at_idx": { + "name": "categories_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "categories_parent_id_categories_id_fk": { + "name": "categories_parent_id_categories_id_fk", + "tableFrom": "categories", + "tableTo": "categories", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "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 + }, + "role": { + "name": "role", + "type": "enum_users_role", + "typeSchema": "public", + "primaryKey": false, + "notNull": true, + "default": "'editor'" + }, + "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()" + }, + "enable_a_p_i_key": { + "name": "enable_a_p_i_key", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "api_key": { + "name": "api_key", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "api_key_index": { + "name": "api_key_index", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "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_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": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.redirects": { + "name": "redirects", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "from": { + "name": "from", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "to_type": { + "name": "to_type", + "type": "enum_redirects_to_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'reference'" + }, + "to_url": { + "name": "to_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": { + "redirects_from_idx": { + "name": "redirects_from_idx", + "columns": [ + { + "expression": "from", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "redirects_updated_at_idx": { + "name": "redirects_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "redirects_created_at_idx": { + "name": "redirects_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.redirects_rels": { + "name": "redirects_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 + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "posts_id": { + "name": "posts_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "redirects_rels_order_idx": { + "name": "redirects_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "redirects_rels_parent_idx": { + "name": "redirects_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "redirects_rels_path_idx": { + "name": "redirects_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "redirects_rels_pages_id_idx": { + "name": "redirects_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "redirects_rels_posts_id_idx": { + "name": "redirects_rels_posts_id_idx", + "columns": [ + { + "expression": "posts_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "redirects_rels_parent_fk": { + "name": "redirects_rels_parent_fk", + "tableFrom": "redirects_rels", + "tableTo": "redirects", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "redirects_rels_pages_fk": { + "name": "redirects_rels_pages_fk", + "tableFrom": "redirects_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "redirects_rels_posts_fk": { + "name": "redirects_rels_posts_fk", + "tableFrom": "redirects_rels", + "tableTo": "posts", + "columnsFrom": [ + "posts_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_checkbox": { + "name": "forms_blocks_checkbox", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "default_value": { + "name": "default_value", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_checkbox_order_idx": { + "name": "forms_blocks_checkbox_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_checkbox_parent_id_idx": { + "name": "forms_blocks_checkbox_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_checkbox_path_idx": { + "name": "forms_blocks_checkbox_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_checkbox_parent_id_fk": { + "name": "forms_blocks_checkbox_parent_id_fk", + "tableFrom": "forms_blocks_checkbox", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_checkbox_locales": { + "name": "forms_blocks_checkbox_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "forms_blocks_checkbox_locales_locale_parent_id_unique": { + "name": "forms_blocks_checkbox_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": { + "forms_blocks_checkbox_locales_parent_id_fk": { + "name": "forms_blocks_checkbox_locales_parent_id_fk", + "tableFrom": "forms_blocks_checkbox_locales", + "tableTo": "forms_blocks_checkbox", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_country": { + "name": "forms_blocks_country", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_country_order_idx": { + "name": "forms_blocks_country_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_country_parent_id_idx": { + "name": "forms_blocks_country_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_country_path_idx": { + "name": "forms_blocks_country_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_country_parent_id_fk": { + "name": "forms_blocks_country_parent_id_fk", + "tableFrom": "forms_blocks_country", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_country_locales": { + "name": "forms_blocks_country_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "forms_blocks_country_locales_locale_parent_id_unique": { + "name": "forms_blocks_country_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": { + "forms_blocks_country_locales_parent_id_fk": { + "name": "forms_blocks_country_locales_parent_id_fk", + "tableFrom": "forms_blocks_country_locales", + "tableTo": "forms_blocks_country", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_email": { + "name": "forms_blocks_email", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_email_order_idx": { + "name": "forms_blocks_email_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_email_parent_id_idx": { + "name": "forms_blocks_email_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_email_path_idx": { + "name": "forms_blocks_email_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_email_parent_id_fk": { + "name": "forms_blocks_email_parent_id_fk", + "tableFrom": "forms_blocks_email", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_email_locales": { + "name": "forms_blocks_email_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "forms_blocks_email_locales_locale_parent_id_unique": { + "name": "forms_blocks_email_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": { + "forms_blocks_email_locales_parent_id_fk": { + "name": "forms_blocks_email_locales_parent_id_fk", + "tableFrom": "forms_blocks_email_locales", + "tableTo": "forms_blocks_email", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_message": { + "name": "forms_blocks_message", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_message_order_idx": { + "name": "forms_blocks_message_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_message_parent_id_idx": { + "name": "forms_blocks_message_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_message_path_idx": { + "name": "forms_blocks_message_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_message_parent_id_fk": { + "name": "forms_blocks_message_parent_id_fk", + "tableFrom": "forms_blocks_message", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_message_locales": { + "name": "forms_blocks_message_locales", + "schema": "", + "columns": { + "message": { + "name": "message", + "type": "jsonb", + "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": { + "forms_blocks_message_locales_locale_parent_id_unique": { + "name": "forms_blocks_message_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": { + "forms_blocks_message_locales_parent_id_fk": { + "name": "forms_blocks_message_locales_parent_id_fk", + "tableFrom": "forms_blocks_message_locales", + "tableTo": "forms_blocks_message", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_number": { + "name": "forms_blocks_number", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "default_value": { + "name": "default_value", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_number_order_idx": { + "name": "forms_blocks_number_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_number_parent_id_idx": { + "name": "forms_blocks_number_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_number_path_idx": { + "name": "forms_blocks_number_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_number_parent_id_fk": { + "name": "forms_blocks_number_parent_id_fk", + "tableFrom": "forms_blocks_number", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_number_locales": { + "name": "forms_blocks_number_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "forms_blocks_number_locales_locale_parent_id_unique": { + "name": "forms_blocks_number_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": { + "forms_blocks_number_locales_parent_id_fk": { + "name": "forms_blocks_number_locales_parent_id_fk", + "tableFrom": "forms_blocks_number_locales", + "tableTo": "forms_blocks_number", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_select_options": { + "name": "forms_blocks_select_options", + "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 + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "forms_blocks_select_options_order_idx": { + "name": "forms_blocks_select_options_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_select_options_parent_id_idx": { + "name": "forms_blocks_select_options_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_select_options_parent_id_fk": { + "name": "forms_blocks_select_options_parent_id_fk", + "tableFrom": "forms_blocks_select_options", + "tableTo": "forms_blocks_select", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_select_options_locales": { + "name": "forms_blocks_select_options_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": { + "forms_blocks_select_options_locales_locale_parent_id_unique": { + "name": "forms_blocks_select_options_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": { + "forms_blocks_select_options_locales_parent_id_fk": { + "name": "forms_blocks_select_options_locales_parent_id_fk", + "tableFrom": "forms_blocks_select_options_locales", + "tableTo": "forms_blocks_select_options", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_select": { + "name": "forms_blocks_select", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "placeholder": { + "name": "placeholder", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_select_order_idx": { + "name": "forms_blocks_select_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_select_parent_id_idx": { + "name": "forms_blocks_select_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_select_path_idx": { + "name": "forms_blocks_select_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_select_parent_id_fk": { + "name": "forms_blocks_select_parent_id_fk", + "tableFrom": "forms_blocks_select", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_select_locales": { + "name": "forms_blocks_select_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "default_value": { + "name": "default_value", + "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": { + "forms_blocks_select_locales_locale_parent_id_unique": { + "name": "forms_blocks_select_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": { + "forms_blocks_select_locales_parent_id_fk": { + "name": "forms_blocks_select_locales_parent_id_fk", + "tableFrom": "forms_blocks_select_locales", + "tableTo": "forms_blocks_select", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_state": { + "name": "forms_blocks_state", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_state_order_idx": { + "name": "forms_blocks_state_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_state_parent_id_idx": { + "name": "forms_blocks_state_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_state_path_idx": { + "name": "forms_blocks_state_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_state_parent_id_fk": { + "name": "forms_blocks_state_parent_id_fk", + "tableFrom": "forms_blocks_state", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_state_locales": { + "name": "forms_blocks_state_locales", + "schema": "", + "columns": { + "label": { + "name": "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": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "forms_blocks_state_locales_locale_parent_id_unique": { + "name": "forms_blocks_state_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": { + "forms_blocks_state_locales_parent_id_fk": { + "name": "forms_blocks_state_locales_parent_id_fk", + "tableFrom": "forms_blocks_state_locales", + "tableTo": "forms_blocks_state", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_text": { + "name": "forms_blocks_text", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_text_order_idx": { + "name": "forms_blocks_text_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_text_parent_id_idx": { + "name": "forms_blocks_text_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_text_path_idx": { + "name": "forms_blocks_text_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_text_parent_id_fk": { + "name": "forms_blocks_text_parent_id_fk", + "tableFrom": "forms_blocks_text", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_text_locales": { + "name": "forms_blocks_text_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "default_value": { + "name": "default_value", + "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": { + "forms_blocks_text_locales_locale_parent_id_unique": { + "name": "forms_blocks_text_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": { + "forms_blocks_text_locales_parent_id_fk": { + "name": "forms_blocks_text_locales_parent_id_fk", + "tableFrom": "forms_blocks_text_locales", + "tableTo": "forms_blocks_text", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_textarea": { + "name": "forms_blocks_textarea", + "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 + }, + "id": { + "name": "id", + "type": "varchar", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "width": { + "name": "width", + "type": "numeric", + "primaryKey": false, + "notNull": false + }, + "required": { + "name": "required", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "block_name": { + "name": "block_name", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_blocks_textarea_order_idx": { + "name": "forms_blocks_textarea_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_textarea_parent_id_idx": { + "name": "forms_blocks_textarea_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_blocks_textarea_path_idx": { + "name": "forms_blocks_textarea_path_idx", + "columns": [ + { + "expression": "_path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_blocks_textarea_parent_id_fk": { + "name": "forms_blocks_textarea_parent_id_fk", + "tableFrom": "forms_blocks_textarea", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_blocks_textarea_locales": { + "name": "forms_blocks_textarea_locales", + "schema": "", + "columns": { + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "default_value": { + "name": "default_value", + "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": { + "forms_blocks_textarea_locales_locale_parent_id_unique": { + "name": "forms_blocks_textarea_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": { + "forms_blocks_textarea_locales_parent_id_fk": { + "name": "forms_blocks_textarea_locales_parent_id_fk", + "tableFrom": "forms_blocks_textarea_locales", + "tableTo": "forms_blocks_textarea", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_emails": { + "name": "forms_emails", + "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 + }, + "email_to": { + "name": "email_to", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cc": { + "name": "cc", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "bcc": { + "name": "bcc", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "reply_to": { + "name": "reply_to", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "email_from": { + "name": "email_from", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "forms_emails_order_idx": { + "name": "forms_emails_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_emails_parent_id_idx": { + "name": "forms_emails_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "forms_emails_parent_id_fk": { + "name": "forms_emails_parent_id_fk", + "tableFrom": "forms_emails", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms_emails_locales": { + "name": "forms_emails_locales", + "schema": "", + "columns": { + "subject": { + "name": "subject", + "type": "varchar", + "primaryKey": false, + "notNull": true, + "default": "'You''ve received a new message.'" + }, + "message": { + "name": "message", + "type": "jsonb", + "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": { + "forms_emails_locales_locale_parent_id_unique": { + "name": "forms_emails_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": { + "forms_emails_locales_parent_id_fk": { + "name": "forms_emails_locales_parent_id_fk", + "tableFrom": "forms_emails_locales", + "tableTo": "forms_emails", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.forms": { + "name": "forms", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "title": { + "name": "title", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "confirmation_type": { + "name": "confirmation_type", + "type": "enum_forms_confirmation_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'message'" + }, + "redirect_url": { + "name": "redirect_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": { + "forms_updated_at_idx": { + "name": "forms_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "forms_created_at_idx": { + "name": "forms_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.forms_locales": { + "name": "forms_locales", + "schema": "", + "columns": { + "submit_button_label": { + "name": "submit_button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "confirmation_message": { + "name": "confirmation_message", + "type": "jsonb", + "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": { + "forms_locales_locale_parent_id_unique": { + "name": "forms_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": { + "forms_locales_parent_id_fk": { + "name": "forms_locales_parent_id_fk", + "tableFrom": "forms_locales", + "tableTo": "forms", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.form_submissions_submission_data": { + "name": "form_submissions_submission_data", + "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 + }, + "field": { + "name": "field", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "form_submissions_submission_data_order_idx": { + "name": "form_submissions_submission_data_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "form_submissions_submission_data_parent_id_idx": { + "name": "form_submissions_submission_data_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "form_submissions_submission_data_parent_id_fk": { + "name": "form_submissions_submission_data_parent_id_fk", + "tableFrom": "form_submissions_submission_data", + "tableTo": "form_submissions", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.form_submissions": { + "name": "form_submissions", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "form_id": { + "name": "form_id", + "type": "integer", + "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": { + "form_submissions_form_idx": { + "name": "form_submissions_form_idx", + "columns": [ + { + "expression": "form_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "form_submissions_updated_at_idx": { + "name": "form_submissions_updated_at_idx", + "columns": [ + { + "expression": "updated_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "form_submissions_created_at_idx": { + "name": "form_submissions_created_at_idx", + "columns": [ + { + "expression": "created_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "form_submissions_form_id_forms_id_fk": { + "name": "form_submissions_form_id_forms_id_fk", + "tableFrom": "form_submissions", + "tableTo": "forms", + "columnsFrom": [ + "form_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "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 + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "posts_id": { + "name": "posts_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "media_id": { + "name": "media_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "categories_id": { + "name": "categories_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "users_id": { + "name": "users_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "redirects_id": { + "name": "redirects_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "forms_id": { + "name": "forms_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "form_submissions_id": { + "name": "form_submissions_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_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_posts_id_idx": { + "name": "payload_locked_documents_rels_posts_id_idx", + "columns": [ + { + "expression": "posts_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_categories_id_idx": { + "name": "payload_locked_documents_rels_categories_id_idx", + "columns": [ + { + "expression": "categories_id", + "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_redirects_id_idx": { + "name": "payload_locked_documents_rels_redirects_id_idx", + "columns": [ + { + "expression": "redirects_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_forms_id_idx": { + "name": "payload_locked_documents_rels_forms_id_idx", + "columns": [ + { + "expression": "forms_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "payload_locked_documents_rels_form_submissions_id_idx": { + "name": "payload_locked_documents_rels_form_submissions_id_idx", + "columns": [ + { + "expression": "form_submissions_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_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_posts_fk": { + "name": "payload_locked_documents_rels_posts_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "posts", + "columnsFrom": [ + "posts_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_categories_fk": { + "name": "payload_locked_documents_rels_categories_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "categories", + "columnsFrom": [ + "categories_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_redirects_fk": { + "name": "payload_locked_documents_rels_redirects_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "redirects", + "columnsFrom": [ + "redirects_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_forms_fk": { + "name": "payload_locked_documents_rels_forms_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "forms", + "columnsFrom": [ + "forms_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "payload_locked_documents_rels_form_submissions_fk": { + "name": "payload_locked_documents_rels_form_submissions_fk", + "tableFrom": "payload_locked_documents_rels", + "tableTo": "form_submissions", + "columnsFrom": [ + "form_submissions_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.header_nav_items_children": { + "name": "header_nav_items_children", + "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 + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_header_nav_items_children_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'custom'" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "group": { + "name": "group", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "header_nav_items_children_order_idx": { + "name": "header_nav_items_children_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "header_nav_items_children_parent_id_idx": { + "name": "header_nav_items_children_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "header_nav_items_children_parent_id_fk": { + "name": "header_nav_items_children_parent_id_fk", + "tableFrom": "header_nav_items_children", + "tableTo": "header_nav_items", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.header_nav_items": { + "name": "header_nav_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 + }, + "label": { + "name": "label", + "type": "varchar", + "primaryKey": false, + "notNull": true + }, + "type": { + "name": "type", + "type": "enum_header_nav_items_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'custom'" + }, + "url": { + "name": "url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "mega_menu": { + "name": "mega_menu", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + } + }, + "indexes": { + "header_nav_items_order_idx": { + "name": "header_nav_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "header_nav_items_parent_id_idx": { + "name": "header_nav_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "header_nav_items_parent_id_fk": { + "name": "header_nav_items_parent_id_fk", + "tableFrom": "header_nav_items", + "tableTo": "header", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.header": { + "name": "header", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "logo_link_type": { + "name": "logo_link_type", + "type": "enum_header_logo_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'custom'" + }, + "logo_link_url": { + "name": "logo_link_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.header_rels": { + "name": "header_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 + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "header_rels_order_idx": { + "name": "header_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "header_rels_parent_idx": { + "name": "header_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "header_rels_path_idx": { + "name": "header_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "header_rels_pages_id_idx": { + "name": "header_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "header_rels_parent_fk": { + "name": "header_rels_parent_fk", + "tableFrom": "header_rels", + "tableTo": "header", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "header_rels_pages_fk": { + "name": "header_rels_pages_fk", + "tableFrom": "header_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_cert_marks": { + "name": "footer_cert_marks", + "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 + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "alt": { + "name": "alt", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "footer_cert_marks_order_idx": { + "name": "footer_cert_marks_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_cert_marks_parent_id_idx": { + "name": "footer_cert_marks_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_cert_marks_image_idx": { + "name": "footer_cert_marks_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_cert_marks_image_id_media_id_fk": { + "name": "footer_cert_marks_image_id_media_id_fk", + "tableFrom": "footer_cert_marks", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + }, + "footer_cert_marks_parent_id_fk": { + "name": "footer_cert_marks_parent_id_fk", + "tableFrom": "footer_cert_marks", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_columns_links": { + "name": "footer_columns_links", + "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 + }, + "link_type": { + "name": "link_type", + "type": "enum_footer_columns_links_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'reference'" + }, + "link_new_tab": { + "name": "link_new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_columns_links_order_idx": { + "name": "footer_columns_links_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_columns_links_parent_id_idx": { + "name": "footer_columns_links_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_columns_links_parent_id_fk": { + "name": "footer_columns_links_parent_id_fk", + "tableFrom": "footer_columns_links", + "tableTo": "footer_columns", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_columns": { + "name": "footer_columns", + "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 + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_columns_order_idx": { + "name": "footer_columns_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_columns_parent_id_idx": { + "name": "footer_columns_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_columns_parent_id_fk": { + "name": "footer_columns_parent_id_fk", + "tableFrom": "footer_columns", + "tableTo": "footer", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.footer_nav_items": { + "name": "footer_nav_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 + }, + "link_type": { + "name": "link_type", + "type": "enum_footer_nav_items_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'reference'" + }, + "link_new_tab": { + "name": "link_new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "link_url": { + "name": "link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "link_label": { + "name": "link_label", + "type": "varchar", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "footer_nav_items_order_idx": { + "name": "footer_nav_items_order_idx", + "columns": [ + { + "expression": "_order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_nav_items_parent_id_idx": { + "name": "footer_nav_items_parent_id_idx", + "columns": [ + { + "expression": "_parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_nav_items_parent_id_fk": { + "name": "footer_nav_items_parent_id_fk", + "tableFrom": "footer_nav_items", + "tableTo": "footer", + "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 + }, + "logo_link_type": { + "name": "logo_link_type", + "type": "enum_footer_logo_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'custom'" + }, + "logo_link_url": { + "name": "logo_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/'" + }, + "social_links_linkedin_enabled": { + "name": "social_links_linkedin_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "social_links_linkedin_url": { + "name": "social_links_linkedin_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "social_links_instagram_enabled": { + "name": "social_links_instagram_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "social_links_instagram_url": { + "name": "social_links_instagram_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "social_links_facebook_enabled": { + "name": "social_links_facebook_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "social_links_facebook_url": { + "name": "social_links_facebook_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "social_links_youtube_enabled": { + "name": "social_links_youtube_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "social_links_youtube_url": { + "name": "social_links_youtube_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "social_links_twitter_enabled": { + "name": "social_links_twitter_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "social_links_twitter_url": { + "name": "social_links_twitter_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "bottom_left_text": { + "name": "bottom_left_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'© {year} Fiber Direkt. Alla rättigheter förbehållna.'" + }, + "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.footer_rels": { + "name": "footer_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 + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "posts_id": { + "name": "posts_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "footer_rels_order_idx": { + "name": "footer_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_rels_parent_idx": { + "name": "footer_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_rels_path_idx": { + "name": "footer_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_rels_pages_id_idx": { + "name": "footer_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "footer_rels_posts_id_idx": { + "name": "footer_rels_posts_id_idx", + "columns": [ + { + "expression": "posts_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "footer_rels_parent_fk": { + "name": "footer_rels_parent_fk", + "tableFrom": "footer_rels", + "tableTo": "footer", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "footer_rels_pages_fk": { + "name": "footer_rels_pages_fk", + "tableFrom": "footer_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "footer_rels_posts_fk": { + "name": "footer_rels_posts_fk", + "tableFrom": "footer_rels", + "tableTo": "posts", + "columnsFrom": [ + "posts_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.announcement_bar": { + "name": "announcement_bar", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "enabled": { + "name": "enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "text": { + "name": "text", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "button_label": { + "name": "button_label", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "button_link_type": { + "name": "button_link_type", + "type": "enum_announcement_bar_button_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'custom'" + }, + "button_link_new_tab": { + "name": "button_link_new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "button_link_url": { + "name": "button_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "dismissible": { + "name": "dismissible", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "background_color": { + "name": "background_color", + "type": "enum_announcement_bar_background_color", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'yellow'" + }, + "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.announcement_bar_rels": { + "name": "announcement_bar_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 + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "posts_id": { + "name": "posts_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "announcement_bar_rels_order_idx": { + "name": "announcement_bar_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "announcement_bar_rels_parent_idx": { + "name": "announcement_bar_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "announcement_bar_rels_path_idx": { + "name": "announcement_bar_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "announcement_bar_rels_pages_id_idx": { + "name": "announcement_bar_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "announcement_bar_rels_posts_id_idx": { + "name": "announcement_bar_rels_posts_id_idx", + "columns": [ + { + "expression": "posts_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "announcement_bar_rels_parent_fk": { + "name": "announcement_bar_rels_parent_fk", + "tableFrom": "announcement_bar_rels", + "tableTo": "announcement_bar", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "announcement_bar_rels_pages_fk": { + "name": "announcement_bar_rels_pages_fk", + "tableFrom": "announcement_bar_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "announcement_bar_rels_posts_fk": { + "name": "announcement_bar_rels_posts_fk", + "tableFrom": "announcement_bar_rels", + "tableTo": "posts", + "columnsFrom": [ + "posts_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.popup_announcement": { + "name": "popup_announcement", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "enabled": { + "name": "enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "heading": { + "name": "heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Nyhet'" + }, + "subheading": { + "name": "subheading", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "body": { + "name": "body", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Läs mer'" + }, + "cta_link_type": { + "name": "cta_link_type", + "type": "enum_popup_announcement_cta_link_type", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'custom'" + }, + "cta_link_new_tab": { + "name": "cta_link_new_tab", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "cta_link_url": { + "name": "cta_link_url", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "image_id": { + "name": "image_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "badge_text": { + "name": "badge_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'NYHET'" + }, + "theme": { + "name": "theme", + "type": "enum_popup_announcement_theme", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'light'" + }, + "show_on_pages": { + "name": "show_on_pages", + "type": "enum_popup_announcement_show_on_pages", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'all'" + }, + "dismiss_days": { + "name": "dismiss_days", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 7 + }, + "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": { + "popup_announcement_image_idx": { + "name": "popup_announcement_image_idx", + "columns": [ + { + "expression": "image_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "popup_announcement_image_id_media_id_fk": { + "name": "popup_announcement_image_id_media_id_fk", + "tableFrom": "popup_announcement", + "tableTo": "media", + "columnsFrom": [ + "image_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.popup_announcement_rels": { + "name": "popup_announcement_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 + }, + "pages_id": { + "name": "pages_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "posts_id": { + "name": "posts_id", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "popup_announcement_rels_order_idx": { + "name": "popup_announcement_rels_order_idx", + "columns": [ + { + "expression": "order", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "popup_announcement_rels_parent_idx": { + "name": "popup_announcement_rels_parent_idx", + "columns": [ + { + "expression": "parent_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "popup_announcement_rels_path_idx": { + "name": "popup_announcement_rels_path_idx", + "columns": [ + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "popup_announcement_rels_pages_id_idx": { + "name": "popup_announcement_rels_pages_id_idx", + "columns": [ + { + "expression": "pages_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "popup_announcement_rels_posts_id_idx": { + "name": "popup_announcement_rels_posts_id_idx", + "columns": [ + { + "expression": "posts_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "popup_announcement_rels_parent_fk": { + "name": "popup_announcement_rels_parent_fk", + "tableFrom": "popup_announcement_rels", + "tableTo": "popup_announcement", + "columnsFrom": [ + "parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "popup_announcement_rels_pages_fk": { + "name": "popup_announcement_rels_pages_fk", + "tableFrom": "popup_announcement_rels", + "tableTo": "pages", + "columnsFrom": [ + "pages_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "popup_announcement_rels_posts_fk": { + "name": "popup_announcement_rels_posts_fk", + "tableFrom": "popup_announcement_rels", + "tableTo": "posts", + "columnsFrom": [ + "posts_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.site_settings": { + "name": "site_settings", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "header_code_injection_enabled": { + "name": "header_code_injection_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "header_code_injection_code": { + "name": "header_code_injection_code", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "footer_code_injection_enabled": { + "name": "footer_code_injection_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "footer_code_injection_code": { + "name": "footer_code_injection_code", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "cookie_consent_enabled": { + "name": "cookie_consent_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "cookie_consent_privacy_policy_url": { + "name": "cookie_consent_privacy_policy_url", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/integritetspolicy'" + }, + "cookie_consent_accepted_days": { + "name": "cookie_consent_accepted_days", + "type": "enum_site_settings_cookie_consent_accepted_days", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'365'" + }, + "cookie_consent_declined_days": { + "name": "cookie_consent_declined_days", + "type": "enum_site_settings_cookie_consent_declined_days", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'30'" + }, + "matomo_enabled": { + "name": "matomo_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": false + }, + "matomo_code": { + "name": "matomo_code", + "type": "varchar", + "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": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.post_settings": { + "name": "post_settings", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "listing_background": { + "name": "listing_background", + "type": "enum_post_settings_listing_background", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'white'" + }, + "posts_per_page": { + "name": "posts_per_page", + "type": "numeric", + "primaryKey": false, + "notNull": false, + "default": 12 + }, + "show_categories_on_cards": { + "name": "show_categories_on_cards", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_categories_on_post": { + "name": "show_categories_on_post", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "show_related_posts": { + "name": "show_related_posts", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "cta_enabled": { + "name": "cta_enabled", + "type": "boolean", + "primaryKey": false, + "notNull": false, + "default": true + }, + "cta_link": { + "name": "cta_link", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'/kontakt'" + }, + "cta_variant": { + "name": "cta_variant", + "type": "enum_post_settings_cta_variant", + "typeSchema": "public", + "primaryKey": false, + "notNull": false, + "default": "'primary'" + }, + "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.post_settings_locales": { + "name": "post_settings_locales", + "schema": "", + "columns": { + "listing_heading": { + "name": "listing_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Nyheter'" + }, + "listing_description": { + "name": "listing_description", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "back_link_text": { + "name": "back_link_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'← Tillbaka till nyheter'" + }, + "related_posts_heading": { + "name": "related_posts_heading", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Relaterade inlägg'" + }, + "cta_text": { + "name": "cta_text", + "type": "varchar", + "primaryKey": false, + "notNull": false, + "default": "'Kontakta oss'" + }, + "meta_title": { + "name": "meta_title", + "type": "varchar", + "primaryKey": false, + "notNull": false + }, + "meta_description": { + "name": "meta_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": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "post_settings_locales_locale_parent_id_unique": { + "name": "post_settings_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": { + "post_settings_locales_parent_id_fk": { + "name": "post_settings_locales_parent_id_fk", + "tableFrom": "post_settings_locales", + "tableTo": "post_settings", + "columnsFrom": [ + "_parent_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": { + "public._locales": { + "name": "_locales", + "schema": "public", + "values": [ + "sv", + "en" + ] + }, + "public.enum_pages_blocks_fd_hero_overlay_opacity": { + "name": "enum_pages_blocks_fd_hero_overlay_opacity", + "schema": "public", + "values": [ + "30", + "50", + "70" + ] + }, + "public.enum_pages_blocks_fd_hero_text_color": { + "name": "enum_pages_blocks_fd_hero_text_color", + "schema": "public", + "values": [ + "auto", + "white", + "navy" + ] + }, + "public.enum_pages_blocks_fd_hero_theme": { + "name": "enum_pages_blocks_fd_hero_theme", + "schema": "public", + "values": [ + "light", + "dark" + ] + }, + "public.enum_pages_blocks_fd_cta_side_image_image_overlay": { + "name": "enum_pages_blocks_fd_cta_side_image_image_overlay", + "schema": "public", + "values": [ + "none", + "navyLight", + "navyMedium", + "yellowLight", + "yellowMedium", + "sepia", + "blackLight", + "blackMedium" + ] + }, + "public.enum_pages_blocks_fd_cta_side_image_image_position": { + "name": "enum_pages_blocks_fd_cta_side_image_image_position", + "schema": "public", + "values": [ + "right", + "left" + ] + }, + "public.enum_pages_blocks_fd_cta_side_image_theme": { + "name": "enum_pages_blocks_fd_cta_side_image_theme", + "schema": "public", + "values": [ + "light", + "dark" + ] + }, + "public.enum_pages_blocks_fd_feature_announcement_theme": { + "name": "enum_pages_blocks_fd_feature_announcement_theme", + "schema": "public", + "values": [ + "gray", + "light", + "dark" + ] + }, + "public.enum_pages_blocks_fd_services_grid_columns": { + "name": "enum_pages_blocks_fd_services_grid_columns", + "schema": "public", + "values": [ + "2", + "3", + "4" + ] + }, + "public.enum_pages_blocks_fd_faq_theme": { + "name": "enum_pages_blocks_fd_faq_theme", + "schema": "public", + "values": [ + "gray", + "light", + "dark" + ] + }, + "public.enum_pages_blocks_fd_card_grid_cards_content_lines_style": { + "name": "enum_pages_blocks_fd_card_grid_cards_content_lines_style", + "schema": "public", + "values": [ + "normal", + "bold", + "italic", + "boldItalic" + ] + }, + "public.enum_pages_blocks_fd_card_grid_cards_display_mode": { + "name": "enum_pages_blocks_fd_card_grid_cards_display_mode", + "schema": "public", + "values": [ + "content", + "centeredHeading", + "centeredBody" + ] + }, + "public.enum_pages_blocks_fd_card_grid_layout": { + "name": "enum_pages_blocks_fd_card_grid_layout", + "schema": "public", + "values": [ + "1-2", + "2-1", + "1-1-1", + "1-1" + ] + }, + "public.enum_pages_blocks_fd_card_grid_card_style": { + "name": "enum_pages_blocks_fd_card_grid_card_style", + "schema": "public", + "values": [ + "navy", + "gray", + "yellow", + "green", + "outlined" + ] + }, + "public.enum_pages_blocks_fd_card_grid_section_background": { + "name": "enum_pages_blocks_fd_card_grid_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum_pages_blocks_fd_pricing_card_card_style": { + "name": "enum_pages_blocks_fd_pricing_card_card_style", + "schema": "public", + "values": [ + "outlined", + "navy", + "gray", + "yellow", + "white" + ] + }, + "public.enum_pages_blocks_fd_pricing_card_button_color": { + "name": "enum_pages_blocks_fd_pricing_card_button_color", + "schema": "public", + "values": [ + "yellow", + "navy", + "outlinedNavy", + "outlinedWhite" + ] + }, + "public.enum_pages_blocks_fd_pricing_card_section_background": { + "name": "enum_pages_blocks_fd_pricing_card_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_pricing_card_title_color": { + "name": "enum_pages_blocks_fd_pricing_card_title_color", + "schema": "public", + "values": [ + "navy", + "white", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_spacer_height": { + "name": "enum_pages_blocks_fd_spacer_height", + "schema": "public", + "values": [ + "sm", + "md", + "lg", + "xl" + ] + }, + "public.enum_pages_blocks_fd_spacer_section_background": { + "name": "enum_pages_blocks_fd_spacer_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow", + "transparent" + ] + }, + "public.enum_pages_blocks_fd_icon_bar_icon_style": { + "name": "enum_pages_blocks_fd_icon_bar_icon_style", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray", + "none" + ] + }, + "public.enum_pages_blocks_fd_icon_bar_section_background": { + "name": "enum_pages_blocks_fd_icon_bar_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_icon_bar_text_color": { + "name": "enum_pages_blocks_fd_icon_bar_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_usp_checklist_image_position": { + "name": "enum_pages_blocks_fd_usp_checklist_image_position", + "schema": "public", + "values": [ + "right", + "left" + ] + }, + "public.enum_pages_blocks_fd_usp_checklist_check_color": { + "name": "enum_pages_blocks_fd_usp_checklist_check_color", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray" + ] + }, + "public.enum_pages_blocks_fd_usp_checklist_section_background": { + "name": "enum_pages_blocks_fd_usp_checklist_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_usp_checklist_text_color": { + "name": "enum_pages_blocks_fd_usp_checklist_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_wide_card_card_background": { + "name": "enum_pages_blocks_fd_wide_card_card_background", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray", + "white" + ] + }, + "public.enum_pages_blocks_fd_wide_card_button_color": { + "name": "enum_pages_blocks_fd_wide_card_button_color", + "schema": "public", + "values": [ + "yellow", + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_wide_card_section_background": { + "name": "enum_pages_blocks_fd_wide_card_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_tech_properties_section_background": { + "name": "enum_pages_blocks_fd_tech_properties_section_background", + "schema": "public", + "values": [ + "navy", + "white", + "gray", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_tech_properties_category_color": { + "name": "enum_pages_blocks_fd_tech_properties_category_color", + "schema": "public", + "values": [ + "white", + "navy" + ] + }, + "public.enum_pages_blocks_fd_tech_properties_value_color": { + "name": "enum_pages_blocks_fd_tech_properties_value_color", + "schema": "public", + "values": [ + "yellow", + "white", + "navy" + ] + }, + "public.enum_pages_blocks_fd_usp_table_check_color": { + "name": "enum_pages_blocks_fd_usp_table_check_color", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray" + ] + }, + "public.enum_pages_blocks_fd_usp_table_section_background": { + "name": "enum_pages_blocks_fd_usp_table_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_usp_table_text_color": { + "name": "enum_pages_blocks_fd_usp_table_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_header_text_image_image_overlay": { + "name": "enum_pages_blocks_fd_header_text_image_image_overlay", + "schema": "public", + "values": [ + "none", + "navyLight", + "navyMedium", + "yellowLight", + "yellowMedium", + "sepia", + "blackLight", + "blackMedium" + ] + }, + "public.enum_pages_blocks_fd_header_text_image_image_rounded": { + "name": "enum_pages_blocks_fd_header_text_image_image_rounded", + "schema": "public", + "values": [ + "none", + "medium", + "large" + ] + }, + "public.enum_pages_blocks_fd_header_text_image_text_align": { + "name": "enum_pages_blocks_fd_header_text_image_text_align", + "schema": "public", + "values": [ + "left", + "center" + ] + }, + "public.enum_pages_blocks_fd_header_text_image_section_background": { + "name": "enum_pages_blocks_fd_header_text_image_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_header_text_image_text_color": { + "name": "enum_pages_blocks_fd_header_text_image_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_contact_form_section_background": { + "name": "enum_pages_blocks_fd_contact_form_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy", + "navyGradient" + ] + }, + "public.enum_pages_blocks_fd_contact_form_layout": { + "name": "enum_pages_blocks_fd_contact_form_layout", + "schema": "public", + "values": [ + "standard", + "withImage", + "card" + ] + }, + "public.enum_pages_blocks_fd_locations_grid_hover_color": { + "name": "enum_pages_blocks_fd_locations_grid_hover_color", + "schema": "public", + "values": [ + "navy", + "yellow", + "mint" + ] + }, + "public.enum_pages_blocks_fd_locations_grid_section_background": { + "name": "enum_pages_blocks_fd_locations_grid_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum_pages_blocks_fd_alternate_hero_section_background": { + "name": "enum_pages_blocks_fd_alternate_hero_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum_pages_blocks_fd_statistics_section_background": { + "name": "enum_pages_blocks_fd_statistics_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum_pages_blocks_fd_statistics_number_color": { + "name": "enum_pages_blocks_fd_statistics_number_color", + "schema": "public", + "values": [ + "gradient", + "yellow", + "mint", + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_partners_logos_display_mode": { + "name": "enum_pages_blocks_fd_partners_logos_display_mode", + "schema": "public", + "values": [ + "color", + "monochrome" + ] + }, + "public.enum_pages_blocks_fd_partners_logos_section_background": { + "name": "enum_pages_blocks_fd_partners_logos_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_newsletter_layout": { + "name": "enum_pages_blocks_fd_newsletter_layout", + "schema": "public", + "values": [ + "inline", + "stacked", + "card" + ] + }, + "public.enum_pages_blocks_fd_newsletter_section_background": { + "name": "enum_pages_blocks_fd_newsletter_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_newsletter_text_color": { + "name": "enum_pages_blocks_fd_newsletter_text_color", + "schema": "public", + "values": [ + "auto", + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_service_chooser_section_background": { + "name": "enum_pages_blocks_fd_service_chooser_section_background", + "schema": "public", + "values": [ + "gray", + "white", + "navy" + ] + }, + "public.enum_pages_blocks_fd_data_table_data_source": { + "name": "enum_pages_blocks_fd_data_table_data_source", + "schema": "public", + "values": [ + "upload", + "manual" + ] + }, + "public.enum_pages_blocks_fd_data_table_section_background": { + "name": "enum_pages_blocks_fd_data_table_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum_pages_blocks_fd_data_table_header_style": { + "name": "enum_pages_blocks_fd_data_table_header_style", + "schema": "public", + "values": [ + "navy", + "yellow", + "mint", + "gray" + ] + }, + "public.enum_pages_blocks_fd_vps_calculator_section_background": { + "name": "enum_pages_blocks_fd_vps_calculator_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_service_calc_section_background": { + "name": "enum_pages_blocks_fd_service_calc_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_tags_tag_style": { + "name": "enum_pages_blocks_fd_tags_tag_style", + "schema": "public", + "values": [ + "navy", + "yellow", + "outlined", + "gray" + ] + }, + "public.enum_pages_blocks_fd_tags_tag_size": { + "name": "enum_pages_blocks_fd_tags_tag_size", + "schema": "public", + "values": [ + "small", + "medium", + "large" + ] + }, + "public.enum_pages_blocks_fd_tags_alignment": { + "name": "enum_pages_blocks_fd_tags_alignment", + "schema": "public", + "values": [ + "left", + "center" + ] + }, + "public.enum_pages_blocks_fd_tags_section_background": { + "name": "enum_pages_blocks_fd_tags_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum_pages_blocks_fd_text_alignment": { + "name": "enum_pages_blocks_fd_text_alignment", + "schema": "public", + "values": [ + "left", + "center", + "right" + ] + }, + "public.enum_pages_blocks_fd_text_text_color": { + "name": "enum_pages_blocks_fd_text_text_color", + "schema": "public", + "values": [ + "navy", + "white", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_text_section_background": { + "name": "enum_pages_blocks_fd_text_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_text_max_width": { + "name": "enum_pages_blocks_fd_text_max_width", + "schema": "public", + "values": [ + "narrow", + "medium", + "wide", + "full" + ] + }, + "public.enum_pages_blocks_fd_code_embed_embed_type": { + "name": "enum_pages_blocks_fd_code_embed_embed_type", + "schema": "public", + "values": [ + "iframe", + "custom" + ] + }, + "public.enum_pages_blocks_fd_code_embed_max_width": { + "name": "enum_pages_blocks_fd_code_embed_max_width", + "schema": "public", + "values": [ + "default", + "narrow", + "wide", + "full" + ] + }, + "public.enum_pages_blocks_fd_code_embed_section_background": { + "name": "enum_pages_blocks_fd_code_embed_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow", + "transparent" + ] + }, + "public.enum_pages_blocks_fd_code_embed_text_color": { + "name": "enum_pages_blocks_fd_code_embed_text_color", + "schema": "public", + "values": [ + "auto", + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_code_embed_embed_background": { + "name": "enum_pages_blocks_fd_code_embed_embed_background", + "schema": "public", + "values": [ + "none", + "card", + "navy-card" + ] + }, + "public.enum_pages_blocks_fd_video_video_source": { + "name": "enum_pages_blocks_fd_video_video_source", + "schema": "public", + "values": [ + "upload", + "youtube", + "vimeo" + ] + }, + "public.enum_pages_blocks_fd_video_aspect_ratio": { + "name": "enum_pages_blocks_fd_video_aspect_ratio", + "schema": "public", + "values": [ + "16/9", + "16/10" + ] + }, + "public.enum_pages_blocks_fd_video_max_width": { + "name": "enum_pages_blocks_fd_video_max_width", + "schema": "public", + "values": [ + "default", + "narrow", + "wide" + ] + }, + "public.enum_pages_blocks_fd_video_section_background": { + "name": "enum_pages_blocks_fd_video_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow", + "transparent" + ] + }, + "public.enum_pages_blocks_fd_video_text_color": { + "name": "enum_pages_blocks_fd_video_text_color", + "schema": "public", + "values": [ + "auto", + "navy", + "white" + ] + }, + "public.enum_pages_blocks_fd_cta_banner_section_background": { + "name": "enum_pages_blocks_fd_cta_banner_section_background", + "schema": "public", + "values": [ + "yellow", + "navy", + "gray", + "white" + ] + }, + "public.enum_pages_blocks_fd_cta_banner_alignment": { + "name": "enum_pages_blocks_fd_cta_banner_alignment", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum_pages_blocks_fd_cta_banner_size": { + "name": "enum_pages_blocks_fd_cta_banner_size", + "schema": "public", + "values": [ + "small", + "medium", + "large" + ] + }, + "public.enum_pages_blocks_fd_testimonial_layout": { + "name": "enum_pages_blocks_fd_testimonial_layout", + "schema": "public", + "values": [ + "grid", + "featured" + ] + }, + "public.enum_pages_blocks_fd_testimonial_section_background": { + "name": "enum_pages_blocks_fd_testimonial_section_background", + "schema": "public", + "values": [ + "gray", + "white", + "navy" + ] + }, + "public.enum_pages_blocks_fd_team_columns": { + "name": "enum_pages_blocks_fd_team_columns", + "schema": "public", + "values": [ + "2", + "3", + "4" + ] + }, + "public.enum_pages_blocks_fd_team_card_style": { + "name": "enum_pages_blocks_fd_team_card_style", + "schema": "public", + "values": [ + "navy", + "white", + "gray" + ] + }, + "public.enum_pages_blocks_fd_team_section_background": { + "name": "enum_pages_blocks_fd_team_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_link_cards_columns": { + "name": "enum_pages_blocks_fd_link_cards_columns", + "schema": "public", + "values": [ + "2", + "3", + "4" + ] + }, + "public.enum_pages_blocks_fd_link_cards_card_style": { + "name": "enum_pages_blocks_fd_link_cards_card_style", + "schema": "public", + "values": [ + "outlined", + "navy", + "gray", + "yellow" + ] + }, + "public.enum_pages_blocks_fd_link_cards_section_background": { + "name": "enum_pages_blocks_fd_link_cards_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_blocks_fd_spec_cards_layout": { + "name": "enum_pages_blocks_fd_spec_cards_layout", + "schema": "public", + "values": [ + "sideBySide", + "sideBySideReverse", + "fullWidth" + ] + }, + "public.enum_pages_blocks_fd_spec_cards_card_style": { + "name": "enum_pages_blocks_fd_spec_cards_card_style", + "schema": "public", + "values": [ + "outlined", + "navy", + "gray", + "white" + ] + }, + "public.enum_pages_blocks_fd_spec_cards_section_background": { + "name": "enum_pages_blocks_fd_spec_cards_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy", + "navyGradient" + ] + }, + "public.enum_pages_blocks_fd_quiz_section_background": { + "name": "enum_pages_blocks_fd_quiz_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_pages_status": { + "name": "enum_pages_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__pages_v_blocks_fd_hero_overlay_opacity": { + "name": "enum__pages_v_blocks_fd_hero_overlay_opacity", + "schema": "public", + "values": [ + "30", + "50", + "70" + ] + }, + "public.enum__pages_v_blocks_fd_hero_text_color": { + "name": "enum__pages_v_blocks_fd_hero_text_color", + "schema": "public", + "values": [ + "auto", + "white", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_hero_theme": { + "name": "enum__pages_v_blocks_fd_hero_theme", + "schema": "public", + "values": [ + "light", + "dark" + ] + }, + "public.enum__pages_v_blocks_fd_cta_side_image_image_overlay": { + "name": "enum__pages_v_blocks_fd_cta_side_image_image_overlay", + "schema": "public", + "values": [ + "none", + "navyLight", + "navyMedium", + "yellowLight", + "yellowMedium", + "sepia", + "blackLight", + "blackMedium" + ] + }, + "public.enum__pages_v_blocks_fd_cta_side_image_image_position": { + "name": "enum__pages_v_blocks_fd_cta_side_image_image_position", + "schema": "public", + "values": [ + "right", + "left" + ] + }, + "public.enum__pages_v_blocks_fd_cta_side_image_theme": { + "name": "enum__pages_v_blocks_fd_cta_side_image_theme", + "schema": "public", + "values": [ + "light", + "dark" + ] + }, + "public.enum__pages_v_blocks_fd_feature_announcement_theme": { + "name": "enum__pages_v_blocks_fd_feature_announcement_theme", + "schema": "public", + "values": [ + "gray", + "light", + "dark" + ] + }, + "public.enum__pages_v_blocks_fd_services_grid_columns": { + "name": "enum__pages_v_blocks_fd_services_grid_columns", + "schema": "public", + "values": [ + "2", + "3", + "4" + ] + }, + "public.enum__pages_v_blocks_fd_faq_theme": { + "name": "enum__pages_v_blocks_fd_faq_theme", + "schema": "public", + "values": [ + "gray", + "light", + "dark" + ] + }, + "public.enum__pages_v_blocks_fd_card_grid_cards_content_lines_style": { + "name": "enum__pages_v_blocks_fd_card_grid_cards_content_lines_style", + "schema": "public", + "values": [ + "normal", + "bold", + "italic", + "boldItalic" + ] + }, + "public.enum__pages_v_blocks_fd_card_grid_cards_display_mode": { + "name": "enum__pages_v_blocks_fd_card_grid_cards_display_mode", + "schema": "public", + "values": [ + "content", + "centeredHeading", + "centeredBody" + ] + }, + "public.enum__pages_v_blocks_fd_card_grid_layout": { + "name": "enum__pages_v_blocks_fd_card_grid_layout", + "schema": "public", + "values": [ + "1-2", + "2-1", + "1-1-1", + "1-1" + ] + }, + "public.enum__pages_v_blocks_fd_card_grid_card_style": { + "name": "enum__pages_v_blocks_fd_card_grid_card_style", + "schema": "public", + "values": [ + "navy", + "gray", + "yellow", + "green", + "outlined" + ] + }, + "public.enum__pages_v_blocks_fd_card_grid_section_background": { + "name": "enum__pages_v_blocks_fd_card_grid_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_pricing_card_card_style": { + "name": "enum__pages_v_blocks_fd_pricing_card_card_style", + "schema": "public", + "values": [ + "outlined", + "navy", + "gray", + "yellow", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_pricing_card_button_color": { + "name": "enum__pages_v_blocks_fd_pricing_card_button_color", + "schema": "public", + "values": [ + "yellow", + "navy", + "outlinedNavy", + "outlinedWhite" + ] + }, + "public.enum__pages_v_blocks_fd_pricing_card_section_background": { + "name": "enum__pages_v_blocks_fd_pricing_card_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_pricing_card_title_color": { + "name": "enum__pages_v_blocks_fd_pricing_card_title_color", + "schema": "public", + "values": [ + "navy", + "white", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_spacer_height": { + "name": "enum__pages_v_blocks_fd_spacer_height", + "schema": "public", + "values": [ + "sm", + "md", + "lg", + "xl" + ] + }, + "public.enum__pages_v_blocks_fd_spacer_section_background": { + "name": "enum__pages_v_blocks_fd_spacer_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow", + "transparent" + ] + }, + "public.enum__pages_v_blocks_fd_icon_bar_icon_style": { + "name": "enum__pages_v_blocks_fd_icon_bar_icon_style", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray", + "none" + ] + }, + "public.enum__pages_v_blocks_fd_icon_bar_section_background": { + "name": "enum__pages_v_blocks_fd_icon_bar_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_icon_bar_text_color": { + "name": "enum__pages_v_blocks_fd_icon_bar_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_usp_checklist_image_position": { + "name": "enum__pages_v_blocks_fd_usp_checklist_image_position", + "schema": "public", + "values": [ + "right", + "left" + ] + }, + "public.enum__pages_v_blocks_fd_usp_checklist_check_color": { + "name": "enum__pages_v_blocks_fd_usp_checklist_check_color", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_usp_checklist_section_background": { + "name": "enum__pages_v_blocks_fd_usp_checklist_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_usp_checklist_text_color": { + "name": "enum__pages_v_blocks_fd_usp_checklist_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_wide_card_card_background": { + "name": "enum__pages_v_blocks_fd_wide_card_card_background", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_wide_card_button_color": { + "name": "enum__pages_v_blocks_fd_wide_card_button_color", + "schema": "public", + "values": [ + "yellow", + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_wide_card_section_background": { + "name": "enum__pages_v_blocks_fd_wide_card_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_tech_properties_section_background": { + "name": "enum__pages_v_blocks_fd_tech_properties_section_background", + "schema": "public", + "values": [ + "navy", + "white", + "gray", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_tech_properties_category_color": { + "name": "enum__pages_v_blocks_fd_tech_properties_category_color", + "schema": "public", + "values": [ + "white", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_tech_properties_value_color": { + "name": "enum__pages_v_blocks_fd_tech_properties_value_color", + "schema": "public", + "values": [ + "yellow", + "white", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_usp_table_check_color": { + "name": "enum__pages_v_blocks_fd_usp_table_check_color", + "schema": "public", + "values": [ + "navy", + "yellow", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_usp_table_section_background": { + "name": "enum__pages_v_blocks_fd_usp_table_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_usp_table_text_color": { + "name": "enum__pages_v_blocks_fd_usp_table_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_header_text_image_image_overlay": { + "name": "enum__pages_v_blocks_fd_header_text_image_image_overlay", + "schema": "public", + "values": [ + "none", + "navyLight", + "navyMedium", + "yellowLight", + "yellowMedium", + "sepia", + "blackLight", + "blackMedium" + ] + }, + "public.enum__pages_v_blocks_fd_header_text_image_image_rounded": { + "name": "enum__pages_v_blocks_fd_header_text_image_image_rounded", + "schema": "public", + "values": [ + "none", + "medium", + "large" + ] + }, + "public.enum__pages_v_blocks_fd_header_text_image_text_align": { + "name": "enum__pages_v_blocks_fd_header_text_image_text_align", + "schema": "public", + "values": [ + "left", + "center" + ] + }, + "public.enum__pages_v_blocks_fd_header_text_image_section_background": { + "name": "enum__pages_v_blocks_fd_header_text_image_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_header_text_image_text_color": { + "name": "enum__pages_v_blocks_fd_header_text_image_text_color", + "schema": "public", + "values": [ + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_contact_form_section_background": { + "name": "enum__pages_v_blocks_fd_contact_form_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy", + "navyGradient" + ] + }, + "public.enum__pages_v_blocks_fd_contact_form_layout": { + "name": "enum__pages_v_blocks_fd_contact_form_layout", + "schema": "public", + "values": [ + "standard", + "withImage", + "card" + ] + }, + "public.enum__pages_v_blocks_fd_locations_grid_hover_color": { + "name": "enum__pages_v_blocks_fd_locations_grid_hover_color", + "schema": "public", + "values": [ + "navy", + "yellow", + "mint" + ] + }, + "public.enum__pages_v_blocks_fd_locations_grid_section_background": { + "name": "enum__pages_v_blocks_fd_locations_grid_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_alternate_hero_section_background": { + "name": "enum__pages_v_blocks_fd_alternate_hero_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_statistics_section_background": { + "name": "enum__pages_v_blocks_fd_statistics_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_statistics_number_color": { + "name": "enum__pages_v_blocks_fd_statistics_number_color", + "schema": "public", + "values": [ + "gradient", + "yellow", + "mint", + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_partners_logos_display_mode": { + "name": "enum__pages_v_blocks_fd_partners_logos_display_mode", + "schema": "public", + "values": [ + "color", + "monochrome" + ] + }, + "public.enum__pages_v_blocks_fd_partners_logos_section_background": { + "name": "enum__pages_v_blocks_fd_partners_logos_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_newsletter_layout": { + "name": "enum__pages_v_blocks_fd_newsletter_layout", + "schema": "public", + "values": [ + "inline", + "stacked", + "card" + ] + }, + "public.enum__pages_v_blocks_fd_newsletter_section_background": { + "name": "enum__pages_v_blocks_fd_newsletter_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_newsletter_text_color": { + "name": "enum__pages_v_blocks_fd_newsletter_text_color", + "schema": "public", + "values": [ + "auto", + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_service_chooser_section_background": { + "name": "enum__pages_v_blocks_fd_service_chooser_section_background", + "schema": "public", + "values": [ + "gray", + "white", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_data_table_data_source": { + "name": "enum__pages_v_blocks_fd_data_table_data_source", + "schema": "public", + "values": [ + "upload", + "manual" + ] + }, + "public.enum__pages_v_blocks_fd_data_table_section_background": { + "name": "enum__pages_v_blocks_fd_data_table_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_data_table_header_style": { + "name": "enum__pages_v_blocks_fd_data_table_header_style", + "schema": "public", + "values": [ + "navy", + "yellow", + "mint", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_vps_calculator_section_background": { + "name": "enum__pages_v_blocks_fd_vps_calculator_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_service_calc_section_background": { + "name": "enum__pages_v_blocks_fd_service_calc_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_tags_tag_style": { + "name": "enum__pages_v_blocks_fd_tags_tag_style", + "schema": "public", + "values": [ + "navy", + "yellow", + "outlined", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_tags_tag_size": { + "name": "enum__pages_v_blocks_fd_tags_tag_size", + "schema": "public", + "values": [ + "small", + "medium", + "large" + ] + }, + "public.enum__pages_v_blocks_fd_tags_alignment": { + "name": "enum__pages_v_blocks_fd_tags_alignment", + "schema": "public", + "values": [ + "left", + "center" + ] + }, + "public.enum__pages_v_blocks_fd_tags_section_background": { + "name": "enum__pages_v_blocks_fd_tags_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_text_alignment": { + "name": "enum__pages_v_blocks_fd_text_alignment", + "schema": "public", + "values": [ + "left", + "center", + "right" + ] + }, + "public.enum__pages_v_blocks_fd_text_text_color": { + "name": "enum__pages_v_blocks_fd_text_text_color", + "schema": "public", + "values": [ + "navy", + "white", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_text_section_background": { + "name": "enum__pages_v_blocks_fd_text_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_text_max_width": { + "name": "enum__pages_v_blocks_fd_text_max_width", + "schema": "public", + "values": [ + "narrow", + "medium", + "wide", + "full" + ] + }, + "public.enum__pages_v_blocks_fd_code_embed_embed_type": { + "name": "enum__pages_v_blocks_fd_code_embed_embed_type", + "schema": "public", + "values": [ + "iframe", + "custom" + ] + }, + "public.enum__pages_v_blocks_fd_code_embed_max_width": { + "name": "enum__pages_v_blocks_fd_code_embed_max_width", + "schema": "public", + "values": [ + "default", + "narrow", + "wide", + "full" + ] + }, + "public.enum__pages_v_blocks_fd_code_embed_section_background": { + "name": "enum__pages_v_blocks_fd_code_embed_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow", + "transparent" + ] + }, + "public.enum__pages_v_blocks_fd_code_embed_text_color": { + "name": "enum__pages_v_blocks_fd_code_embed_text_color", + "schema": "public", + "values": [ + "auto", + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_code_embed_embed_background": { + "name": "enum__pages_v_blocks_fd_code_embed_embed_background", + "schema": "public", + "values": [ + "none", + "card", + "navy-card" + ] + }, + "public.enum__pages_v_blocks_fd_video_video_source": { + "name": "enum__pages_v_blocks_fd_video_video_source", + "schema": "public", + "values": [ + "upload", + "youtube", + "vimeo" + ] + }, + "public.enum__pages_v_blocks_fd_video_aspect_ratio": { + "name": "enum__pages_v_blocks_fd_video_aspect_ratio", + "schema": "public", + "values": [ + "16/9", + "16/10" + ] + }, + "public.enum__pages_v_blocks_fd_video_max_width": { + "name": "enum__pages_v_blocks_fd_video_max_width", + "schema": "public", + "values": [ + "default", + "narrow", + "wide" + ] + }, + "public.enum__pages_v_blocks_fd_video_section_background": { + "name": "enum__pages_v_blocks_fd_video_section_background", + "schema": "public", + "values": [ + "white", + "navy", + "gray", + "yellow", + "transparent" + ] + }, + "public.enum__pages_v_blocks_fd_video_text_color": { + "name": "enum__pages_v_blocks_fd_video_text_color", + "schema": "public", + "values": [ + "auto", + "navy", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_cta_banner_section_background": { + "name": "enum__pages_v_blocks_fd_cta_banner_section_background", + "schema": "public", + "values": [ + "yellow", + "navy", + "gray", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_cta_banner_alignment": { + "name": "enum__pages_v_blocks_fd_cta_banner_alignment", + "schema": "public", + "values": [ + "center", + "left" + ] + }, + "public.enum__pages_v_blocks_fd_cta_banner_size": { + "name": "enum__pages_v_blocks_fd_cta_banner_size", + "schema": "public", + "values": [ + "small", + "medium", + "large" + ] + }, + "public.enum__pages_v_blocks_fd_testimonial_layout": { + "name": "enum__pages_v_blocks_fd_testimonial_layout", + "schema": "public", + "values": [ + "grid", + "featured" + ] + }, + "public.enum__pages_v_blocks_fd_testimonial_section_background": { + "name": "enum__pages_v_blocks_fd_testimonial_section_background", + "schema": "public", + "values": [ + "gray", + "white", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_team_columns": { + "name": "enum__pages_v_blocks_fd_team_columns", + "schema": "public", + "values": [ + "2", + "3", + "4" + ] + }, + "public.enum__pages_v_blocks_fd_team_card_style": { + "name": "enum__pages_v_blocks_fd_team_card_style", + "schema": "public", + "values": [ + "navy", + "white", + "gray" + ] + }, + "public.enum__pages_v_blocks_fd_team_section_background": { + "name": "enum__pages_v_blocks_fd_team_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_link_cards_columns": { + "name": "enum__pages_v_blocks_fd_link_cards_columns", + "schema": "public", + "values": [ + "2", + "3", + "4" + ] + }, + "public.enum__pages_v_blocks_fd_link_cards_card_style": { + "name": "enum__pages_v_blocks_fd_link_cards_card_style", + "schema": "public", + "values": [ + "outlined", + "navy", + "gray", + "yellow" + ] + }, + "public.enum__pages_v_blocks_fd_link_cards_section_background": { + "name": "enum__pages_v_blocks_fd_link_cards_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_blocks_fd_spec_cards_layout": { + "name": "enum__pages_v_blocks_fd_spec_cards_layout", + "schema": "public", + "values": [ + "sideBySide", + "sideBySideReverse", + "fullWidth" + ] + }, + "public.enum__pages_v_blocks_fd_spec_cards_card_style": { + "name": "enum__pages_v_blocks_fd_spec_cards_card_style", + "schema": "public", + "values": [ + "outlined", + "navy", + "gray", + "white" + ] + }, + "public.enum__pages_v_blocks_fd_spec_cards_section_background": { + "name": "enum__pages_v_blocks_fd_spec_cards_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy", + "navyGradient" + ] + }, + "public.enum__pages_v_blocks_fd_quiz_section_background": { + "name": "enum__pages_v_blocks_fd_quiz_section_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum__pages_v_version_status": { + "name": "enum__pages_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__pages_v_published_locale": { + "name": "enum__pages_v_published_locale", + "schema": "public", + "values": [ + "sv", + "en" + ] + }, + "public.enum_posts_status": { + "name": "enum_posts_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__posts_v_version_status": { + "name": "enum__posts_v_version_status", + "schema": "public", + "values": [ + "draft", + "published" + ] + }, + "public.enum__posts_v_published_locale": { + "name": "enum__posts_v_published_locale", + "schema": "public", + "values": [ + "sv", + "en" + ] + }, + "public.enum_users_role": { + "name": "enum_users_role", + "schema": "public", + "values": [ + "admin", + "editor" + ] + }, + "public.enum_redirects_to_type": { + "name": "enum_redirects_to_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_forms_confirmation_type": { + "name": "enum_forms_confirmation_type", + "schema": "public", + "values": [ + "message", + "redirect" + ] + }, + "public.enum_payload_jobs_log_task_slug": { + "name": "enum_payload_jobs_log_task_slug", + "schema": "public", + "values": [ + "inline", + "schedulePublish" + ] + }, + "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", + "schedulePublish" + ] + }, + "public.enum_header_nav_items_children_type": { + "name": "enum_header_nav_items_children_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_header_nav_items_type": { + "name": "enum_header_nav_items_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_header_logo_link_type": { + "name": "enum_header_logo_link_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_footer_columns_links_link_type": { + "name": "enum_footer_columns_links_link_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_footer_nav_items_link_type": { + "name": "enum_footer_nav_items_link_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_footer_logo_link_type": { + "name": "enum_footer_logo_link_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_announcement_bar_button_link_type": { + "name": "enum_announcement_bar_button_link_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_announcement_bar_background_color": { + "name": "enum_announcement_bar_background_color", + "schema": "public", + "values": [ + "yellow", + "navy", + "mint" + ] + }, + "public.enum_popup_announcement_cta_link_type": { + "name": "enum_popup_announcement_cta_link_type", + "schema": "public", + "values": [ + "reference", + "custom" + ] + }, + "public.enum_popup_announcement_theme": { + "name": "enum_popup_announcement_theme", + "schema": "public", + "values": [ + "light", + "dark" + ] + }, + "public.enum_popup_announcement_show_on_pages": { + "name": "enum_popup_announcement_show_on_pages", + "schema": "public", + "values": [ + "all", + "home", + "specific" + ] + }, + "public.enum_site_settings_cookie_consent_accepted_days": { + "name": "enum_site_settings_cookie_consent_accepted_days", + "schema": "public", + "values": [ + "0", + "30", + "90", + "180", + "365" + ] + }, + "public.enum_site_settings_cookie_consent_declined_days": { + "name": "enum_site_settings_cookie_consent_declined_days", + "schema": "public", + "values": [ + "0", + "7", + "14", + "30", + "90" + ] + }, + "public.enum_post_settings_listing_background": { + "name": "enum_post_settings_listing_background", + "schema": "public", + "values": [ + "white", + "gray", + "navy" + ] + }, + "public.enum_post_settings_cta_variant": { + "name": "enum_post_settings_cta_variant", + "schema": "public", + "values": [ + "primary", + "outline" + ] + } + }, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "schemas": {}, + "tables": {}, + "columns": {} + }, + "id": "d63e7307-67d0-48c8-abd0-e32d5c0c8832", + "prevId": "00000000-0000-0000-0000-000000000000" +} \ No newline at end of file diff --git a/src/migrations/20260304_194657.ts b/src/migrations/20260304_194657.ts new file mode 100644 index 0000000..415894b --- /dev/null +++ b/src/migrations/20260304_194657.ts @@ -0,0 +1,461 @@ +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_fd_link_cards_columns" AS ENUM('2', '3', '4'); + CREATE TYPE "public"."enum_pages_blocks_fd_link_cards_card_style" AS ENUM('outlined', 'navy', 'gray', 'yellow'); + CREATE TYPE "public"."enum_pages_blocks_fd_link_cards_section_background" AS ENUM('white', 'gray', 'navy'); + CREATE TYPE "public"."enum_pages_blocks_fd_spec_cards_layout" AS ENUM('sideBySide', 'sideBySideReverse', 'fullWidth'); + CREATE TYPE "public"."enum_pages_blocks_fd_spec_cards_card_style" AS ENUM('outlined', 'navy', 'gray', 'white'); + CREATE TYPE "public"."enum_pages_blocks_fd_spec_cards_section_background" AS ENUM('white', 'gray', 'navy', 'navyGradient'); + CREATE TYPE "public"."enum_pages_blocks_fd_quiz_section_background" AS ENUM('white', 'gray', 'navy'); + CREATE TYPE "public"."enum__pages_v_blocks_fd_link_cards_columns" AS ENUM('2', '3', '4'); + CREATE TYPE "public"."enum__pages_v_blocks_fd_link_cards_card_style" AS ENUM('outlined', 'navy', 'gray', 'yellow'); + CREATE TYPE "public"."enum__pages_v_blocks_fd_link_cards_section_background" AS ENUM('white', 'gray', 'navy'); + CREATE TYPE "public"."enum__pages_v_blocks_fd_spec_cards_layout" AS ENUM('sideBySide', 'sideBySideReverse', 'fullWidth'); + CREATE TYPE "public"."enum__pages_v_blocks_fd_spec_cards_card_style" AS ENUM('outlined', 'navy', 'gray', 'white'); + CREATE TYPE "public"."enum__pages_v_blocks_fd_spec_cards_section_background" AS ENUM('white', 'gray', 'navy', 'navyGradient'); + CREATE TYPE "public"."enum__pages_v_blocks_fd_quiz_section_background" AS ENUM('white', 'gray', 'navy'); + CREATE TABLE "pages_blocks_fd_link_cards_cards" ( + "_order" integer NOT NULL, + "_parent_id" varchar NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "link_url" varchar, + "link_icon_id" integer + ); + + CREATE TABLE "pages_blocks_fd_link_cards_cards_locales" ( + "title" varchar, + "link_label" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_link_cards" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "_path" text NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "icon_id" integer, + "columns" "enum_pages_blocks_fd_link_cards_columns" DEFAULT '3', + "card_style" "enum_pages_blocks_fd_link_cards_card_style" DEFAULT 'outlined', + "section_background" "enum_pages_blocks_fd_link_cards_section_background" DEFAULT 'navy', + "anchor_id" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_fd_link_cards_locales" ( + "heading" varchar, + "description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_spec_cards_cards" ( + "_order" integer NOT NULL, + "_parent_id" varchar NOT NULL, + "id" varchar PRIMARY KEY NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_spec_cards_cards_locales" ( + "title" varchar, + "description" varchar, + "spec_label" varchar, + "spec_value" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_spec_cards" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "_path" text NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "cta_link" varchar DEFAULT '/kontakt', + "secondary_cta_link" varchar, + "layout" "enum_pages_blocks_fd_spec_cards_layout" DEFAULT 'sideBySide', + "card_style" "enum_pages_blocks_fd_spec_cards_card_style" DEFAULT 'outlined', + "section_background" "enum_pages_blocks_fd_spec_cards_section_background" DEFAULT 'navy', + "anchor_id" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_fd_spec_cards_locales" ( + "heading" varchar, + "description" varchar, + "cta_text" varchar, + "secondary_cta_text" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_quiz_outcomes" ( + "_order" integer NOT NULL, + "_parent_id" varchar NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "key" varchar, + "cta_link" varchar DEFAULT '/kontakt' + ); + + CREATE TABLE "pages_blocks_fd_quiz_outcomes_locales" ( + "title" varchar, + "description" varchar, + "cta_text" varchar DEFAULT 'Läs mer', + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_quiz_questions_options" ( + "_order" integer NOT NULL, + "_parent_id" varchar NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "outcome_keys" varchar + ); + + CREATE TABLE "pages_blocks_fd_quiz_questions_options_locales" ( + "label" varchar, + "sublabel" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_quiz_questions" ( + "_order" integer NOT NULL, + "_parent_id" varchar NOT NULL, + "id" varchar PRIMARY KEY NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_quiz_questions_locales" ( + "question" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "pages_blocks_fd_quiz" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "_path" text NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "section_background" "enum_pages_blocks_fd_quiz_section_background" DEFAULT 'navy', + "anchor_id" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_fd_quiz_locales" ( + "heading" varchar DEFAULT 'Vilken tjänst passar dig?', + "description" varchar, + "trigger_label" varchar DEFAULT 'Starta quiz', + "next_label" varchar DEFAULT 'Nästa', + "back_label" varchar DEFAULT 'Tillbaka', + "result_heading" varchar DEFAULT 'Rekommenderat:', + "restart_label" varchar DEFAULT 'Börja om', + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" varchar NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_link_cards_cards" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "link_url" varchar, + "link_icon_id" integer, + "_uuid" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_link_cards_cards_locales" ( + "title" varchar, + "link_label" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_link_cards" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "_path" text NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "icon_id" integer, + "columns" "enum__pages_v_blocks_fd_link_cards_columns" DEFAULT '3', + "card_style" "enum__pages_v_blocks_fd_link_cards_card_style" DEFAULT 'outlined', + "section_background" "enum__pages_v_blocks_fd_link_cards_section_background" DEFAULT 'navy', + "anchor_id" varchar, + "_uuid" varchar, + "block_name" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_link_cards_locales" ( + "heading" varchar, + "description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_spec_cards_cards" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_uuid" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_spec_cards_cards_locales" ( + "title" varchar, + "description" varchar, + "spec_label" varchar, + "spec_value" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_spec_cards" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "_path" text NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "cta_link" varchar DEFAULT '/kontakt', + "secondary_cta_link" varchar, + "layout" "enum__pages_v_blocks_fd_spec_cards_layout" DEFAULT 'sideBySide', + "card_style" "enum__pages_v_blocks_fd_spec_cards_card_style" DEFAULT 'outlined', + "section_background" "enum__pages_v_blocks_fd_spec_cards_section_background" DEFAULT 'navy', + "anchor_id" varchar, + "_uuid" varchar, + "block_name" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_spec_cards_locales" ( + "heading" varchar, + "description" varchar, + "cta_text" varchar, + "secondary_cta_text" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz_outcomes" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "key" varchar, + "cta_link" varchar DEFAULT '/kontakt', + "_uuid" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz_outcomes_locales" ( + "title" varchar, + "description" varchar, + "cta_text" varchar DEFAULT 'Läs mer', + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz_questions_options" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "outcome_keys" varchar, + "_uuid" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz_questions_options_locales" ( + "label" varchar, + "sublabel" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz_questions" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_uuid" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz_questions_locales" ( + "question" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz" ( + "_order" integer NOT NULL, + "_parent_id" integer NOT NULL, + "_path" text NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "section_background" "enum__pages_v_blocks_fd_quiz_section_background" DEFAULT 'navy', + "anchor_id" varchar, + "_uuid" varchar, + "block_name" varchar + ); + + CREATE TABLE "_pages_v_blocks_fd_quiz_locales" ( + "heading" varchar DEFAULT 'Vilken tjänst passar dig?', + "description" varchar, + "trigger_label" varchar DEFAULT 'Starta quiz', + "next_label" varchar DEFAULT 'Nästa', + "back_label" varchar DEFAULT 'Tillbaka', + "result_heading" varchar DEFAULT 'Rekommenderat:', + "restart_label" varchar DEFAULT 'Börja om', + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" integer NOT NULL + ); + + ALTER TABLE "pages_blocks_fd_link_cards_cards" ADD CONSTRAINT "pages_blocks_fd_link_cards_cards_link_icon_id_media_id_fk" FOREIGN KEY ("link_icon_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_link_cards_cards" ADD CONSTRAINT "pages_blocks_fd_link_cards_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_link_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_link_cards_cards_locales" ADD CONSTRAINT "pages_blocks_fd_link_cards_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_link_cards_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_link_cards" ADD CONSTRAINT "pages_blocks_fd_link_cards_icon_id_media_id_fk" FOREIGN KEY ("icon_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_link_cards" ADD CONSTRAINT "pages_blocks_fd_link_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_link_cards_locales" ADD CONSTRAINT "pages_blocks_fd_link_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_link_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_spec_cards_cards" ADD CONSTRAINT "pages_blocks_fd_spec_cards_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_spec_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_spec_cards_cards_locales" ADD CONSTRAINT "pages_blocks_fd_spec_cards_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_spec_cards_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_spec_cards" ADD CONSTRAINT "pages_blocks_fd_spec_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_spec_cards_locales" ADD CONSTRAINT "pages_blocks_fd_spec_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_spec_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz_outcomes" ADD CONSTRAINT "pages_blocks_fd_quiz_outcomes_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_quiz"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz_outcomes_locales" ADD CONSTRAINT "pages_blocks_fd_quiz_outcomes_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_quiz_outcomes"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz_questions_options" ADD CONSTRAINT "pages_blocks_fd_quiz_questions_options_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_quiz_questions"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz_questions_options_locales" ADD CONSTRAINT "pages_blocks_fd_quiz_questions_options_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_quiz_questions_options"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz_questions" ADD CONSTRAINT "pages_blocks_fd_quiz_questions_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_quiz"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz_questions_locales" ADD CONSTRAINT "pages_blocks_fd_quiz_questions_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_quiz_questions"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz" ADD CONSTRAINT "pages_blocks_fd_quiz_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_fd_quiz_locales" ADD CONSTRAINT "pages_blocks_fd_quiz_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages_blocks_fd_quiz"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_link_cards_cards" ADD CONSTRAINT "_pages_v_blocks_fd_link_cards_cards_link_icon_id_media_id_fk" FOREIGN KEY ("link_icon_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_link_cards_cards" ADD CONSTRAINT "_pages_v_blocks_fd_link_cards_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_link_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_link_cards_cards_locales" ADD CONSTRAINT "_pages_v_blocks_fd_link_cards_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_link_cards_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_link_cards" ADD CONSTRAINT "_pages_v_blocks_fd_link_cards_icon_id_media_id_fk" FOREIGN KEY ("icon_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_link_cards" ADD CONSTRAINT "_pages_v_blocks_fd_link_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_link_cards_locales" ADD CONSTRAINT "_pages_v_blocks_fd_link_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_link_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_spec_cards_cards" ADD CONSTRAINT "_pages_v_blocks_fd_spec_cards_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_spec_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_spec_cards_cards_locales" ADD CONSTRAINT "_pages_v_blocks_fd_spec_cards_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_spec_cards_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_spec_cards" ADD CONSTRAINT "_pages_v_blocks_fd_spec_cards_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_spec_cards_locales" ADD CONSTRAINT "_pages_v_blocks_fd_spec_cards_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_spec_cards"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz_outcomes" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_outcomes_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_quiz"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz_outcomes_locales" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_outcomes_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_quiz_outcomes"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz_questions_options" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_questions_options_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_quiz_questions"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz_questions_options_locales" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_questions_options_locales_parent__fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_quiz_questions_options"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz_questions" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_questions_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_quiz"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz_questions_locales" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_questions_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_quiz_questions"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "_pages_v_blocks_fd_quiz_locales" ADD CONSTRAINT "_pages_v_blocks_fd_quiz_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."_pages_v_blocks_fd_quiz"("id") ON DELETE cascade ON UPDATE no action; + CREATE INDEX "pages_blocks_fd_link_cards_cards_order_idx" ON "pages_blocks_fd_link_cards_cards" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_link_cards_cards_parent_id_idx" ON "pages_blocks_fd_link_cards_cards" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_fd_link_cards_cards_link_icon_idx" ON "pages_blocks_fd_link_cards_cards" USING btree ("link_icon_id"); + CREATE UNIQUE INDEX "pages_blocks_fd_link_cards_cards_locales_locale_parent_id_un" ON "pages_blocks_fd_link_cards_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_blocks_fd_link_cards_order_idx" ON "pages_blocks_fd_link_cards" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_link_cards_parent_id_idx" ON "pages_blocks_fd_link_cards" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_fd_link_cards_path_idx" ON "pages_blocks_fd_link_cards" USING btree ("_path"); + CREATE INDEX "pages_blocks_fd_link_cards_icon_idx" ON "pages_blocks_fd_link_cards" USING btree ("icon_id"); + CREATE UNIQUE INDEX "pages_blocks_fd_link_cards_locales_locale_parent_id_unique" ON "pages_blocks_fd_link_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_blocks_fd_spec_cards_cards_order_idx" ON "pages_blocks_fd_spec_cards_cards" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_spec_cards_cards_parent_id_idx" ON "pages_blocks_fd_spec_cards_cards" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "pages_blocks_fd_spec_cards_cards_locales_locale_parent_id_un" ON "pages_blocks_fd_spec_cards_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_blocks_fd_spec_cards_order_idx" ON "pages_blocks_fd_spec_cards" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_spec_cards_parent_id_idx" ON "pages_blocks_fd_spec_cards" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_fd_spec_cards_path_idx" ON "pages_blocks_fd_spec_cards" USING btree ("_path"); + CREATE UNIQUE INDEX "pages_blocks_fd_spec_cards_locales_locale_parent_id_unique" ON "pages_blocks_fd_spec_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_blocks_fd_quiz_outcomes_order_idx" ON "pages_blocks_fd_quiz_outcomes" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_quiz_outcomes_parent_id_idx" ON "pages_blocks_fd_quiz_outcomes" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "pages_blocks_fd_quiz_outcomes_locales_locale_parent_id_uniqu" ON "pages_blocks_fd_quiz_outcomes_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_blocks_fd_quiz_questions_options_order_idx" ON "pages_blocks_fd_quiz_questions_options" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_quiz_questions_options_parent_id_idx" ON "pages_blocks_fd_quiz_questions_options" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "pages_blocks_fd_quiz_questions_options_locales_locale_parent" ON "pages_blocks_fd_quiz_questions_options_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_blocks_fd_quiz_questions_order_idx" ON "pages_blocks_fd_quiz_questions" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_quiz_questions_parent_id_idx" ON "pages_blocks_fd_quiz_questions" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "pages_blocks_fd_quiz_questions_locales_locale_parent_id_uniq" ON "pages_blocks_fd_quiz_questions_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_blocks_fd_quiz_order_idx" ON "pages_blocks_fd_quiz" USING btree ("_order"); + CREATE INDEX "pages_blocks_fd_quiz_parent_id_idx" ON "pages_blocks_fd_quiz" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_fd_quiz_path_idx" ON "pages_blocks_fd_quiz" USING btree ("_path"); + CREATE UNIQUE INDEX "pages_blocks_fd_quiz_locales_locale_parent_id_unique" ON "pages_blocks_fd_quiz_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_link_cards_cards_order_idx" ON "_pages_v_blocks_fd_link_cards_cards" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_link_cards_cards_parent_id_idx" ON "_pages_v_blocks_fd_link_cards_cards" USING btree ("_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_link_cards_cards_link_icon_idx" ON "_pages_v_blocks_fd_link_cards_cards" USING btree ("link_icon_id"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_link_cards_cards_locales_locale_parent_id" ON "_pages_v_blocks_fd_link_cards_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_link_cards_order_idx" ON "_pages_v_blocks_fd_link_cards" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_link_cards_parent_id_idx" ON "_pages_v_blocks_fd_link_cards" USING btree ("_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_link_cards_path_idx" ON "_pages_v_blocks_fd_link_cards" USING btree ("_path"); + CREATE INDEX "_pages_v_blocks_fd_link_cards_icon_idx" ON "_pages_v_blocks_fd_link_cards" USING btree ("icon_id"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_link_cards_locales_locale_parent_id_uniqu" ON "_pages_v_blocks_fd_link_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_spec_cards_cards_order_idx" ON "_pages_v_blocks_fd_spec_cards_cards" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_spec_cards_cards_parent_id_idx" ON "_pages_v_blocks_fd_spec_cards_cards" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_spec_cards_cards_locales_locale_parent_id" ON "_pages_v_blocks_fd_spec_cards_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_spec_cards_order_idx" ON "_pages_v_blocks_fd_spec_cards" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_spec_cards_parent_id_idx" ON "_pages_v_blocks_fd_spec_cards" USING btree ("_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_spec_cards_path_idx" ON "_pages_v_blocks_fd_spec_cards" USING btree ("_path"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_spec_cards_locales_locale_parent_id_uniqu" ON "_pages_v_blocks_fd_spec_cards_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_quiz_outcomes_order_idx" ON "_pages_v_blocks_fd_quiz_outcomes" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_quiz_outcomes_parent_id_idx" ON "_pages_v_blocks_fd_quiz_outcomes" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_quiz_outcomes_locales_locale_parent_id_un" ON "_pages_v_blocks_fd_quiz_outcomes_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_quiz_questions_options_order_idx" ON "_pages_v_blocks_fd_quiz_questions_options" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_quiz_questions_options_parent_id_idx" ON "_pages_v_blocks_fd_quiz_questions_options" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_quiz_questions_options_locales_locale_par" ON "_pages_v_blocks_fd_quiz_questions_options_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_quiz_questions_order_idx" ON "_pages_v_blocks_fd_quiz_questions" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_quiz_questions_parent_id_idx" ON "_pages_v_blocks_fd_quiz_questions" USING btree ("_parent_id"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_quiz_questions_locales_locale_parent_id_u" ON "_pages_v_blocks_fd_quiz_questions_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_quiz_order_idx" ON "_pages_v_blocks_fd_quiz" USING btree ("_order"); + CREATE INDEX "_pages_v_blocks_fd_quiz_parent_id_idx" ON "_pages_v_blocks_fd_quiz" USING btree ("_parent_id"); + CREATE INDEX "_pages_v_blocks_fd_quiz_path_idx" ON "_pages_v_blocks_fd_quiz" USING btree ("_path"); + CREATE UNIQUE INDEX "_pages_v_blocks_fd_quiz_locales_locale_parent_id_unique" ON "_pages_v_blocks_fd_quiz_locales" USING btree ("_locale","_parent_id");`) +} + +export async function down({ db, payload, req }: MigrateDownArgs): Promise { + await db.execute(sql` + DROP TABLE "pages_blocks_fd_link_cards_cards" CASCADE; + DROP TABLE "pages_blocks_fd_link_cards_cards_locales" CASCADE; + DROP TABLE "pages_blocks_fd_link_cards" CASCADE; + DROP TABLE "pages_blocks_fd_link_cards_locales" CASCADE; + DROP TABLE "pages_blocks_fd_spec_cards_cards" CASCADE; + DROP TABLE "pages_blocks_fd_spec_cards_cards_locales" CASCADE; + DROP TABLE "pages_blocks_fd_spec_cards" CASCADE; + DROP TABLE "pages_blocks_fd_spec_cards_locales" CASCADE; + DROP TABLE "pages_blocks_fd_quiz_outcomes" CASCADE; + DROP TABLE "pages_blocks_fd_quiz_outcomes_locales" CASCADE; + DROP TABLE "pages_blocks_fd_quiz_questions_options" CASCADE; + DROP TABLE "pages_blocks_fd_quiz_questions_options_locales" CASCADE; + DROP TABLE "pages_blocks_fd_quiz_questions" CASCADE; + DROP TABLE "pages_blocks_fd_quiz_questions_locales" CASCADE; + DROP TABLE "pages_blocks_fd_quiz" CASCADE; + DROP TABLE "pages_blocks_fd_quiz_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_link_cards_cards" CASCADE; + DROP TABLE "_pages_v_blocks_fd_link_cards_cards_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_link_cards" CASCADE; + DROP TABLE "_pages_v_blocks_fd_link_cards_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_spec_cards_cards" CASCADE; + DROP TABLE "_pages_v_blocks_fd_spec_cards_cards_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_spec_cards" CASCADE; + DROP TABLE "_pages_v_blocks_fd_spec_cards_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz_outcomes" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz_outcomes_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz_questions_options" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz_questions_options_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz_questions" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz_questions_locales" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz" CASCADE; + DROP TABLE "_pages_v_blocks_fd_quiz_locales" CASCADE; + DROP TYPE "public"."enum_pages_blocks_fd_link_cards_columns"; + DROP TYPE "public"."enum_pages_blocks_fd_link_cards_card_style"; + DROP TYPE "public"."enum_pages_blocks_fd_link_cards_section_background"; + DROP TYPE "public"."enum_pages_blocks_fd_spec_cards_layout"; + DROP TYPE "public"."enum_pages_blocks_fd_spec_cards_card_style"; + DROP TYPE "public"."enum_pages_blocks_fd_spec_cards_section_background"; + DROP TYPE "public"."enum_pages_blocks_fd_quiz_section_background"; + DROP TYPE "public"."enum__pages_v_blocks_fd_link_cards_columns"; + DROP TYPE "public"."enum__pages_v_blocks_fd_link_cards_card_style"; + DROP TYPE "public"."enum__pages_v_blocks_fd_link_cards_section_background"; + DROP TYPE "public"."enum__pages_v_blocks_fd_spec_cards_layout"; + DROP TYPE "public"."enum__pages_v_blocks_fd_spec_cards_card_style"; + DROP TYPE "public"."enum__pages_v_blocks_fd_spec_cards_section_background"; + DROP TYPE "public"."enum__pages_v_blocks_fd_quiz_section_background";`) +} diff --git a/src/migrations/index.ts b/src/migrations/index.ts index 6983fa8..679b75d 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -2,6 +2,7 @@ import * as migration_20260224_091812_add_anchor_links from './20260224_091812_a import * as migration_20260224_133833 from './20260224_133833'; import * as migration_20260226_095439 from './20260226_095439'; import * as migration_20260302_145030 from './20260302_145030'; +import * as migration_20260304_194657 from './20260304_194657'; export const migrations = [ { @@ -22,6 +23,11 @@ export const migrations = [ { up: migration_20260302_145030.up, down: migration_20260302_145030.down, - name: '20260302_145030' + name: '20260302_145030', + }, + { + up: migration_20260304_194657.up, + down: migration_20260304_194657.down, + name: '20260304_194657' }, ]; diff --git a/src/payload-types.ts b/src/payload-types.ts index 2009b6c..710736b 100644 --- a/src/payload-types.ts +++ b/src/payload-types.ts @@ -188,6 +188,9 @@ export interface Page { | FDCtaBannerBlock | FDTestimonialBlock | FDTeamBlock + | FDLinkCardsBlock + | FDSpecCardsBlock + | FDQuizBlock )[]; meta?: { title?: string | null; @@ -1506,6 +1509,116 @@ export interface FDTeamBlock { blockName?: string | null; blockType: 'fdTeam'; } +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "FDLinkCardsBlock". + */ +export interface FDLinkCardsBlock { + icon?: (number | null) | Media; + heading: string; + description?: string | null; + cards?: + | { + title: string; + linkLabel: string; + linkUrl: string; + linkIcon?: (number | null) | Media; + id?: string | null; + }[] + | null; + columns?: ('2' | '3' | '4') | null; + cardStyle?: ('outlined' | 'navy' | 'gray' | 'yellow') | null; + sectionBackground?: ('white' | 'gray' | 'navy') | null; + /** + * Valfritt. Används för att länka direkt till denna sektion, t.ex. "priser" ger /sida#priser. Använd bara små bokstäver, siffror och bindestreck. + */ + anchorId?: string | null; + id?: string | null; + blockName?: string | null; + blockType: 'fdLinkCards'; +} +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "FDSpecCardsBlock". + */ +export interface FDSpecCardsBlock { + heading: string; + description?: string | null; + ctaText?: string | null; + ctaLink?: string | null; + secondaryCtaText?: string | null; + secondaryCtaLink?: string | null; + cards?: + | { + title: string; + description?: string | null; + specLabel?: string | null; + specValue?: string | null; + id?: string | null; + }[] + | null; + layout?: ('sideBySide' | 'sideBySideReverse' | 'fullWidth') | null; + cardStyle?: ('outlined' | 'navy' | 'gray' | 'white') | null; + sectionBackground?: ('white' | 'gray' | 'navy' | 'navyGradient') | null; + /** + * Valfritt. Används för att länka direkt till denna sektion, t.ex. "priser" ger /sida#priser. Använd bara små bokstäver, siffror och bindestreck. + */ + anchorId?: string | null; + id?: string | null; + blockName?: string | null; + blockType: 'fdSpecCards'; +} +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "FDQuizBlock". + */ +export interface FDQuizBlock { + heading: string; + description?: string | null; + triggerLabel?: string | null; + outcomes?: + | { + /** + * Används i frågornas alternativ. Bara små bokstäver, inga mellanslag. + */ + key: string; + title: string; + description?: string | null; + ctaText?: string | null; + ctaLink?: string | null; + id?: string | null; + }[] + | null; + questions?: + | { + question: string; + options?: + | { + label: string; + sublabel?: string | null; + /** + * Varje valt alternativ ger +1 poäng till angivna resultatnycklar. + */ + outcomeKeys: string; + id?: string | null; + }[] + | null; + id?: string | null; + }[] + | null; + nextLabel?: string | null; + backLabel?: string | null; + resultHeading?: string | null; + restartLabel?: string | null; + sectionBackground?: ('white' | 'gray' | 'navy') | null; + /** + * Valfritt. Används för att länka direkt till denna sektion, t.ex. "priser" ger /sida#priser. Använd bara små bokstäver, siffror och bindestreck. + */ + anchorId?: string | null; + id?: string | null; + blockName?: string | null; + blockType: 'fdQuiz'; +} /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "posts". @@ -1886,6 +1999,9 @@ export interface PagesSelect { fdCtaBanner?: T | FDCtaBannerBlockSelect; fdTestimonial?: T | FDTestimonialBlockSelect; fdTeam?: T | FDTeamBlockSelect; + fdLinkCards?: T | FDLinkCardsBlockSelect; + fdSpecCards?: T | FDSpecCardsBlockSelect; + fdQuiz?: T | FDQuizBlockSelect; }; meta?: | T @@ -2612,6 +2728,98 @@ export interface FDTeamBlockSelect { id?: T; blockName?: T; } +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "FDLinkCardsBlock_select". + */ +export interface FDLinkCardsBlockSelect { + icon?: T; + heading?: T; + description?: T; + cards?: + | T + | { + title?: T; + linkLabel?: T; + linkUrl?: T; + linkIcon?: T; + id?: T; + }; + columns?: T; + cardStyle?: T; + sectionBackground?: T; + anchorId?: T; + id?: T; + blockName?: T; +} +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "FDSpecCardsBlock_select". + */ +export interface FDSpecCardsBlockSelect { + heading?: T; + description?: T; + ctaText?: T; + ctaLink?: T; + secondaryCtaText?: T; + secondaryCtaLink?: T; + cards?: + | T + | { + title?: T; + description?: T; + specLabel?: T; + specValue?: T; + id?: T; + }; + layout?: T; + cardStyle?: T; + sectionBackground?: T; + anchorId?: T; + id?: T; + blockName?: T; +} +/** + * This interface was referenced by `Config`'s JSON-Schema + * via the `definition` "FDQuizBlock_select". + */ +export interface FDQuizBlockSelect { + heading?: T; + description?: T; + triggerLabel?: T; + outcomes?: + | T + | { + key?: T; + title?: T; + description?: T; + ctaText?: T; + ctaLink?: T; + id?: T; + }; + questions?: + | T + | { + question?: T; + options?: + | T + | { + label?: T; + sublabel?: T; + outcomeKeys?: T; + id?: T; + }; + id?: T; + }; + nextLabel?: T; + backLabel?: T; + resultHeading?: T; + restartLabel?: T; + sectionBackground?: T; + anchorId?: T; + id?: T; + blockName?: T; +} /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "posts_select".