From f9fb4d9f90d94100c13ed679f3f3b2fb8c40eadb Mon Sep 17 00:00:00 2001 From: Raffaele Vitiello Date: Fri, 26 Jun 2026 17:19:38 +0200 Subject: [PATCH] feat: Helm chart, container image e pipeline CI/CD - Helm chart in deploy/helm/developers-cms (deployment, service, ingress, secret, PVC media, job migrate + job seed che crea utente e API key) - Dockerfile riscritto: deps con bun, build+runtime su node (glibc, sharp ok), immagine non-standalone con CLI payload per migrate/seed in cluster - Baseline migration completa (CREATE TABLE) al posto delle ALTER-only rotte - CI: test int + e2e, build e push immagine su GHCR, package+push chart Helm OCI --- .github/workflows/ci.yml | 182 + Dockerfile | 98 +- deploy/helm/developers-cms/.helmignore | 10 + deploy/helm/developers-cms/Chart.yaml | 6 + deploy/helm/developers-cms/README.md | 82 + .../helm/developers-cms/templates/NOTES.txt | 29 + .../developers-cms/templates/_helpers.tpl | 104 + .../developers-cms/templates/deployment.yaml | 93 + .../developers-cms/templates/ingress.yaml | 40 + .../developers-cms/templates/job-migrate.yaml | 64 + .../developers-cms/templates/job-seed.yaml | 148 + deploy/helm/developers-cms/templates/pvc.yaml | 20 + .../helm/developers-cms/templates/secret.yaml | 16 + .../developers-cms/templates/service.yaml | 15 + deploy/helm/developers-cms/values.yaml | 104 + src/migrations/20260615_144156.json | 41710 ---------------- src/migrations/20260615_154205.ts | 935 - ...4205.json => 20260626_150106_initial.json} | 134 +- src/migrations/20260626_150106_initial.ts | 5048 ++ src/migrations/index.ts | 8 +- 20 files changed, 6069 insertions(+), 42777 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 deploy/helm/developers-cms/.helmignore create mode 100644 deploy/helm/developers-cms/Chart.yaml create mode 100644 deploy/helm/developers-cms/README.md create mode 100644 deploy/helm/developers-cms/templates/NOTES.txt create mode 100644 deploy/helm/developers-cms/templates/_helpers.tpl create mode 100644 deploy/helm/developers-cms/templates/deployment.yaml create mode 100644 deploy/helm/developers-cms/templates/ingress.yaml create mode 100644 deploy/helm/developers-cms/templates/job-migrate.yaml create mode 100644 deploy/helm/developers-cms/templates/job-seed.yaml create mode 100644 deploy/helm/developers-cms/templates/pvc.yaml create mode 100644 deploy/helm/developers-cms/templates/secret.yaml create mode 100644 deploy/helm/developers-cms/templates/service.yaml create mode 100644 deploy/helm/developers-cms/values.yaml delete mode 100644 src/migrations/20260615_144156.json delete mode 100644 src/migrations/20260615_154205.ts rename src/migrations/{20260615_154205.json => 20260626_150106_initial.json} (99%) create mode 100644 src/migrations/20260626_150106_initial.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6592bc0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,182 @@ +name: CI + +on: + push: + branches: [main] + tags: ['v*'] + pull_request: + branches: [main] + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} # italia/developers-cms + CHART_PATH: deploy/helm/developers-cms + CHART_REGISTRY: oci://ghcr.io/${{ github.repository_owner }}/charts + +jobs: + # ── Test applicativi: integrazione (Payload Local API su Postgres) ────────── + test: + name: Integration tests + runs-on: ubuntu-latest + services: + postgres: + image: postgres:16-alpine + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: developers_cms_test + ports: ['5432:5432'] + options: >- + --health-cmd "pg_isready -U postgres" + --health-interval 5s + --health-timeout 5s + --health-retries 10 + env: + DATABASE_URL: postgres://postgres:postgres@localhost:5432/developers_cms_test + PAYLOAD_SECRET: ci-test-secret + CI: 'true' + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: '1.3' + - run: bun install --frozen-lockfile + - name: Run integration tests + run: bun run test:int + + # ── Test applicativi: end-to-end (Playwright sull'admin Payload) ──────────── + e2e: + name: E2E tests + runs-on: ubuntu-latest + services: + postgres: + image: postgres:16-alpine + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: developers_cms_e2e + ports: ['5432:5432'] + options: >- + --health-cmd "pg_isready -U postgres" + --health-interval 5s + --health-timeout 5s + --health-retries 10 + env: + DATABASE_URL: postgres://postgres:postgres@localhost:5432/developers_cms_e2e + PAYLOAD_SECRET: ci-e2e-secret + CI: 'true' + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + with: + bun-version: '1.3' + - run: bun install --frozen-lockfile + - name: Install Playwright (chromium) + run: bunx playwright install --with-deps chromium + - name: Start app (dev) in background + run: | + nohup bun run dev > dev-server.log 2>&1 & + echo "Attendo l'avvio su http://localhost:3000 ..." + for i in $(seq 1 60); do + if curl -fsS http://localhost:3000/api/access >/dev/null 2>&1; then + echo "App pronta"; exit 0 + fi + sleep 3 + done + echo "Timeout avvio app"; cat dev-server.log; exit 1 + - name: Run E2E tests + run: bun run test:e2e + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-report + path: | + playwright-report/ + dev-server.log + retention-days: 7 + + # ── Build immagine container e push su GHCR ───────────────────────────────── + build-push: + name: Build & push image + runs-on: ubuntu-latest + needs: [test, e2e] + if: github.event_name != 'pull_request' + permissions: + contents: read + packages: write + outputs: + version: ${{ steps.meta.outputs.version }} + steps: + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - name: Login to GHCR + uses: docker/login-action@v3 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Docker metadata + id: meta + uses: docker/metadata-action@v5 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=semver,pattern={{version}} + type=ref,event=branch + type=sha,format=long + type=raw,value=latest,enable={{is_default_branch}} + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max + + # ── Lint, package e push del chart Helm su GHCR (OCI) ─────────────────────── + helm: + name: Package & push Helm chart + runs-on: ubuntu-latest + needs: [build-push] + if: github.event_name != 'pull_request' + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v4 + - uses: azure/setup-helm@v4 + with: + version: v3.16.2 + - name: Lint chart + run: | + helm lint "$CHART_PATH" \ + --set app.databaseUrl=postgres://u:p@db:5432/x \ + --set app.payloadSecret=dummy + - name: Compute versions + id: ver + run: | + if [[ "$GITHUB_REF" == refs/tags/v* ]]; then + CHART_VERSION="${GITHUB_REF#refs/tags/v}" + APP_VERSION="${GITHUB_REF#refs/tags/v}" + else + CHART_VERSION="0.1.0-main.${GITHUB_SHA::7}" + APP_VERSION="sha-${GITHUB_SHA}" + fi + echo "chart=$CHART_VERSION" >> "$GITHUB_OUTPUT" + echo "app=$APP_VERSION" >> "$GITHUB_OUTPUT" + - name: Helm registry login + run: | + echo "${{ secrets.GITHUB_TOKEN }}" | \ + helm registry login ghcr.io -u "${{ github.actor }}" --password-stdin + - name: Package & push + run: | + helm package "$CHART_PATH" \ + --version "${{ steps.ver.outputs.chart }}" \ + --app-version "${{ steps.ver.outputs.app }}" + helm push "developers-cms-${{ steps.ver.outputs.chart }}.tgz" "$CHART_REGISTRY" diff --git a/Dockerfile b/Dockerfile index 20be634..aa6ddbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,71 +1,47 @@ -# To use this Dockerfile, you have to set `output: 'standalone'` in your next.config.mjs file. -# From https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile - -FROM node:22.17.0-alpine AS base - -# Install dependencies only when needed -FROM base AS deps -# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. -RUN apk add --no-cache libc6-compat +# Immagine di produzione per Developers CMS (Payload 3 / Next.js). +# +# Una sola immagine usata per tre scopi (vedi chart Helm in deploy/helm/developers-cms): +# - web: `next start` (default CMD) +# - migrate: `node node_modules/.bin/payload migrate` (job pre-deploy) +# - seed: `node /seed/seed.mjs` (job post-deploy: utente + API key) +# +# Runtime: node (la CLI `payload` richiede node anche se lanciata da bun → spawn node). +# Le dipendenze si installano con bun (lockfile bun.lock); build e runtime girano su node. +# Tutte le stage sono glibc (debian) per compatibilità dei moduli nativi (es. sharp). +# NON è una build "standalone" trimmata: servono node_modules + src (config Payload + +# migrations) per poter eseguire la CLI `payload` in cluster. + +FROM oven/bun:1.3-debian AS deps WORKDIR /app +COPY package.json bun.lock ./ +RUN bun install --frozen-lockfile -# Install dependencies based on the preferred package manager -COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ -RUN \ - if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ - elif [ -f package-lock.json ]; then npm ci; \ - elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \ - else echo "Lockfile not found." && exit 1; \ - fi - - -# Rebuild the source code only when needed -FROM base AS builder +FROM node:22-bookworm-slim AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . +ENV NEXT_TELEMETRY_DISABLED=1 +ENV NODE_OPTIONS=--max-old-space-size=4000 +RUN node_modules/.bin/next build -# Next.js collects completely anonymous telemetry data about general usage. -# Learn more here: https://nextjs.org/telemetry -# Uncomment the following line in case you want to disable telemetry during the build. -# ENV NEXT_TELEMETRY_DISABLED 1 - -RUN \ - if [ -f yarn.lock ]; then yarn run build; \ - elif [ -f package-lock.json ]; then npm run build; \ - elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; \ - else echo "Lockfile not found." && exit 1; \ - fi - -# Production image, copy all the files and run next -FROM base AS runner +FROM node:22-bookworm-slim AS runner WORKDIR /app - -ENV NODE_ENV production -# Uncomment the following line in case you want to disable telemetry during runtime. -# ENV NEXT_TELEMETRY_DISABLED 1 - -RUN addgroup --system --gid 1001 nodejs -RUN adduser --system --uid 1001 nextjs - -# Remove this line if you do not have this folder -COPY --from=builder /app/public ./public - -# Set the correct permission for prerender cache -RUN mkdir .next -RUN chown nextjs:nodejs .next - -# Automatically leverage output traces to reduce image size -# https://nextjs.org/docs/advanced-features/output-file-tracing -COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ -COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static +ENV NODE_ENV=production +ENV NEXT_TELEMETRY_DISABLED=1 +ENV PORT=3000 +ENV HOSTNAME=0.0.0.0 +RUN groupadd -g 1001 nodejs && useradd -u 1001 -g nodejs -m nextjs + +COPY --from=builder /app/node_modules ./node_modules +COPY --from=builder /app/.next ./.next +COPY --from=builder /app/package.json ./package.json +COPY --from=builder /app/next.config.ts ./next.config.ts +COPY --from=builder /app/tsconfig.json ./tsconfig.json +COPY --from=builder /app/src ./src + +# La collection Media scrive i media qui (montare un PVC su /app/media in produzione). +RUN mkdir -p /app/media && chown -R nextjs:nodejs /app/media /app/.next USER nextjs - EXPOSE 3000 - -ENV PORT 3000 - -# server.js is created by next build from the standalone output -# https://nextjs.org/docs/pages/api-reference/next-config-js/output -CMD HOSTNAME="0.0.0.0" node server.js +CMD ["node_modules/.bin/next", "start"] diff --git a/deploy/helm/developers-cms/.helmignore b/deploy/helm/developers-cms/.helmignore new file mode 100644 index 0000000..38b7dfd --- /dev/null +++ b/deploy/helm/developers-cms/.helmignore @@ -0,0 +1,10 @@ +# Patterns to ignore when building packages. +.DS_Store +.git/ +.gitignore +*.tmp +*.bak +*.orig +.vscode/ +.idea/ +README.md diff --git a/deploy/helm/developers-cms/Chart.yaml b/deploy/helm/developers-cms/Chart.yaml new file mode 100644 index 0000000..cd61763 --- /dev/null +++ b/deploy/helm/developers-cms/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: developers-cms +description: Developers CMS (Payload 3 / Next.js) — PostgreSQL e media gestiti esternamente al chart +type: application +version: 0.1.0 +appVersion: "1.0.0" diff --git a/deploy/helm/developers-cms/README.md b/deploy/helm/developers-cms/README.md new file mode 100644 index 0000000..c151fe0 --- /dev/null +++ b/deploy/helm/developers-cms/README.md @@ -0,0 +1,82 @@ +# developers-cms (Helm chart) + +Chart per il deploy di **Developers CMS** (Payload 3 / Next.js) su Kubernetes. +PostgreSQL e media (PVC) sono gestiti esternamente al chart. + +I valori reali per ogni ambiente (DATABASE_URL, PAYLOAD_SECRET, seed/apiKey, ingress) +**non** stanno qui: vivono nel repo `k8s-configuration` sotto +`helm/developers-cms/{test,prod}/values.yaml` e si passano con `-f`. + +## Cosa fa il chart + +| Risorsa | Note | +|---|---| +| Deployment + Service | Next/Payload sulla porta `app.port` (3000). `SITE_URL` per CORS/CSRF derivato dall'ingress se non impostato. | +| Ingress | opzionale, con annotazioni cert-manager (HTTP-01). | +| Secret `-env` | `DATABASE_URL`, `PAYLOAD_SECRET` (hook pre-install, montato come `envFrom`). | +| PVC `-media` | persistenza dei media (`upload: true`). `resource-policy: keep`. | +| Job `-migrate` | hook **pre-install/pre-upgrade**: esegue `payload migrate`. | +| Job `-seed` | hook **post-install/post-upgrade**: crea il primo utente e gli assegna una **API key** deterministica. Idempotente. | + +## Installazione + +```sh +helm upgrade --install developers-cms-test deploy/helm/developers-cms \ + -n developers-cms-test --create-namespace \ + -f /path/to/k8s-configuration/helm/developers-cms/test/values.yaml +``` + +## Seed: utente + API key + +Con `seed.enabled=true` il job post-deploy: + +1. crea il primo utente (`POST /api/users/first-register`) con `seed.user.email` / `seed.user.password` — no-op se esiste già; +2. fa login e abilita la API key sull'utente impostando **`seed.apiKey`** come valore in chiaro. + +Quella `apiKey` è la credenziale che il repo di import (e qualunque client) usa per le API +in lettura e scrittura: + +``` +Authorization: users API-Key +``` + +```sh +curl -H "Authorization: users API-Key " https:///api/articles # lettura +curl -X POST -H "Authorization: users API-Key " -H "Content-Type: application/json" \ + -d '{"title":"..."}' https:///api/articles # scrittura +``` + +## Migrations (baseline) + +Lo schema viene creato dal job `-migrate` (`payload migrate`) come hook pre-deploy. + +> Nota storica: le migration originali contenevano solo `ALTER TABLE` (idType → uuid), +> senza `CREATE TABLE`, e fallivano su DB vuoto. Sono state sostituite da una **baseline +> completa** (`src/migrations/2026..._initial.ts`, 283 `CREATE TABLE`) verificata in locale +> su Postgres vuoto. Per rigenerarla da zero: +> +> ```sh +> # contro un Postgres VUOTO dedicato +> DATABASE_URL=postgres://... node node_modules/.bin/payload migrate:create initial --force-accept-warning +> ``` + +## ⚠️ Path dei media + +`media.persistence.mountPath` (default `/app/media`) deve coincidere con la `staticDir` +effettiva della collection `Media`. Il Dockerfile in questo repo crea `/app/media` e l'app +gira con WORKDIR `/app`. Se in futuro si imposta una `staticDir` esplicita nella collection, +aggiornare di conseguenza il `mountPath`. Per scenari multi-replica passare a object storage +(`@payloadcms/storage-azure` / `-s3`) invece del PVC `ReadWriteOnce`. + +## Immagine + +L'immagine (`Dockerfile` in root) NON è una build standalone: include `node_modules` + `src` +così la CLI `payload` può girare in cluster (migrate/seed). Runtime: **node** (la CLI `payload` +fa comunque `spawn node`, quindi node deve essere presente). Le dipendenze si installano con +bun (lockfile `bun.lock`); build e runtime girano su node. Tutte le stage sono glibc per +compatibilità dei moduli nativi (sharp). + +## Valori principali + +Vedi `values.yaml`. I più rilevanti: `app.image.*`, `app.databaseUrl`, `app.payloadSecret`, +`app.siteUrl`, `media.persistence.*`, `migrate.*`, `seed.*`, `ingress.*`, `imagePullSecrets`. diff --git a/deploy/helm/developers-cms/templates/NOTES.txt b/deploy/helm/developers-cms/templates/NOTES.txt new file mode 100644 index 0000000..1e915c6 --- /dev/null +++ b/deploy/helm/developers-cms/templates/NOTES.txt @@ -0,0 +1,29 @@ +{{ include "dcms.fullname" . }} installato nel namespace {{ .Release.Namespace }}. + +App: {{ .Values.app.image.repository }}:{{ .Values.app.image.tag }} +Service: {{ include "dcms.fullname" . }}:{{ .Values.service.port }} +{{- $siteUrl := include "dcms.siteUrl" . | trim }} +{{- if $siteUrl }} +URL: {{ $siteUrl }}/admin +{{- end }} + +Migrazioni: {{ if .Values.migrate.enabled }}eseguite via hook pre-install/pre-upgrade (`{{ join " " .Values.migrate.command }}`){{ else }}DISABILITATE (migrate.enabled=false){{ end }} +Seed: {{ if .Values.seed.enabled }}eseguito via hook post-install/post-upgrade (utente {{ .Values.seed.user.email }} + API key){{ else }}disabilitato (seed.enabled=false){{ end }} +Media PVC: {{ if .Values.media.persistence.enabled }}{{ include "dcms.mediaClaimName" . }} ({{ .Values.media.persistence.size }}) montato su {{ .Values.media.persistence.mountPath }}{{ else }}disabilitato (media effimeri){{ end }} + +{{- if .Values.seed.enabled }} + +L'API key impostata sull'utente {{ .Values.seed.user.email }} è quella indicata in seed.apiKey. +Usala nel repo di import con header: + + Authorization: users API-Key + +Esempio lettura: curl -H "Authorization: users API-Key " {{ if $siteUrl }}{{ $siteUrl }}{{ else }}http://{{ end }}/api/articles +{{- end }} + +Verifica lo stato: + kubectl -n {{ .Release.Namespace }} rollout status deploy/{{ include "dcms.fullname" . }} + kubectl -n {{ .Release.Namespace }} logs job/{{ include "dcms.fullname" . }}-migrate-{{ .Release.Revision }} +{{- if .Values.seed.enabled }} + kubectl -n {{ .Release.Namespace }} logs job/{{ include "dcms.fullname" . }}-seed-{{ .Release.Revision }} +{{- end }} diff --git a/deploy/helm/developers-cms/templates/_helpers.tpl b/deploy/helm/developers-cms/templates/_helpers.tpl new file mode 100644 index 0000000..087d6e8 --- /dev/null +++ b/deploy/helm/developers-cms/templates/_helpers.tpl @@ -0,0 +1,104 @@ +{{- define "dcms.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{- define "dcms.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{- define "dcms.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{- define "dcms.labels" -}} +helm.sh/chart: {{ include "dcms.chart" . }} +{{ include "dcms.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{- define "dcms.selectorLabels" -}} +app.kubernetes.io/name: {{ include "dcms.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{- define "dcms.databaseUrl" -}} +{{- if .Values.app.databaseUrl }} +{{- .Values.app.databaseUrl }} +{{- else }} +{{- fail "app.databaseUrl è obbligatorio (PostgreSQL esterno): impostarlo nel file values dell'ambiente" }} +{{- end }} +{{- end }} + +{{- define "dcms.payloadSecret" -}} +{{- if .Values.app.payloadSecret }} +{{- .Values.app.payloadSecret }} +{{- else }} +{{- fail "app.payloadSecret è obbligatorio: impostarlo nel file values dell'ambiente" }} +{{- end }} +{{- end }} + +{{- define "dcms.secretName" -}} +{{- if .Values.secret.existingSecret }} +{{- .Values.secret.existingSecret }} +{{- else }} +{{- include "dcms.fullname" . }}-env +{{- end }} +{{- end }} + +{{/* + URL pubblico per CORS/CSRF (SITE_URL). Se app.siteUrl è vuoto e l'ingress è abilitato, + deriva https://. +*/}} +{{- define "dcms.siteUrl" -}} +{{- if .Values.app.siteUrl }} +{{- .Values.app.siteUrl }} +{{- else if and .Values.ingress.enabled .Values.ingress.hosts }} +{{- printf "https://%s" (index .Values.ingress.hosts 0 "host") }} +{{- end }} +{{- end }} + +{{/* + Nome del PVC dei media (existingClaim oppure quello generato dal chart). +*/}} +{{- define "dcms.mediaClaimName" -}} +{{- if .Values.media.persistence.existingClaim }} +{{- .Values.media.persistence.existingClaim }} +{{- else }} +{{- include "dcms.fullname" . }}-media +{{- end }} +{{- end }} + +{{/* + URL interno usato dal job di seed per raggiungere l'app. +*/}} +{{- define "dcms.seedBaseUrl" -}} +{{- if .Values.seed.baseUrl }} +{{- .Values.seed.baseUrl }} +{{- else }} +{{- printf "http://%s:%v" (include "dcms.fullname" .) .Values.service.port }} +{{- end }} +{{- end }} + +{{/* + Materiale per il checksum che forza il rollout del Deployment se il Secret cambia + (le env da secretRef non si aggiornano sui pod già avviati). +*/}} +{{- define "dcms.secretRolloutChecksumMaterial" -}} +{{- if and .Values.secret.create (not .Values.secret.existingSecret) -}} +{{- include "dcms.databaseUrl" . -}} +{{- include "dcms.payloadSecret" . -}} +{{- include "dcms.siteUrl" . -}} +{{- end -}} +{{- end }} diff --git a/deploy/helm/developers-cms/templates/deployment.yaml b/deploy/helm/developers-cms/templates/deployment.yaml new file mode 100644 index 0000000..1d05e3e --- /dev/null +++ b/deploy/helm/developers-cms/templates/deployment.yaml @@ -0,0 +1,93 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "dcms.fullname" . }} + labels: + {{- include "dcms.labels" . | nindent 4 }} +spec: + replicas: {{ .Values.replicaCount }} + {{- if .Values.media.persistence.enabled }} + strategy: + type: Recreate + {{- end }} + selector: + matchLabels: + {{- include "dcms.selectorLabels" . | nindent 6 }} + template: + metadata: + labels: + {{- include "dcms.selectorLabels" . | nindent 8 }} + {{- $checksumMat := include "dcms.secretRolloutChecksumMaterial" . | trim }} + {{- if $checksumMat }} + annotations: + checksum/helm-secret-env: {{ $checksumMat | sha256sum | quote }} + {{- end }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag }}" + imagePullPolicy: {{ .Values.app.image.pullPolicy }} + ports: + - name: http + containerPort: {{ .Values.app.port }} + protocol: TCP + env: + - name: NODE_ENV + value: "production" + - name: PORT + value: {{ .Values.app.port | quote }} + - name: HOSTNAME + value: "0.0.0.0" + {{- $siteUrl := include "dcms.siteUrl" . | trim }} + {{- if $siteUrl }} + - name: SITE_URL + value: {{ $siteUrl | quote }} + {{- end }} + {{- range .Values.app.extraEnv }} + - name: {{ .name }} + value: {{ .value | quote }} + {{- end }} + envFrom: + - secretRef: + name: {{ include "dcms.secretName" . }} + {{- if .Values.media.persistence.enabled }} + volumeMounts: + - name: media + mountPath: {{ .Values.media.persistence.mountPath }} + {{- end }} + livenessProbe: + tcpSocket: + port: http + initialDelaySeconds: 30 + periodSeconds: 30 + readinessProbe: + httpGet: + path: /api/access + port: http + initialDelaySeconds: 10 + periodSeconds: 10 + failureThreshold: 6 + resources: + {{- toYaml .Values.app.resources | nindent 12 }} + {{- if .Values.media.persistence.enabled }} + volumes: + - name: media + persistentVolumeClaim: + claimName: {{ include "dcms.mediaClaimName" . }} + {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/deploy/helm/developers-cms/templates/ingress.yaml b/deploy/helm/developers-cms/templates/ingress.yaml new file mode 100644 index 0000000..b3e2bd9 --- /dev/null +++ b/deploy/helm/developers-cms/templates/ingress.yaml @@ -0,0 +1,40 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "dcms.fullname" . }} + labels: + {{- include "dcms.labels" . | nindent 4 }} + {{- if or .Values.ingress.tls .Values.ingress.annotations }} + annotations: + {{- if .Values.ingress.tls }} + acme.cert-manager.io/http01-edit-in-place: {{ .Values.ingress.acmeHttp01EditInPlace | default true | toString | quote }} + {{- end }} + {{- with .Values.ingress.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- end }} +spec: + {{- if .Values.ingress.className }} + ingressClassName: {{ .Values.ingress.className }} + {{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ .path }} + pathType: {{ .pathType }} + backend: + service: + name: {{ include "dcms.fullname" $ }} + port: + number: {{ $.Values.service.port }} + {{- end }} + {{- end }} + {{- if .Values.ingress.tls }} + tls: + {{- toYaml .Values.ingress.tls | nindent 4 }} + {{- end }} +{{- end }} diff --git a/deploy/helm/developers-cms/templates/job-migrate.yaml b/deploy/helm/developers-cms/templates/job-migrate.yaml new file mode 100644 index 0000000..599afac --- /dev/null +++ b/deploy/helm/developers-cms/templates/job-migrate.yaml @@ -0,0 +1,64 @@ +{{- if .Values.migrate.enabled }} +apiVersion: batch/v1 +kind: Job +metadata: + name: {{ include "dcms.fullname" . }}-migrate-{{ .Release.Revision }} + labels: + {{- include "dcms.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": pre-install,pre-upgrade + "helm.sh/hook-weight": "-5" + "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded +spec: + backoffLimit: 3 + template: + metadata: + labels: + {{- include "dcms.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + restartPolicy: Never + containers: + - name: migrate + image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag }}" + imagePullPolicy: {{ .Values.app.image.pullPolicy }} + env: + - name: NODE_ENV + value: "production" + envFrom: + - secretRef: + name: {{ include "dcms.secretName" . }} + command: ["/bin/sh", "-c"] + args: + - | + set -e + {{- if .Values.migrate.waitForTcp.enabled }} + echo "Attendo TCP {{ .Values.migrate.waitForTcp.host }}:{{ .Values.migrate.waitForTcp.port }}..." + i=0 + until node -e "require('net').connect({host:'{{ .Values.migrate.waitForTcp.host }}',port:{{ .Values.migrate.waitForTcp.port }}},()=>process.exit(0)).on('error',()=>process.exit(1))" 2>/dev/null; do + i=$((i+1)) + if [ "$i" -ge "{{ .Values.migrate.waitForTcp.attempts }}" ]; then echo "DB non raggiungibile, timeout"; exit 1; fi + sleep {{ .Values.migrate.waitForTcp.intervalSeconds }} + done + echo "DB raggiungibile" + {{- end }} + exec {{ join " " .Values.migrate.command }} + resources: + requests: + cpu: 100m + memory: 512Mi + limits: + cpu: "1" + memory: 1Gi +{{- end }} diff --git a/deploy/helm/developers-cms/templates/job-seed.yaml b/deploy/helm/developers-cms/templates/job-seed.yaml new file mode 100644 index 0000000..23ce0dd --- /dev/null +++ b/deploy/helm/developers-cms/templates/job-seed.yaml @@ -0,0 +1,148 @@ +{{- if .Values.seed.enabled }} +{{- if not .Values.seed.user.email }}{{ fail "seed.user.email è obbligatorio quando seed.enabled=true" }}{{- end }} +{{- if not .Values.seed.user.password }}{{ fail "seed.user.password è obbligatorio quando seed.enabled=true" }}{{- end }} +{{- if not .Values.seed.apiKey }}{{ fail "seed.apiKey è obbligatorio quando seed.enabled=true" }}{{- end }} +--- +apiVersion: v1 +kind: Secret +metadata: + name: {{ include "dcms.fullname" . }}-seed + labels: + {{- include "dcms.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": post-install,post-upgrade + "helm.sh/hook-weight": "5" + "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded +type: Opaque +stringData: + SEED_USER_EMAIL: {{ .Values.seed.user.email | quote }} + SEED_USER_PASSWORD: {{ .Values.seed.user.password | quote }} + SEED_API_KEY: {{ .Values.seed.apiKey | quote }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "dcms.fullname" . }}-seed-script + labels: + {{- include "dcms.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": post-install,post-upgrade + "helm.sh/hook-weight": "5" + "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded +data: + seed.mjs: | + const base = (process.env.SEED_BASE_URL || '').replace(/\/$/, '') + const email = process.env.SEED_USER_EMAIL + const password = process.env.SEED_USER_PASSWORD + const apiKey = process.env.SEED_API_KEY + const sleep = (ms) => new Promise((r) => setTimeout(r, ms)) + + async function waitReady() { + for (let i = 0; i < 90; i++) { + try { + const r = await fetch(`${base}/api/access`) + if (r.ok) return + } catch {} + await sleep(2000) + } + throw new Error('app non pronta dopo l’attesa') + } + + async function main() { + if (!base || !email || !password || !apiKey) throw new Error('env di seed mancanti') + await waitReady() + + // 1. crea il primo utente (no-op se esistono già utenti) + const reg = await fetch(`${base}/api/users/first-register`, { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ email, password }), + }) + if (reg.ok) { + console.log('Primo utente creato:', email) + } else { + const body = await reg.text() + console.log(`first-register saltato (HTTP ${reg.status}); utente probabilmente già esistente`) + } + + // 2. login per ottenere il token JWT + const login = await fetch(`${base}/api/users/login`, { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ email, password }), + }) + if (!login.ok) throw new Error(`login fallito: HTTP ${login.status} ${await login.text()}`) + const { token, user } = await login.json() + if (!token || !user || !user.id) throw new Error('login senza token/user') + + // 3. abilita la API key con valore deterministico (usata dalle API in lettura/scrittura) + const patch = await fetch(`${base}/api/users/${user.id}`, { + method: 'PATCH', + headers: { 'Content-Type': 'application/json', Authorization: `JWT ${token}` }, + body: JSON.stringify({ enableAPIKey: true, apiKey }), + }) + if (!patch.ok) throw new Error(`set apiKey fallito: HTTP ${patch.status} ${await patch.text()}`) + console.log('API key impostata sull’utente', email) + } + + main().catch((e) => { + console.error(e && e.message ? e.message : e) + process.exit(1) + }) +--- +apiVersion: batch/v1 +kind: Job +metadata: + name: {{ include "dcms.fullname" . }}-seed-{{ .Release.Revision }} + labels: + {{- include "dcms.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": post-install,post-upgrade + "helm.sh/hook-weight": "10" + "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded +spec: + backoffLimit: 2 + template: + metadata: + labels: + {{- include "dcms.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + restartPolicy: Never + volumes: + - name: seed-script + configMap: + name: {{ include "dcms.fullname" . }}-seed-script + containers: + - name: seed + image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag }}" + imagePullPolicy: {{ .Values.app.image.pullPolicy }} + env: + - name: SEED_BASE_URL + value: {{ include "dcms.seedBaseUrl" . | quote }} + envFrom: + - secretRef: + name: {{ include "dcms.fullname" . }}-seed + volumeMounts: + - name: seed-script + mountPath: /seed + command: ["node", "/seed/seed.mjs"] + resources: + requests: + cpu: 50m + memory: 128Mi + limits: + cpu: 500m + memory: 256Mi +{{- end }} diff --git a/deploy/helm/developers-cms/templates/pvc.yaml b/deploy/helm/developers-cms/templates/pvc.yaml new file mode 100644 index 0000000..99cf744 --- /dev/null +++ b/deploy/helm/developers-cms/templates/pvc.yaml @@ -0,0 +1,20 @@ +{{- if and .Values.media.persistence.enabled (not .Values.media.persistence.existingClaim) }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ include "dcms.fullname" . }}-media + labels: + {{- include "dcms.labels" . | nindent 4 }} + annotations: + # Mantieni il PVC tra un helm uninstall/reinstall per non perdere i media già caricati + helm.sh/resource-policy: keep +spec: + accessModes: + - {{ .Values.media.persistence.accessMode }} + resources: + requests: + storage: {{ .Values.media.persistence.size }} + {{- if .Values.media.persistence.storageClass }} + storageClassName: {{ .Values.media.persistence.storageClass | quote }} + {{- end }} +{{- end }} diff --git a/deploy/helm/developers-cms/templates/secret.yaml b/deploy/helm/developers-cms/templates/secret.yaml new file mode 100644 index 0000000..2a4a1af --- /dev/null +++ b/deploy/helm/developers-cms/templates/secret.yaml @@ -0,0 +1,16 @@ +{{- if and .Values.secret.create (not .Values.secret.existingSecret) }} +apiVersion: v1 +kind: Secret +metadata: + name: {{ include "dcms.fullname" . }}-env + labels: + {{- include "dcms.labels" . | nindent 4 }} + annotations: + helm.sh/hook: pre-install,pre-upgrade + helm.sh/hook-weight: "-10" + helm.sh/hook-delete-policy: before-hook-creation +type: Opaque +stringData: + DATABASE_URL: {{ include "dcms.databaseUrl" . | quote }} + PAYLOAD_SECRET: {{ include "dcms.payloadSecret" . | quote }} +{{- end }} diff --git a/deploy/helm/developers-cms/templates/service.yaml b/deploy/helm/developers-cms/templates/service.yaml new file mode 100644 index 0000000..51fafdd --- /dev/null +++ b/deploy/helm/developers-cms/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "dcms.fullname" . }} + labels: + {{- include "dcms.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + selector: + {{- include "dcms.selectorLabels" . | nindent 4 }} + ports: + - name: http + port: {{ .Values.service.port }} + targetPort: http + protocol: TCP diff --git a/deploy/helm/developers-cms/values.yaml b/deploy/helm/developers-cms/values.yaml new file mode 100644 index 0000000..638da16 --- /dev/null +++ b/deploy/helm/developers-cms/values.yaml @@ -0,0 +1,104 @@ +# Valori di esempio NON sensibili. +# Credenziali reali (DATABASE_URL, PAYLOAD_SECRET, seed/apiKey) vanno passate con un file +# -f esterno conservato in k8s-configuration (helm/developers-cms/{test,prod}/values.yaml). + +replicaCount: 1 + +app: + image: + repository: ghcr.io/italia/developers-cms + tag: latest + # Le immagini private su ghcr.io richiedono imagePullSecrets (vedi sotto) + pullPolicy: IfNotPresent + + # Porta su cui ascolta Next/Payload nel container (ENV PORT) + port: 3000 + + # Obbligatorio: connessione PostgreSQL esterna (Azure Postgres, altro namespace, ecc.) + databaseUrl: "" + + # Obbligatorio: chiave usata da Payload per firmare/cifrare (JWT, apiKey, ecc.) + payloadSecret: "" + + # URL pubblico dell'istanza: usato da Payload per CORS/CSRF (allowedOrigins). + # Se vuoto e ingress abilitato, viene derivato da https://. + siteUrl: "" + + # Env aggiuntive non sensibili: [{ name: FOO, value: "bar" }] + extraEnv: [] + + resources: + requests: + cpu: 100m + memory: 512Mi + limits: + cpu: "1" + memory: 1Gi + +# Persistenza dei media caricati (collection Media, upload su filesystem). +# Con ReadWriteOnce funziona con replicaCount=1. Per multi-replica passare a object storage. +media: + persistence: + enabled: true + # Punto in cui Payload scrive i media nel container. Verificare che coincida con la + # staticDir effettiva della collection Media (vedi README). + mountPath: /app/media + existingClaim: "" + storageClass: "" + accessMode: ReadWriteOnce + size: 5Gi + +# Job di migrazione schema (Payload). Eseguito come hook pre-install/pre-upgrade. +# Richiede un'immagine che includa la CLI payload (NON la build standalone trimmata). +migrate: + enabled: true + command: ["node", "node_modules/.bin/payload", "migrate"] + # Attesa TCP opzionale del DB prima di migrare (utile per DB esterni non subito raggiungibili) + waitForTcp: + enabled: false + host: "" + port: 5432 + attempts: 60 + intervalSeconds: 2 + +# Job di seed: crea il primo utente e gli assegna una API key deterministica. +# Eseguito come hook post-install/post-upgrade. Idempotente (no-op se l'utente esiste già). +# La API key risultante è quella usata dal repo di import per le API in lettura/scrittura. +seed: + enabled: false + user: + email: "" + password: "" + # API key in chiaro da assegnare all'utente (header: Authorization: users API-Key ) + apiKey: "" + # URL interno con cui il job raggiunge l'app; se vuoto usa il Service del rilascio. + baseUrl: "" + +service: + type: ClusterIP + port: 3000 + +ingress: + enabled: false + className: nginx + # Con cert-manager HTTP-01 + path / Prefix, senza questa annotation le richieste ACME + # possono finire al backend app. + acmeHttp01EditInPlace: true + annotations: {} + hosts: + - host: developers-cms.example.local + paths: + - path: / + pathType: Prefix + tls: [] + +secret: + create: true + existingSecret: "" + +# Per immagini private su ghcr.io (es. [{ name: ghcr-secret }]) +imagePullSecrets: [] + +nodeSelector: {} +tolerations: [] +affinity: {} diff --git a/src/migrations/20260615_144156.json b/src/migrations/20260615_144156.json deleted file mode 100644 index 35b3caf..0000000 --- a/src/migrations/20260615_144156.json +++ /dev/null @@ -1,41710 +0,0 @@ -{ - "version": "7", - "dialect": "postgresql", - "tables": { - "public.users_sessions": { - "name": "users_sessions", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - }, - "expires_at": { - "name": "expires_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "users_sessions_order_idx": { - "name": "users_sessions_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "users_sessions_parent_id_idx": { - "name": "users_sessions_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "users_sessions_parent_id_fk": { - "name": "users_sessions_parent_id_fk", - "tableFrom": "users_sessions", - "tableTo": "users", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.users": { - "name": "users", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "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.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 - } - }, - "indexes": { - "media_updated_at_idx": { - "name": "media_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "media_created_at_idx": { - "name": "media_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "media_filename_idx": { - "name": "media_filename_idx", - "columns": [ - { - "expression": "filename", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": true, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": {}, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.article_topics": { - "name": "article_topics", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "article_topics_updated_at_idx": { - "name": "article_topics_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "article_topics_created_at_idx": { - "name": "article_topics_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.article_topics_locales": { - "name": "article_topics_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "article_topics_locales_locale_parent_id_unique": { - "name": "article_topics_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": { - "article_topics_locales_parent_id_fk": { - "name": "article_topics_locales_parent_id_fk", - "tableFrom": "article_topics_locales", - "tableTo": "article_topics", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.news_topics": { - "name": "news_topics", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "news_topics_updated_at_idx": { - "name": "news_topics_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "news_topics_created_at_idx": { - "name": "news_topics_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.news_topics_locales": { - "name": "news_topics_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "news_topics_locales_locale_parent_id_unique": { - "name": "news_topics_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": { - "news_topics_locales_parent_id_fk": { - "name": "news_topics_locales_parent_id_fk", - "tableFrom": "news_topics_locales", - "tableTo": "news_topics", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_topics": { - "name": "story_topics", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "story_topics_updated_at_idx": { - "name": "story_topics_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_topics_created_at_idx": { - "name": "story_topics_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.story_topics_locales": { - "name": "story_topics_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "story_topics_locales_locale_parent_id_unique": { - "name": "story_topics_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": { - "story_topics_locales_parent_id_fk": { - "name": "story_topics_locales_parent_id_fk", - "tableFrom": "story_topics_locales", - "tableTo": "story_topics", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insight_topics": { - "name": "insight_topics", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "insight_topics_updated_at_idx": { - "name": "insight_topics_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insight_topics_created_at_idx": { - "name": "insight_topics_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.insight_topics_locales": { - "name": "insight_topics_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "insight_topics_locales_locale_parent_id_unique": { - "name": "insight_topics_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": { - "insight_topics_locales_parent_id_fk": { - "name": "insight_topics_locales_parent_id_fk", - "tableFrom": "insight_topics_locales", - "tableTo": "insight_topics", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.resource_topics": { - "name": "resource_topics", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "resource_topics_updated_at_idx": { - "name": "resource_topics_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resource_topics_created_at_idx": { - "name": "resource_topics_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.resource_topics_locales": { - "name": "resource_topics_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "resource_topics_locales_locale_parent_id_unique": { - "name": "resource_topics_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": { - "resource_topics_locales_parent_id_fk": { - "name": "resource_topics_locales_parent_id_fk", - "tableFrom": "resource_topics_locales", - "tableTo": "resource_topics", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_topics": { - "name": "webinar_topics", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "webinar_topics_updated_at_idx": { - "name": "webinar_topics_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_topics_created_at_idx": { - "name": "webinar_topics_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.webinar_topics_locales": { - "name": "webinar_topics_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "webinar_topics_locales_locale_parent_id_unique": { - "name": "webinar_topics_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": { - "webinar_topics_locales_parent_id_fk": { - "name": "webinar_topics_locales_parent_id_fk", - "tableFrom": "webinar_topics_locales", - "tableTo": "webinar_topics", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.macro_topics": { - "name": "macro_topics", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "macro_topics_updated_at_idx": { - "name": "macro_topics_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "macro_topics_created_at_idx": { - "name": "macro_topics_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.macro_topics_locales": { - "name": "macro_topics_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "macro_topics_locales_locale_parent_id_unique": { - "name": "macro_topics_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": { - "macro_topics_locales_parent_id_fk": { - "name": "macro_topics_locales_parent_id_fk", - "tableFrom": "macro_topics_locales", - "tableTo": "macro_topics", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_classes": { - "name": "story_classes", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "sort": { - "name": "sort", - "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": { - "story_classes_updated_at_idx": { - "name": "story_classes_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_classes_created_at_idx": { - "name": "story_classes_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.story_classes_locales": { - "name": "story_classes_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "story_classes_locales_locale_parent_id_unique": { - "name": "story_classes_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": { - "story_classes_locales_parent_id_fk": { - "name": "story_classes_locales_parent_id_fk", - "tableFrom": "story_classes_locales", - "tableTo": "story_classes", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_authors": { - "name": "webinar_authors", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "name": { - "name": "name", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "photo_id": { - "name": "photo_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": { - "webinar_authors_photo_idx": { - "name": "webinar_authors_photo_idx", - "columns": [ - { - "expression": "photo_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_authors_updated_at_idx": { - "name": "webinar_authors_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_authors_created_at_idx": { - "name": "webinar_authors_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_authors_photo_id_media_id_fk": { - "name": "webinar_authors_photo_id_media_id_fk", - "tableFrom": "webinar_authors", - "tableTo": "media", - "columnsFrom": [ - "photo_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_authors_locales": { - "name": "webinar_authors_locales", - "schema": "", - "columns": { - "role": { - "name": "role", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "webinar_authors_locales_locale_parent_id_unique": { - "name": "webinar_authors_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": { - "webinar_authors_locales_parent_id_fk": { - "name": "webinar_authors_locales_parent_id_fk", - "tableFrom": "webinar_authors_locales", - "tableTo": "webinar_authors", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.chart_elements": { - "name": "chart_elements", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "chart_data": { - "name": "chart_data", - "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": { - "chart_elements_updated_at_idx": { - "name": "chart_elements_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "chart_elements_created_at_idx": { - "name": "chart_elements_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.kpi_elements": { - "name": "kpi_elements", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "value": { - "name": "value", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "value_prefix": { - "name": "value_prefix", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "value_suffix": { - "name": "value_suffix", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "show_flow": { - "name": "show_flow", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "flow_direction": { - "name": "flow_direction", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "flow_value": { - "name": "flow_value", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "flow_detail": { - "name": "flow_detail", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "percentage": { - "name": "percentage", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "footer_text": { - "name": "footer_text", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "open_data_path": { - "name": "open_data_path", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "background_color": { - "name": "background_color", - "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": { - "kpi_elements_updated_at_idx": { - "name": "kpi_elements_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "kpi_elements_created_at_idx": { - "name": "kpi_elements_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.news_items": { - "name": "news_items", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "image_id": { - "name": "image_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": { - "news_items_image_idx": { - "name": "news_items_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "news_items_updated_at_idx": { - "name": "news_items_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "news_items_created_at_idx": { - "name": "news_items_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "news_items_image_id_media_id_fk": { - "name": "news_items_image_id_media_id_fk", - "tableFrom": "news_items", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.news_items_locales": { - "name": "news_items_locales", - "schema": "", - "columns": { - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "link": { - "name": "link", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "jsonb", - "primaryKey": false, - "notNull": true - }, - "topic_id": { - "name": "topic_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "date_of_publication": { - "name": "date_of_publication", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "news_items_topic_idx": { - "name": "news_items_topic_idx", - "columns": [ - { - "expression": "topic_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "news_items_locales_locale_parent_id_unique": { - "name": "news_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": { - "news_items_locales_topic_id_news_topics_id_fk": { - "name": "news_items_locales_topic_id_news_topics_id_fk", - "tableFrom": "news_items_locales", - "tableTo": "news_topics", - "columnsFrom": [ - "topic_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "news_items_locales_parent_id_fk": { - "name": "news_items_locales_parent_id_fk", - "tableFrom": "news_items_locales", - "tableTo": "news_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.resources_blocks_download_link": { - "name": "resources_blocks_download_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "doc_id": { - "name": "doc_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "resources_blocks_download_link_order_idx": { - "name": "resources_blocks_download_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_blocks_download_link_parent_id_idx": { - "name": "resources_blocks_download_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_blocks_download_link_path_idx": { - "name": "resources_blocks_download_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_blocks_download_link_locale_idx": { - "name": "resources_blocks_download_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_blocks_download_link_doc_idx": { - "name": "resources_blocks_download_link_doc_idx", - "columns": [ - { - "expression": "doc_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "resources_blocks_download_link_doc_id_media_id_fk": { - "name": "resources_blocks_download_link_doc_id_media_id_fk", - "tableFrom": "resources_blocks_download_link", - "tableTo": "media", - "columnsFrom": [ - "doc_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "resources_blocks_download_link_parent_id_fk": { - "name": "resources_blocks_download_link_parent_id_fk", - "tableFrom": "resources_blocks_download_link", - "tableTo": "resources", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.resources_blocks_external_link": { - "name": "resources_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "resources_blocks_external_link_order_idx": { - "name": "resources_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_blocks_external_link_parent_id_idx": { - "name": "resources_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_blocks_external_link_path_idx": { - "name": "resources_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_blocks_external_link_locale_idx": { - "name": "resources_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "resources_blocks_external_link_parent_id_fk": { - "name": "resources_blocks_external_link_parent_id_fk", - "tableFrom": "resources_blocks_external_link", - "tableTo": "resources", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.resources": { - "name": "resources", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "resources_updated_at_idx": { - "name": "resources_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_created_at_idx": { - "name": "resources_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.resources_locales": { - "name": "resources_locales", - "schema": "", - "columns": { - "type_resource_id": { - "name": "type_resource_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "resources_type_resource_idx": { - "name": "resources_type_resource_idx", - "columns": [ - { - "expression": "type_resource_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_locales_locale_parent_id_unique": { - "name": "resources_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": { - "resources_locales_type_resource_id_resource_topics_id_fk": { - "name": "resources_locales_type_resource_id_resource_topics_id_fk", - "tableFrom": "resources_locales", - "tableTo": "resource_topics", - "columnsFrom": [ - "type_resource_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "resources_locales_parent_id_fk": { - "name": "resources_locales_parent_id_fk", - "tableFrom": "resources_locales", - "tableTo": "resources", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.resources_rels": { - "name": "resources_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "resource_topics_id": { - "name": "resource_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "resources_rels_order_idx": { - "name": "resources_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_rels_parent_idx": { - "name": "resources_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_rels_path_idx": { - "name": "resources_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_rels_locale_idx": { - "name": "resources_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "resources_rels_resource_topics_id_idx": { - "name": "resources_rels_resource_topics_id_idx", - "columns": [ - { - "expression": "resource_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "resources_rels_parent_fk": { - "name": "resources_rels_parent_fk", - "tableFrom": "resources_rels", - "tableTo": "resources", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "resources_rels_resource_topics_fk": { - "name": "resources_rels_resource_topics_fk", - "tableFrom": "resources_rels", - "tableTo": "resource_topics", - "columnsFrom": [ - "resource_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_internal_link": { - "name": "pages_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_internal_link_order_idx": { - "name": "pages_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_parent_id_idx": { - "name": "pages_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_path_idx": { - "name": "pages_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_locale_idx": { - "name": "pages_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_internal_link_parent_id_fk": { - "name": "pages_blocks_internal_link_parent_id_fk", - "tableFrom": "pages_blocks_internal_link", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link": { - "name": "pages_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_order_idx": { - "name": "pages_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_parent_id_idx": { - "name": "pages_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_path_idx": { - "name": "pages_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_locale_idx": { - "name": "pages_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_parent_id_fk": { - "name": "pages_blocks_external_link_parent_id_fk", - "tableFrom": "pages_blocks_external_link", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_hero": { - "name": "pages_blocks_hero", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "enum_pages_blocks_hero_variant", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_hero_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "background_image_id": { - "name": "background_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "background_image_for_mobile_id": { - "name": "background_image_for_mobile_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "show_breadcrumb": { - "name": "show_breadcrumb", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_hero_order_idx": { - "name": "pages_blocks_hero_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_hero_parent_id_idx": { - "name": "pages_blocks_hero_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_hero_path_idx": { - "name": "pages_blocks_hero_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_hero_locale_idx": { - "name": "pages_blocks_hero_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_hero_background_image_idx": { - "name": "pages_blocks_hero_background_image_idx", - "columns": [ - { - "expression": "background_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_hero_background_image_for_mobile_idx": { - "name": "pages_blocks_hero_background_image_for_mobile_idx", - "columns": [ - { - "expression": "background_image_for_mobile_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_hero_background_image_id_media_id_fk": { - "name": "pages_blocks_hero_background_image_id_media_id_fk", - "tableFrom": "pages_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "pages_blocks_hero_background_image_for_mobile_id_media_id_fk": { - "name": "pages_blocks_hero_background_image_for_mobile_id_media_id_fk", - "tableFrom": "pages_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_for_mobile_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "pages_blocks_hero_parent_id_fk": { - "name": "pages_blocks_hero_parent_id_fk", - "tableFrom": "pages_blocks_hero", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_accordion_item": { - "name": "pages_blocks_accordion_item", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "header": { - "name": "header", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "body": { - "name": "body", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_accordion_item_order_idx": { - "name": "pages_blocks_accordion_item_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_item_parent_id_idx": { - "name": "pages_blocks_accordion_item_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_item_path_idx": { - "name": "pages_blocks_accordion_item_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_item_locale_idx": { - "name": "pages_blocks_accordion_item_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_accordion_item_parent_id_fk": { - "name": "pages_blocks_accordion_item_parent_id_fk", - "tableFrom": "pages_blocks_accordion_item", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_accordion": { - "name": "pages_blocks_accordion", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_accordion_order_idx": { - "name": "pages_blocks_accordion_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_parent_id_idx": { - "name": "pages_blocks_accordion_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_path_idx": { - "name": "pages_blocks_accordion_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_locale_idx": { - "name": "pages_blocks_accordion_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_accordion_parent_id_fk": { - "name": "pages_blocks_accordion_parent_id_fk", - "tableFrom": "pages_blocks_accordion", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_accordion_block": { - "name": "pages_blocks_accordion_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_accordion_block_order_idx": { - "name": "pages_blocks_accordion_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_block_parent_id_idx": { - "name": "pages_blocks_accordion_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_block_path_idx": { - "name": "pages_blocks_accordion_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_block_locale_idx": { - "name": "pages_blocks_accordion_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_accordion_block_parent_id_fk": { - "name": "pages_blocks_accordion_block_parent_id_fk", - "tableFrom": "pages_blocks_accordion_block", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_faq_section": { - "name": "pages_blocks_faq_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_faq_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_faq_section_order_idx": { - "name": "pages_blocks_faq_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_faq_section_parent_id_idx": { - "name": "pages_blocks_faq_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_faq_section_path_idx": { - "name": "pages_blocks_faq_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_faq_section_locale_idx": { - "name": "pages_blocks_faq_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_faq_section_parent_id_fk": { - "name": "pages_blocks_faq_section_parent_id_fk", - "tableFrom": "pages_blocks_faq_section", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_internal_link_2": { - "name": "pages_blocks_internal_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_internal_link_2_order_idx": { - "name": "pages_blocks_internal_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_2_parent_id_idx": { - "name": "pages_blocks_internal_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_2_path_idx": { - "name": "pages_blocks_internal_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_2_locale_idx": { - "name": "pages_blocks_internal_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_internal_link_2_parent_id_fk": { - "name": "pages_blocks_internal_link_2_parent_id_fk", - "tableFrom": "pages_blocks_internal_link_2", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link_2": { - "name": "pages_blocks_external_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_2_order_idx": { - "name": "pages_blocks_external_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_2_parent_id_idx": { - "name": "pages_blocks_external_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_2_path_idx": { - "name": "pages_blocks_external_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_2_locale_idx": { - "name": "pages_blocks_external_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_2_parent_id_fk": { - "name": "pages_blocks_external_link_2_parent_id_fk", - "tableFrom": "pages_blocks_external_link_2", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_block": { - "name": "pages_blocks_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_block_order_idx": { - "name": "pages_blocks_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_parent_id_idx": { - "name": "pages_blocks_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_path_idx": { - "name": "pages_blocks_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_locale_idx": { - "name": "pages_blocks_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_block_parent_id_fk": { - "name": "pages_blocks_text_block_parent_id_fk", - "tableFrom": "pages_blocks_text_block", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_only": { - "name": "pages_blocks_text_only", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_text_only_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_pages_blocks_text_only_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_only_order_idx": { - "name": "pages_blocks_text_only_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_only_parent_id_idx": { - "name": "pages_blocks_text_only_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_only_path_idx": { - "name": "pages_blocks_text_only_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_only_locale_idx": { - "name": "pages_blocks_text_only_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_only_parent_id_fk": { - "name": "pages_blocks_text_only_parent_id_fk", - "tableFrom": "pages_blocks_text_only", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_structured_text_block": { - "name": "pages_blocks_structured_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_structured_text_block_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "content": { - "name": "content", - "type": "jsonb", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_structured_text_block_order_idx": { - "name": "pages_blocks_structured_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_structured_text_block_parent_id_idx": { - "name": "pages_blocks_structured_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_structured_text_block_path_idx": { - "name": "pages_blocks_structured_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_structured_text_block_locale_idx": { - "name": "pages_blocks_structured_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_structured_text_block_parent_id_fk": { - "name": "pages_blocks_structured_text_block_parent_id_fk", - "tableFrom": "pages_blocks_structured_text_block", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_highlight": { - "name": "pages_blocks_highlight", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_highlight_order_idx": { - "name": "pages_blocks_highlight_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_highlight_parent_id_idx": { - "name": "pages_blocks_highlight_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_highlight_path_idx": { - "name": "pages_blocks_highlight_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_highlight_locale_idx": { - "name": "pages_blocks_highlight_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_highlight_image_idx": { - "name": "pages_blocks_highlight_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_highlight_image_id_media_id_fk": { - "name": "pages_blocks_highlight_image_id_media_id_fk", - "tableFrom": "pages_blocks_highlight", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "pages_blocks_highlight_parent_id_fk": { - "name": "pages_blocks_highlight_parent_id_fk", - "tableFrom": "pages_blocks_highlight", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_settings_chart": { - "name": "pages_blocks_settings_chart", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "subtitle": { - "name": "subtitle", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "footer_text": { - "name": "footer_text", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "info": { - "name": "info", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "select_chart_id": { - "name": "select_chart_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "download_data": { - "name": "download_data", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "download_image": { - "name": "download_image", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "show_share": { - "name": "show_share", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_settings_chart_order_idx": { - "name": "pages_blocks_settings_chart_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_settings_chart_parent_id_idx": { - "name": "pages_blocks_settings_chart_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_settings_chart_path_idx": { - "name": "pages_blocks_settings_chart_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_settings_chart_locale_idx": { - "name": "pages_blocks_settings_chart_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_settings_chart_select_chart_idx": { - "name": "pages_blocks_settings_chart_select_chart_idx", - "columns": [ - { - "expression": "select_chart_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_settings_chart_select_chart_id_chart_elements_id_fk": { - "name": "pages_blocks_settings_chart_select_chart_id_chart_elements_id_fk", - "tableFrom": "pages_blocks_settings_chart", - "tableTo": "chart_elements", - "columnsFrom": [ - "select_chart_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "pages_blocks_settings_chart_parent_id_fk": { - "name": "pages_blocks_settings_chart_parent_id_fk", - "tableFrom": "pages_blocks_settings_chart", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link_3": { - "name": "pages_blocks_external_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_3_order_idx": { - "name": "pages_blocks_external_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_3_parent_id_idx": { - "name": "pages_blocks_external_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_3_path_idx": { - "name": "pages_blocks_external_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_3_locale_idx": { - "name": "pages_blocks_external_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_3_parent_id_fk": { - "name": "pages_blocks_external_link_3_parent_id_fk", - "tableFrom": "pages_blocks_external_link_3", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_panel": { - "name": "pages_blocks_panel", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_panel_order_idx": { - "name": "pages_blocks_panel_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_panel_parent_id_idx": { - "name": "pages_blocks_panel_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_panel_path_idx": { - "name": "pages_blocks_panel_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_panel_locale_idx": { - "name": "pages_blocks_panel_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_panel_parent_id_fk": { - "name": "pages_blocks_panel_parent_id_fk", - "tableFrom": "pages_blocks_panel", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_list_item": { - "name": "pages_blocks_list_item", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_list_item_order_idx": { - "name": "pages_blocks_list_item_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_list_item_parent_id_idx": { - "name": "pages_blocks_list_item_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_list_item_path_idx": { - "name": "pages_blocks_list_item_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_list_item_locale_idx": { - "name": "pages_blocks_list_item_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_list_item_parent_id_fk": { - "name": "pages_blocks_list_item_parent_id_fk", - "tableFrom": "pages_blocks_list_item", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_result": { - "name": "pages_blocks_result", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "title_list_use_cases": { - "name": "title_list_use_cases", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_result_order_idx": { - "name": "pages_blocks_result_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_result_parent_id_idx": { - "name": "pages_blocks_result_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_result_path_idx": { - "name": "pages_blocks_result_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_result_locale_idx": { - "name": "pages_blocks_result_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_result_parent_id_fk": { - "name": "pages_blocks_result_parent_id_fk", - "tableFrom": "pages_blocks_result", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_data_section": { - "name": "pages_blocks_data_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_data_section_order_idx": { - "name": "pages_blocks_data_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_data_section_parent_id_idx": { - "name": "pages_blocks_data_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_data_section_path_idx": { - "name": "pages_blocks_data_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_data_section_locale_idx": { - "name": "pages_blocks_data_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_data_section_parent_id_fk": { - "name": "pages_blocks_data_section_parent_id_fk", - "tableFrom": "pages_blocks_data_section", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_internal_link_3": { - "name": "pages_blocks_internal_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_internal_link_3_order_idx": { - "name": "pages_blocks_internal_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_3_parent_id_idx": { - "name": "pages_blocks_internal_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_3_path_idx": { - "name": "pages_blocks_internal_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_3_locale_idx": { - "name": "pages_blocks_internal_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_internal_link_3_parent_id_fk": { - "name": "pages_blocks_internal_link_3_parent_id_fk", - "tableFrom": "pages_blocks_internal_link_3", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link_4": { - "name": "pages_blocks_external_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_4_order_idx": { - "name": "pages_blocks_external_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_4_parent_id_idx": { - "name": "pages_blocks_external_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_4_path_idx": { - "name": "pages_blocks_external_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_4_locale_idx": { - "name": "pages_blocks_external_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_4_parent_id_fk": { - "name": "pages_blocks_external_link_4_parent_id_fk", - "tableFrom": "pages_blocks_external_link_4", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_block_2": { - "name": "pages_blocks_text_block_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_block_2_order_idx": { - "name": "pages_blocks_text_block_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_2_parent_id_idx": { - "name": "pages_blocks_text_block_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_2_path_idx": { - "name": "pages_blocks_text_block_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_2_locale_idx": { - "name": "pages_blocks_text_block_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_block_2_parent_id_fk": { - "name": "pages_blocks_text_block_2_parent_id_fk", - "tableFrom": "pages_blocks_text_block_2", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_card_editorial_with_icon": { - "name": "pages_blocks_card_editorial_with_icon", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_card_editorial_with_icon_order_idx": { - "name": "pages_blocks_card_editorial_with_icon_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_editorial_with_icon_parent_id_idx": { - "name": "pages_blocks_card_editorial_with_icon_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_editorial_with_icon_path_idx": { - "name": "pages_blocks_card_editorial_with_icon_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_editorial_with_icon_locale_idx": { - "name": "pages_blocks_card_editorial_with_icon_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_card_editorial_with_icon_parent_id_fk": { - "name": "pages_blocks_card_editorial_with_icon_parent_id_fk", - "tableFrom": "pages_blocks_card_editorial_with_icon", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_additional_content": { - "name": "pages_blocks_additional_content", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_additional_content_order_idx": { - "name": "pages_blocks_additional_content_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_additional_content_parent_id_idx": { - "name": "pages_blocks_additional_content_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_additional_content_path_idx": { - "name": "pages_blocks_additional_content_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_additional_content_locale_idx": { - "name": "pages_blocks_additional_content_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_additional_content_parent_id_fk": { - "name": "pages_blocks_additional_content_parent_id_fk", - "tableFrom": "pages_blocks_additional_content", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_image": { - "name": "pages_blocks_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 - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_text_image_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_pages_blocks_text_image_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_image_order_idx": { - "name": "pages_blocks_text_image_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_image_parent_id_idx": { - "name": "pages_blocks_text_image_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_image_path_idx": { - "name": "pages_blocks_text_image_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_image_locale_idx": { - "name": "pages_blocks_text_image_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_image_image_idx": { - "name": "pages_blocks_text_image_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_image_image_id_media_id_fk": { - "name": "pages_blocks_text_image_image_id_media_id_fk", - "tableFrom": "pages_blocks_text_image", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "pages_blocks_text_image_parent_id_fk": { - "name": "pages_blocks_text_image_parent_id_fk", - "tableFrom": "pages_blocks_text_image", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_news_tab": { - "name": "pages_blocks_news_tab", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_news_tab_order_idx": { - "name": "pages_blocks_news_tab_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_news_tab_parent_id_idx": { - "name": "pages_blocks_news_tab_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_news_tab_path_idx": { - "name": "pages_blocks_news_tab_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_news_tab_locale_idx": { - "name": "pages_blocks_news_tab_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_news_tab_parent_id_fk": { - "name": "pages_blocks_news_tab_parent_id_fk", - "tableFrom": "pages_blocks_news_tab", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_story_tab": { - "name": "pages_blocks_story_tab", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_story_tab_order_idx": { - "name": "pages_blocks_story_tab_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_story_tab_parent_id_idx": { - "name": "pages_blocks_story_tab_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_story_tab_path_idx": { - "name": "pages_blocks_story_tab_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_story_tab_locale_idx": { - "name": "pages_blocks_story_tab_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_story_tab_parent_id_fk": { - "name": "pages_blocks_story_tab_parent_id_fk", - "tableFrom": "pages_blocks_story_tab", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_internal_link_4": { - "name": "pages_blocks_internal_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_internal_link_4_order_idx": { - "name": "pages_blocks_internal_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_4_parent_id_idx": { - "name": "pages_blocks_internal_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_4_path_idx": { - "name": "pages_blocks_internal_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_4_locale_idx": { - "name": "pages_blocks_internal_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_internal_link_4_parent_id_fk": { - "name": "pages_blocks_internal_link_4_parent_id_fk", - "tableFrom": "pages_blocks_internal_link_4", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link_5": { - "name": "pages_blocks_external_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_5_order_idx": { - "name": "pages_blocks_external_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_5_parent_id_idx": { - "name": "pages_blocks_external_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_5_path_idx": { - "name": "pages_blocks_external_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_5_locale_idx": { - "name": "pages_blocks_external_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_5_parent_id_fk": { - "name": "pages_blocks_external_link_5_parent_id_fk", - "tableFrom": "pages_blocks_external_link_5", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_news_feed": { - "name": "pages_blocks_news_feed", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_news_feed_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_news_feed_order_idx": { - "name": "pages_blocks_news_feed_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_news_feed_parent_id_idx": { - "name": "pages_blocks_news_feed_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_news_feed_path_idx": { - "name": "pages_blocks_news_feed_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_news_feed_locale_idx": { - "name": "pages_blocks_news_feed_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_news_feed_parent_id_fk": { - "name": "pages_blocks_news_feed_parent_id_fk", - "tableFrom": "pages_blocks_news_feed", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_channel": { - "name": "pages_blocks_channel", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "link_to": { - "name": "link_to", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_channel_order_idx": { - "name": "pages_blocks_channel_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_channel_parent_id_idx": { - "name": "pages_blocks_channel_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_channel_path_idx": { - "name": "pages_blocks_channel_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_channel_locale_idx": { - "name": "pages_blocks_channel_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_channel_parent_id_fk": { - "name": "pages_blocks_channel_parent_id_fk", - "tableFrom": "pages_blocks_channel", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_support_channels_section": { - "name": "pages_blocks_support_channels_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_support_channels_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_support_channels_section_order_idx": { - "name": "pages_blocks_support_channels_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_support_channels_section_parent_id_idx": { - "name": "pages_blocks_support_channels_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_support_channels_section_path_idx": { - "name": "pages_blocks_support_channels_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_support_channels_section_locale_idx": { - "name": "pages_blocks_support_channels_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_support_channels_section_parent_id_fk": { - "name": "pages_blocks_support_channels_section_parent_id_fk", - "tableFrom": "pages_blocks_support_channels_section", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_internal_link_5": { - "name": "pages_blocks_internal_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_internal_link_5_order_idx": { - "name": "pages_blocks_internal_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_5_parent_id_idx": { - "name": "pages_blocks_internal_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_5_path_idx": { - "name": "pages_blocks_internal_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_5_locale_idx": { - "name": "pages_blocks_internal_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_internal_link_5_parent_id_fk": { - "name": "pages_blocks_internal_link_5_parent_id_fk", - "tableFrom": "pages_blocks_internal_link_5", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link_6": { - "name": "pages_blocks_external_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_6_order_idx": { - "name": "pages_blocks_external_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_6_parent_id_idx": { - "name": "pages_blocks_external_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_6_path_idx": { - "name": "pages_blocks_external_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_6_locale_idx": { - "name": "pages_blocks_external_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_6_parent_id_fk": { - "name": "pages_blocks_external_link_6_parent_id_fk", - "tableFrom": "pages_blocks_external_link_6", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_block_3": { - "name": "pages_blocks_text_block_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_block_3_order_idx": { - "name": "pages_blocks_text_block_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_3_parent_id_idx": { - "name": "pages_blocks_text_block_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_3_path_idx": { - "name": "pages_blocks_text_block_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_3_locale_idx": { - "name": "pages_blocks_text_block_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_block_3_parent_id_fk": { - "name": "pages_blocks_text_block_3_parent_id_fk", - "tableFrom": "pages_blocks_text_block_3", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_accordion_item_2": { - "name": "pages_blocks_accordion_item_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "header": { - "name": "header", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "body": { - "name": "body", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_accordion_item_2_order_idx": { - "name": "pages_blocks_accordion_item_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_item_2_parent_id_idx": { - "name": "pages_blocks_accordion_item_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_item_2_path_idx": { - "name": "pages_blocks_accordion_item_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_item_2_locale_idx": { - "name": "pages_blocks_accordion_item_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_accordion_item_2_parent_id_fk": { - "name": "pages_blocks_accordion_item_2_parent_id_fk", - "tableFrom": "pages_blocks_accordion_item_2", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_accordion_2": { - "name": "pages_blocks_accordion_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_accordion_2_order_idx": { - "name": "pages_blocks_accordion_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_2_parent_id_idx": { - "name": "pages_blocks_accordion_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_2_path_idx": { - "name": "pages_blocks_accordion_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_2_locale_idx": { - "name": "pages_blocks_accordion_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_accordion_2_parent_id_fk": { - "name": "pages_blocks_accordion_2_parent_id_fk", - "tableFrom": "pages_blocks_accordion_2", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_accordion_block_2": { - "name": "pages_blocks_accordion_block_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_accordion_block_2_order_idx": { - "name": "pages_blocks_accordion_block_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_block_2_parent_id_idx": { - "name": "pages_blocks_accordion_block_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_block_2_path_idx": { - "name": "pages_blocks_accordion_block_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_accordion_block_2_locale_idx": { - "name": "pages_blocks_accordion_block_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_accordion_block_2_parent_id_fk": { - "name": "pages_blocks_accordion_block_2_parent_id_fk", - "tableFrom": "pages_blocks_accordion_block_2", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_accordion": { - "name": "pages_blocks_text_accordion", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_text_accordion_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_accordion_order_idx": { - "name": "pages_blocks_text_accordion_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_accordion_parent_id_idx": { - "name": "pages_blocks_text_accordion_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_accordion_path_idx": { - "name": "pages_blocks_text_accordion_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_accordion_locale_idx": { - "name": "pages_blocks_text_accordion_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_accordion_parent_id_fk": { - "name": "pages_blocks_text_accordion_parent_id_fk", - "tableFrom": "pages_blocks_text_accordion", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_internal_link_6": { - "name": "pages_blocks_internal_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_internal_link_6_order_idx": { - "name": "pages_blocks_internal_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_6_parent_id_idx": { - "name": "pages_blocks_internal_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_6_path_idx": { - "name": "pages_blocks_internal_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_6_locale_idx": { - "name": "pages_blocks_internal_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_internal_link_6_parent_id_fk": { - "name": "pages_blocks_internal_link_6_parent_id_fk", - "tableFrom": "pages_blocks_internal_link_6", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link_7": { - "name": "pages_blocks_external_link_7", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_7_order_idx": { - "name": "pages_blocks_external_link_7_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_7_parent_id_idx": { - "name": "pages_blocks_external_link_7_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_7_path_idx": { - "name": "pages_blocks_external_link_7_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_7_locale_idx": { - "name": "pages_blocks_external_link_7_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_7_parent_id_fk": { - "name": "pages_blocks_external_link_7_parent_id_fk", - "tableFrom": "pages_blocks_external_link_7", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_support_cta_section": { - "name": "pages_blocks_support_cta_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_support_cta_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_support_cta_section_order_idx": { - "name": "pages_blocks_support_cta_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_support_cta_section_parent_id_idx": { - "name": "pages_blocks_support_cta_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_support_cta_section_path_idx": { - "name": "pages_blocks_support_cta_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_support_cta_section_locale_idx": { - "name": "pages_blocks_support_cta_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_support_cta_section_image_idx": { - "name": "pages_blocks_support_cta_section_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_support_cta_section_image_id_media_id_fk": { - "name": "pages_blocks_support_cta_section_image_id_media_id_fk", - "tableFrom": "pages_blocks_support_cta_section", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "pages_blocks_support_cta_section_parent_id_fk": { - "name": "pages_blocks_support_cta_section_parent_id_fk", - "tableFrom": "pages_blocks_support_cta_section", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_internal_link_7": { - "name": "pages_blocks_internal_link_7", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_internal_link_7_order_idx": { - "name": "pages_blocks_internal_link_7_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_7_parent_id_idx": { - "name": "pages_blocks_internal_link_7_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_7_path_idx": { - "name": "pages_blocks_internal_link_7_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_internal_link_7_locale_idx": { - "name": "pages_blocks_internal_link_7_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_internal_link_7_parent_id_fk": { - "name": "pages_blocks_internal_link_7_parent_id_fk", - "tableFrom": "pages_blocks_internal_link_7", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_external_link_8": { - "name": "pages_blocks_external_link_8", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_external_link_8_order_idx": { - "name": "pages_blocks_external_link_8_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_8_parent_id_idx": { - "name": "pages_blocks_external_link_8_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_8_path_idx": { - "name": "pages_blocks_external_link_8_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_external_link_8_locale_idx": { - "name": "pages_blocks_external_link_8_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_external_link_8_parent_id_fk": { - "name": "pages_blocks_external_link_8_parent_id_fk", - "tableFrom": "pages_blocks_external_link_8", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_block_4": { - "name": "pages_blocks_text_block_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_block_4_order_idx": { - "name": "pages_blocks_text_block_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_4_parent_id_idx": { - "name": "pages_blocks_text_block_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_4_path_idx": { - "name": "pages_blocks_text_block_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_block_4_locale_idx": { - "name": "pages_blocks_text_block_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_block_4_parent_id_fk": { - "name": "pages_blocks_text_block_4_parent_id_fk", - "tableFrom": "pages_blocks_text_block_4", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_data_container": { - "name": "pages_blocks_data_container", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "info": { - "name": "info", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_data_container_order_idx": { - "name": "pages_blocks_data_container_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_data_container_parent_id_idx": { - "name": "pages_blocks_data_container_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_data_container_path_idx": { - "name": "pages_blocks_data_container_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_data_container_locale_idx": { - "name": "pages_blocks_data_container_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_data_container_parent_id_fk": { - "name": "pages_blocks_data_container_parent_id_fk", - "tableFrom": "pages_blocks_data_container", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_statistic_block": { - "name": "pages_blocks_statistic_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_statistic_block_order_idx": { - "name": "pages_blocks_statistic_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_statistic_block_parent_id_idx": { - "name": "pages_blocks_statistic_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_statistic_block_path_idx": { - "name": "pages_blocks_statistic_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_statistic_block_locale_idx": { - "name": "pages_blocks_statistic_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_statistic_block_parent_id_fk": { - "name": "pages_blocks_statistic_block_parent_id_fk", - "tableFrom": "pages_blocks_statistic_block", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_text_statistic": { - "name": "pages_blocks_text_statistic", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_text_statistic_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "show_inline": { - "name": "show_inline", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_text_statistic_order_idx": { - "name": "pages_blocks_text_statistic_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_statistic_parent_id_idx": { - "name": "pages_blocks_text_statistic_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_statistic_path_idx": { - "name": "pages_blocks_text_statistic_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_text_statistic_locale_idx": { - "name": "pages_blocks_text_statistic_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_text_statistic_parent_id_fk": { - "name": "pages_blocks_text_statistic_parent_id_fk", - "tableFrom": "pages_blocks_text_statistic", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_list_collection": { - "name": "pages_blocks_list_collection", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_list_collection_order_idx": { - "name": "pages_blocks_list_collection_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_list_collection_parent_id_idx": { - "name": "pages_blocks_list_collection_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_list_collection_path_idx": { - "name": "pages_blocks_list_collection_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_list_collection_locale_idx": { - "name": "pages_blocks_list_collection_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_list_collection_parent_id_fk": { - "name": "pages_blocks_list_collection_parent_id_fk", - "tableFrom": "pages_blocks_list_collection", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_topic_filter": { - "name": "pages_blocks_topic_filter", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "title_filter": { - "name": "title_filter", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label_for_all": { - "name": "label_for_all", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_topic_filter_order_idx": { - "name": "pages_blocks_topic_filter_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_topic_filter_parent_id_idx": { - "name": "pages_blocks_topic_filter_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_topic_filter_path_idx": { - "name": "pages_blocks_topic_filter_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_topic_filter_locale_idx": { - "name": "pages_blocks_topic_filter_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_topic_filter_parent_id_fk": { - "name": "pages_blocks_topic_filter_parent_id_fk", - "tableFrom": "pages_blocks_topic_filter", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_link_block": { - "name": "pages_blocks_link_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "external_url": { - "name": "external_url", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_link_block_order_idx": { - "name": "pages_blocks_link_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_link_block_parent_id_idx": { - "name": "pages_blocks_link_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_link_block_path_idx": { - "name": "pages_blocks_link_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_link_block_locale_idx": { - "name": "pages_blocks_link_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_link_block_parent_id_fk": { - "name": "pages_blocks_link_block_parent_id_fk", - "tableFrom": "pages_blocks_link_block", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_card_link": { - "name": "pages_blocks_card_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_card_link_order_idx": { - "name": "pages_blocks_card_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_link_parent_id_idx": { - "name": "pages_blocks_card_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_link_path_idx": { - "name": "pages_blocks_card_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_link_locale_idx": { - "name": "pages_blocks_card_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_link_image_idx": { - "name": "pages_blocks_card_link_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_card_link_image_id_media_id_fk": { - "name": "pages_blocks_card_link_image_id_media_id_fk", - "tableFrom": "pages_blocks_card_link", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "pages_blocks_card_link_parent_id_fk": { - "name": "pages_blocks_card_link_parent_id_fk", - "tableFrom": "pages_blocks_card_link", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_card_link_list": { - "name": "pages_blocks_card_link_list", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "show_inline_card": { - "name": "show_inline_card", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_pages_blocks_card_link_list_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_card_link_list_order_idx": { - "name": "pages_blocks_card_link_list_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_link_list_parent_id_idx": { - "name": "pages_blocks_card_link_list_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_link_list_path_idx": { - "name": "pages_blocks_card_link_list_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_card_link_list_locale_idx": { - "name": "pages_blocks_card_link_list_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_card_link_list_parent_id_fk": { - "name": "pages_blocks_card_link_list_parent_id_fk", - "tableFrom": "pages_blocks_card_link_list", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_blocks_use_case_container": { - "name": "pages_blocks_use_case_container", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_blocks_use_case_container_order_idx": { - "name": "pages_blocks_use_case_container_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_use_case_container_parent_id_idx": { - "name": "pages_blocks_use_case_container_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_use_case_container_path_idx": { - "name": "pages_blocks_use_case_container_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_blocks_use_case_container_locale_idx": { - "name": "pages_blocks_use_case_container_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_blocks_use_case_container_parent_id_fk": { - "name": "pages_blocks_use_case_container_parent_id_fk", - "tableFrom": "pages_blocks_use_case_container", - "tableTo": "pages", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages": { - "name": "pages", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "localized_slugs": { - "name": "localized_slugs", - "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": { - "pages_seo_seo_image_idx": { - "name": "pages_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "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": {} - } - }, - "foreignKeys": { - "pages_seo_image_id_media_id_fk": { - "name": "pages_seo_image_id_media_id_fk", - "tableFrom": "pages", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.pages_locales": { - "name": "pages_locales", - "schema": "", - "columns": { - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "slug": { - "name": "slug", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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_slug_idx": { - "name": "pages_slug_idx", - "columns": [ - { - "expression": "slug", - "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_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_rels": { - "name": "pages_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "kpi_elements_id": { - "name": "kpi_elements_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "news_items_id": { - "name": "news_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "pages_rels_order_idx": { - "name": "pages_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_parent_idx": { - "name": "pages_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_path_idx": { - "name": "pages_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_locale_idx": { - "name": "pages_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_pages_id_idx": { - "name": "pages_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_articles_id_idx": { - "name": "pages_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_insights_id_idx": { - "name": "pages_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_webinar_items_id_idx": { - "name": "pages_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_story_items_id_idx": { - "name": "pages_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_catalogues_id_idx": { - "name": "pages_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_kpi_elements_id_idx": { - "name": "pages_rels_kpi_elements_id_idx", - "columns": [ - { - "expression": "kpi_elements_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "pages_rels_news_items_id_idx": { - "name": "pages_rels_news_items_id_idx", - "columns": [ - { - "expression": "news_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "pages_rels_parent_fk": { - "name": "pages_rels_parent_fk", - "tableFrom": "pages_rels", - "tableTo": "pages", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_pages_fk": { - "name": "pages_rels_pages_fk", - "tableFrom": "pages_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_articles_fk": { - "name": "pages_rels_articles_fk", - "tableFrom": "pages_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_insights_fk": { - "name": "pages_rels_insights_fk", - "tableFrom": "pages_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_webinar_items_fk": { - "name": "pages_rels_webinar_items_fk", - "tableFrom": "pages_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_story_items_fk": { - "name": "pages_rels_story_items_fk", - "tableFrom": "pages_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_catalogues_fk": { - "name": "pages_rels_catalogues_fk", - "tableFrom": "pages_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_kpi_elements_fk": { - "name": "pages_rels_kpi_elements_fk", - "tableFrom": "pages_rels", - "tableTo": "kpi_elements", - "columnsFrom": [ - "kpi_elements_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "pages_rels_news_items_fk": { - "name": "pages_rels_news_items_fk", - "tableFrom": "pages_rels", - "tableTo": "news_items", - "columnsFrom": [ - "news_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.articles_blocks_topics_block": { - "name": "articles_blocks_topics_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "articles_blocks_topics_block_order_idx": { - "name": "articles_blocks_topics_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_blocks_topics_block_parent_id_idx": { - "name": "articles_blocks_topics_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_blocks_topics_block_path_idx": { - "name": "articles_blocks_topics_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_blocks_topics_block_locale_idx": { - "name": "articles_blocks_topics_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "articles_blocks_topics_block_parent_id_fk": { - "name": "articles_blocks_topics_block_parent_id_fk", - "tableFrom": "articles_blocks_topics_block", - "tableTo": "articles", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.articles": { - "name": "articles", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "localized_slugs": { - "name": "localized_slugs", - "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": { - "articles_seo_seo_image_idx": { - "name": "articles_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_updated_at_idx": { - "name": "articles_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_created_at_idx": { - "name": "articles_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "articles_seo_image_id_media_id_fk": { - "name": "articles_seo_image_id_media_id_fk", - "tableFrom": "articles", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.articles_locales": { - "name": "articles_locales", - "schema": "", - "columns": { - "parent_id": { - "name": "parent_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "jsonb", - "primaryKey": false, - "notNull": false - }, - "slug": { - "name": "slug", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "content": { - "name": "content", - "type": "jsonb", - "primaryKey": false, - "notNull": false - }, - "description_title": { - "name": "description_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "description": { - "name": "description", - "type": "jsonb", - "primaryKey": false, - "notNull": false - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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": { - "articles_parent_idx": { - "name": "articles_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_slug_idx": { - "name": "articles_slug_idx", - "columns": [ - { - "expression": "slug", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_image_idx": { - "name": "articles_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_locales_locale_parent_id_unique": { - "name": "articles_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": { - "articles_locales_parent_id_pages_id_fk": { - "name": "articles_locales_parent_id_pages_id_fk", - "tableFrom": "articles_locales", - "tableTo": "pages", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "articles_locales_image_id_media_id_fk": { - "name": "articles_locales_image_id_media_id_fk", - "tableFrom": "articles_locales", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "articles_locales_parent_id_fk": { - "name": "articles_locales_parent_id_fk", - "tableFrom": "articles_locales", - "tableTo": "articles", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.articles_rels": { - "name": "articles_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "article_topics_id": { - "name": "article_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "news_topics_id": { - "name": "news_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_topics_id": { - "name": "story_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insight_topics_id": { - "name": "insight_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "resource_topics_id": { - "name": "resource_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_topics_id": { - "name": "webinar_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "articles_rels_order_idx": { - "name": "articles_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_parent_idx": { - "name": "articles_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_path_idx": { - "name": "articles_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_locale_idx": { - "name": "articles_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_article_topics_id_idx": { - "name": "articles_rels_article_topics_id_idx", - "columns": [ - { - "expression": "article_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_news_topics_id_idx": { - "name": "articles_rels_news_topics_id_idx", - "columns": [ - { - "expression": "news_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_story_topics_id_idx": { - "name": "articles_rels_story_topics_id_idx", - "columns": [ - { - "expression": "story_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_insight_topics_id_idx": { - "name": "articles_rels_insight_topics_id_idx", - "columns": [ - { - "expression": "insight_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_resource_topics_id_idx": { - "name": "articles_rels_resource_topics_id_idx", - "columns": [ - { - "expression": "resource_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "articles_rels_webinar_topics_id_idx": { - "name": "articles_rels_webinar_topics_id_idx", - "columns": [ - { - "expression": "webinar_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "articles_rels_parent_fk": { - "name": "articles_rels_parent_fk", - "tableFrom": "articles_rels", - "tableTo": "articles", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "articles_rels_article_topics_fk": { - "name": "articles_rels_article_topics_fk", - "tableFrom": "articles_rels", - "tableTo": "article_topics", - "columnsFrom": [ - "article_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "articles_rels_news_topics_fk": { - "name": "articles_rels_news_topics_fk", - "tableFrom": "articles_rels", - "tableTo": "news_topics", - "columnsFrom": [ - "news_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "articles_rels_story_topics_fk": { - "name": "articles_rels_story_topics_fk", - "tableFrom": "articles_rels", - "tableTo": "story_topics", - "columnsFrom": [ - "story_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "articles_rels_insight_topics_fk": { - "name": "articles_rels_insight_topics_fk", - "tableFrom": "articles_rels", - "tableTo": "insight_topics", - "columnsFrom": [ - "insight_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "articles_rels_resource_topics_fk": { - "name": "articles_rels_resource_topics_fk", - "tableFrom": "articles_rels", - "tableTo": "resource_topics", - "columnsFrom": [ - "resource_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "articles_rels_webinar_topics_fk": { - "name": "articles_rels_webinar_topics_fk", - "tableFrom": "articles_rels", - "tableTo": "webinar_topics", - "columnsFrom": [ - "webinar_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_internal_link": { - "name": "insights_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_internal_link_order_idx": { - "name": "insights_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_parent_id_idx": { - "name": "insights_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_path_idx": { - "name": "insights_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_locale_idx": { - "name": "insights_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_internal_link_parent_id_fk": { - "name": "insights_blocks_internal_link_parent_id_fk", - "tableFrom": "insights_blocks_internal_link", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_external_link": { - "name": "insights_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_external_link_order_idx": { - "name": "insights_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_parent_id_idx": { - "name": "insights_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_path_idx": { - "name": "insights_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_locale_idx": { - "name": "insights_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_external_link_parent_id_fk": { - "name": "insights_blocks_external_link_parent_id_fk", - "tableFrom": "insights_blocks_external_link", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_hero": { - "name": "insights_blocks_hero", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "enum_insights_blocks_hero_variant", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_hero_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "background_image_id": { - "name": "background_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "background_image_for_mobile_id": { - "name": "background_image_for_mobile_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "show_breadcrumb": { - "name": "show_breadcrumb", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_hero_order_idx": { - "name": "insights_blocks_hero_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_hero_parent_id_idx": { - "name": "insights_blocks_hero_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_hero_path_idx": { - "name": "insights_blocks_hero_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_hero_locale_idx": { - "name": "insights_blocks_hero_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_hero_background_image_idx": { - "name": "insights_blocks_hero_background_image_idx", - "columns": [ - { - "expression": "background_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_hero_background_image_for_mobile_idx": { - "name": "insights_blocks_hero_background_image_for_mobile_idx", - "columns": [ - { - "expression": "background_image_for_mobile_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_hero_background_image_id_media_id_fk": { - "name": "insights_blocks_hero_background_image_id_media_id_fk", - "tableFrom": "insights_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "insights_blocks_hero_background_image_for_mobile_id_media_id_fk": { - "name": "insights_blocks_hero_background_image_for_mobile_id_media_id_fk", - "tableFrom": "insights_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_for_mobile_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "insights_blocks_hero_parent_id_fk": { - "name": "insights_blocks_hero_parent_id_fk", - "tableFrom": "insights_blocks_hero", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_internal_link_2": { - "name": "insights_blocks_internal_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_internal_link_2_order_idx": { - "name": "insights_blocks_internal_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_2_parent_id_idx": { - "name": "insights_blocks_internal_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_2_path_idx": { - "name": "insights_blocks_internal_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_2_locale_idx": { - "name": "insights_blocks_internal_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_internal_link_2_parent_id_fk": { - "name": "insights_blocks_internal_link_2_parent_id_fk", - "tableFrom": "insights_blocks_internal_link_2", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_external_link_2": { - "name": "insights_blocks_external_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_external_link_2_order_idx": { - "name": "insights_blocks_external_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_2_parent_id_idx": { - "name": "insights_blocks_external_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_2_path_idx": { - "name": "insights_blocks_external_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_2_locale_idx": { - "name": "insights_blocks_external_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_external_link_2_parent_id_fk": { - "name": "insights_blocks_external_link_2_parent_id_fk", - "tableFrom": "insights_blocks_external_link_2", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_block": { - "name": "insights_blocks_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_block_order_idx": { - "name": "insights_blocks_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_parent_id_idx": { - "name": "insights_blocks_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_path_idx": { - "name": "insights_blocks_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_locale_idx": { - "name": "insights_blocks_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_block_parent_id_fk": { - "name": "insights_blocks_text_block_parent_id_fk", - "tableFrom": "insights_blocks_text_block", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_only": { - "name": "insights_blocks_text_only", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_text_only_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_insights_blocks_text_only_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_only_order_idx": { - "name": "insights_blocks_text_only_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_only_parent_id_idx": { - "name": "insights_blocks_text_only_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_only_path_idx": { - "name": "insights_blocks_text_only_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_only_locale_idx": { - "name": "insights_blocks_text_only_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_only_parent_id_fk": { - "name": "insights_blocks_text_only_parent_id_fk", - "tableFrom": "insights_blocks_text_only", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_internal_link_3": { - "name": "insights_blocks_internal_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_internal_link_3_order_idx": { - "name": "insights_blocks_internal_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_3_parent_id_idx": { - "name": "insights_blocks_internal_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_3_path_idx": { - "name": "insights_blocks_internal_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_3_locale_idx": { - "name": "insights_blocks_internal_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_internal_link_3_parent_id_fk": { - "name": "insights_blocks_internal_link_3_parent_id_fk", - "tableFrom": "insights_blocks_internal_link_3", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_external_link_3": { - "name": "insights_blocks_external_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_external_link_3_order_idx": { - "name": "insights_blocks_external_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_3_parent_id_idx": { - "name": "insights_blocks_external_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_3_path_idx": { - "name": "insights_blocks_external_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_3_locale_idx": { - "name": "insights_blocks_external_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_external_link_3_parent_id_fk": { - "name": "insights_blocks_external_link_3_parent_id_fk", - "tableFrom": "insights_blocks_external_link_3", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_block_2": { - "name": "insights_blocks_text_block_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_block_2_order_idx": { - "name": "insights_blocks_text_block_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_2_parent_id_idx": { - "name": "insights_blocks_text_block_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_2_path_idx": { - "name": "insights_blocks_text_block_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_2_locale_idx": { - "name": "insights_blocks_text_block_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_block_2_parent_id_fk": { - "name": "insights_blocks_text_block_2_parent_id_fk", - "tableFrom": "insights_blocks_text_block_2", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_card_editorial_with_icon": { - "name": "insights_blocks_card_editorial_with_icon", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_card_editorial_with_icon_order_idx": { - "name": "insights_blocks_card_editorial_with_icon_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_editorial_with_icon_parent_id_idx": { - "name": "insights_blocks_card_editorial_with_icon_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_editorial_with_icon_path_idx": { - "name": "insights_blocks_card_editorial_with_icon_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_editorial_with_icon_locale_idx": { - "name": "insights_blocks_card_editorial_with_icon_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_card_editorial_with_icon_parent_id_fk": { - "name": "insights_blocks_card_editorial_with_icon_parent_id_fk", - "tableFrom": "insights_blocks_card_editorial_with_icon", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_additional_content": { - "name": "insights_blocks_additional_content", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_additional_content_order_idx": { - "name": "insights_blocks_additional_content_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_additional_content_parent_id_idx": { - "name": "insights_blocks_additional_content_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_additional_content_path_idx": { - "name": "insights_blocks_additional_content_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_additional_content_locale_idx": { - "name": "insights_blocks_additional_content_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_additional_content_parent_id_fk": { - "name": "insights_blocks_additional_content_parent_id_fk", - "tableFrom": "insights_blocks_additional_content", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_image": { - "name": "insights_blocks_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 - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_text_image_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_insights_blocks_text_image_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_image_order_idx": { - "name": "insights_blocks_text_image_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_image_parent_id_idx": { - "name": "insights_blocks_text_image_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_image_path_idx": { - "name": "insights_blocks_text_image_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_image_locale_idx": { - "name": "insights_blocks_text_image_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_image_image_idx": { - "name": "insights_blocks_text_image_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_image_image_id_media_id_fk": { - "name": "insights_blocks_text_image_image_id_media_id_fk", - "tableFrom": "insights_blocks_text_image", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "insights_blocks_text_image_parent_id_fk": { - "name": "insights_blocks_text_image_parent_id_fk", - "tableFrom": "insights_blocks_text_image", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_news_tab": { - "name": "insights_blocks_news_tab", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_news_tab_order_idx": { - "name": "insights_blocks_news_tab_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_news_tab_parent_id_idx": { - "name": "insights_blocks_news_tab_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_news_tab_path_idx": { - "name": "insights_blocks_news_tab_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_news_tab_locale_idx": { - "name": "insights_blocks_news_tab_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_news_tab_parent_id_fk": { - "name": "insights_blocks_news_tab_parent_id_fk", - "tableFrom": "insights_blocks_news_tab", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_story_tab": { - "name": "insights_blocks_story_tab", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_story_tab_order_idx": { - "name": "insights_blocks_story_tab_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_story_tab_parent_id_idx": { - "name": "insights_blocks_story_tab_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_story_tab_path_idx": { - "name": "insights_blocks_story_tab_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_story_tab_locale_idx": { - "name": "insights_blocks_story_tab_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_story_tab_parent_id_fk": { - "name": "insights_blocks_story_tab_parent_id_fk", - "tableFrom": "insights_blocks_story_tab", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_internal_link_4": { - "name": "insights_blocks_internal_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_internal_link_4_order_idx": { - "name": "insights_blocks_internal_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_4_parent_id_idx": { - "name": "insights_blocks_internal_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_4_path_idx": { - "name": "insights_blocks_internal_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_4_locale_idx": { - "name": "insights_blocks_internal_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_internal_link_4_parent_id_fk": { - "name": "insights_blocks_internal_link_4_parent_id_fk", - "tableFrom": "insights_blocks_internal_link_4", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_external_link_4": { - "name": "insights_blocks_external_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_external_link_4_order_idx": { - "name": "insights_blocks_external_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_4_parent_id_idx": { - "name": "insights_blocks_external_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_4_path_idx": { - "name": "insights_blocks_external_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_4_locale_idx": { - "name": "insights_blocks_external_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_external_link_4_parent_id_fk": { - "name": "insights_blocks_external_link_4_parent_id_fk", - "tableFrom": "insights_blocks_external_link_4", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_news_feed": { - "name": "insights_blocks_news_feed", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_news_feed_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_news_feed_order_idx": { - "name": "insights_blocks_news_feed_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_news_feed_parent_id_idx": { - "name": "insights_blocks_news_feed_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_news_feed_path_idx": { - "name": "insights_blocks_news_feed_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_news_feed_locale_idx": { - "name": "insights_blocks_news_feed_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_news_feed_parent_id_fk": { - "name": "insights_blocks_news_feed_parent_id_fk", - "tableFrom": "insights_blocks_news_feed", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_channel": { - "name": "insights_blocks_channel", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "link_to": { - "name": "link_to", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_channel_order_idx": { - "name": "insights_blocks_channel_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_channel_parent_id_idx": { - "name": "insights_blocks_channel_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_channel_path_idx": { - "name": "insights_blocks_channel_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_channel_locale_idx": { - "name": "insights_blocks_channel_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_channel_parent_id_fk": { - "name": "insights_blocks_channel_parent_id_fk", - "tableFrom": "insights_blocks_channel", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_support_channels_section": { - "name": "insights_blocks_support_channels_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_support_channels_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_support_channels_section_order_idx": { - "name": "insights_blocks_support_channels_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_support_channels_section_parent_id_idx": { - "name": "insights_blocks_support_channels_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_support_channels_section_path_idx": { - "name": "insights_blocks_support_channels_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_support_channels_section_locale_idx": { - "name": "insights_blocks_support_channels_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_support_channels_section_parent_id_fk": { - "name": "insights_blocks_support_channels_section_parent_id_fk", - "tableFrom": "insights_blocks_support_channels_section", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_internal_link_5": { - "name": "insights_blocks_internal_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_internal_link_5_order_idx": { - "name": "insights_blocks_internal_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_5_parent_id_idx": { - "name": "insights_blocks_internal_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_5_path_idx": { - "name": "insights_blocks_internal_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_5_locale_idx": { - "name": "insights_blocks_internal_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_internal_link_5_parent_id_fk": { - "name": "insights_blocks_internal_link_5_parent_id_fk", - "tableFrom": "insights_blocks_internal_link_5", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_external_link_5": { - "name": "insights_blocks_external_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_external_link_5_order_idx": { - "name": "insights_blocks_external_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_5_parent_id_idx": { - "name": "insights_blocks_external_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_5_path_idx": { - "name": "insights_blocks_external_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_5_locale_idx": { - "name": "insights_blocks_external_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_external_link_5_parent_id_fk": { - "name": "insights_blocks_external_link_5_parent_id_fk", - "tableFrom": "insights_blocks_external_link_5", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_block_3": { - "name": "insights_blocks_text_block_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_block_3_order_idx": { - "name": "insights_blocks_text_block_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_3_parent_id_idx": { - "name": "insights_blocks_text_block_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_3_path_idx": { - "name": "insights_blocks_text_block_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_3_locale_idx": { - "name": "insights_blocks_text_block_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_block_3_parent_id_fk": { - "name": "insights_blocks_text_block_3_parent_id_fk", - "tableFrom": "insights_blocks_text_block_3", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_use_case_block": { - "name": "insights_blocks_use_case_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_use_case_block_order_idx": { - "name": "insights_blocks_use_case_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_use_case_block_parent_id_idx": { - "name": "insights_blocks_use_case_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_use_case_block_path_idx": { - "name": "insights_blocks_use_case_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_use_case_block_locale_idx": { - "name": "insights_blocks_use_case_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_use_case_block_parent_id_fk": { - "name": "insights_blocks_use_case_block_parent_id_fk", - "tableFrom": "insights_blocks_use_case_block", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_use_case": { - "name": "insights_blocks_text_use_case", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_text_use_case_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_use_case_order_idx": { - "name": "insights_blocks_text_use_case_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_use_case_parent_id_idx": { - "name": "insights_blocks_text_use_case_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_use_case_path_idx": { - "name": "insights_blocks_text_use_case_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_use_case_locale_idx": { - "name": "insights_blocks_text_use_case_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_use_case_parent_id_fk": { - "name": "insights_blocks_text_use_case_parent_id_fk", - "tableFrom": "insights_blocks_text_use_case", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_internal_link_6": { - "name": "insights_blocks_internal_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_internal_link_6_order_idx": { - "name": "insights_blocks_internal_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_6_parent_id_idx": { - "name": "insights_blocks_internal_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_6_path_idx": { - "name": "insights_blocks_internal_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_internal_link_6_locale_idx": { - "name": "insights_blocks_internal_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_internal_link_6_parent_id_fk": { - "name": "insights_blocks_internal_link_6_parent_id_fk", - "tableFrom": "insights_blocks_internal_link_6", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_external_link_6": { - "name": "insights_blocks_external_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_external_link_6_order_idx": { - "name": "insights_blocks_external_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_6_parent_id_idx": { - "name": "insights_blocks_external_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_6_path_idx": { - "name": "insights_blocks_external_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_external_link_6_locale_idx": { - "name": "insights_blocks_external_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_external_link_6_parent_id_fk": { - "name": "insights_blocks_external_link_6_parent_id_fk", - "tableFrom": "insights_blocks_external_link_6", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_block_4": { - "name": "insights_blocks_text_block_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_block_4_order_idx": { - "name": "insights_blocks_text_block_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_4_parent_id_idx": { - "name": "insights_blocks_text_block_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_4_path_idx": { - "name": "insights_blocks_text_block_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_block_4_locale_idx": { - "name": "insights_blocks_text_block_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_block_4_parent_id_fk": { - "name": "insights_blocks_text_block_4_parent_id_fk", - "tableFrom": "insights_blocks_text_block_4", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_data_container": { - "name": "insights_blocks_data_container", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "info": { - "name": "info", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_data_container_order_idx": { - "name": "insights_blocks_data_container_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_data_container_parent_id_idx": { - "name": "insights_blocks_data_container_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_data_container_path_idx": { - "name": "insights_blocks_data_container_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_data_container_locale_idx": { - "name": "insights_blocks_data_container_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_data_container_parent_id_fk": { - "name": "insights_blocks_data_container_parent_id_fk", - "tableFrom": "insights_blocks_data_container", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_statistic_block": { - "name": "insights_blocks_statistic_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_statistic_block_order_idx": { - "name": "insights_blocks_statistic_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_statistic_block_parent_id_idx": { - "name": "insights_blocks_statistic_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_statistic_block_path_idx": { - "name": "insights_blocks_statistic_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_statistic_block_locale_idx": { - "name": "insights_blocks_statistic_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_statistic_block_parent_id_fk": { - "name": "insights_blocks_statistic_block_parent_id_fk", - "tableFrom": "insights_blocks_statistic_block", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_text_statistic": { - "name": "insights_blocks_text_statistic", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_text_statistic_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "show_inline": { - "name": "show_inline", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_text_statistic_order_idx": { - "name": "insights_blocks_text_statistic_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_statistic_parent_id_idx": { - "name": "insights_blocks_text_statistic_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_statistic_path_idx": { - "name": "insights_blocks_text_statistic_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_text_statistic_locale_idx": { - "name": "insights_blocks_text_statistic_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_text_statistic_parent_id_fk": { - "name": "insights_blocks_text_statistic_parent_id_fk", - "tableFrom": "insights_blocks_text_statistic", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_link_block": { - "name": "insights_blocks_link_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "external_url": { - "name": "external_url", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_link_block_order_idx": { - "name": "insights_blocks_link_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_link_block_parent_id_idx": { - "name": "insights_blocks_link_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_link_block_path_idx": { - "name": "insights_blocks_link_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_link_block_locale_idx": { - "name": "insights_blocks_link_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_link_block_parent_id_fk": { - "name": "insights_blocks_link_block_parent_id_fk", - "tableFrom": "insights_blocks_link_block", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_card_link": { - "name": "insights_blocks_card_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_card_link_order_idx": { - "name": "insights_blocks_card_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_link_parent_id_idx": { - "name": "insights_blocks_card_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_link_path_idx": { - "name": "insights_blocks_card_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_link_locale_idx": { - "name": "insights_blocks_card_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_link_image_idx": { - "name": "insights_blocks_card_link_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_card_link_image_id_media_id_fk": { - "name": "insights_blocks_card_link_image_id_media_id_fk", - "tableFrom": "insights_blocks_card_link", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "insights_blocks_card_link_parent_id_fk": { - "name": "insights_blocks_card_link_parent_id_fk", - "tableFrom": "insights_blocks_card_link", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_blocks_card_link_list": { - "name": "insights_blocks_card_link_list", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "show_inline_card": { - "name": "show_inline_card", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_insights_blocks_card_link_list_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_blocks_card_link_list_order_idx": { - "name": "insights_blocks_card_link_list_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_link_list_parent_id_idx": { - "name": "insights_blocks_card_link_list_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_link_list_path_idx": { - "name": "insights_blocks_card_link_list_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_blocks_card_link_list_locale_idx": { - "name": "insights_blocks_card_link_list_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_blocks_card_link_list_parent_id_fk": { - "name": "insights_blocks_card_link_list_parent_id_fk", - "tableFrom": "insights_blocks_card_link_list", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights": { - "name": "insights", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "localized_slugs": { - "name": "localized_slugs", - "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": { - "insights_seo_seo_image_idx": { - "name": "insights_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_updated_at_idx": { - "name": "insights_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_created_at_idx": { - "name": "insights_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_seo_image_id_media_id_fk": { - "name": "insights_seo_image_id_media_id_fk", - "tableFrom": "insights", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_locales": { - "name": "insights_locales", - "schema": "", - "columns": { - "parent_id": { - "name": "parent_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "slug": { - "name": "slug", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "abstract": { - "name": "abstract", - "type": "jsonb", - "primaryKey": false, - "notNull": true - }, - "topic_id": { - "name": "topic_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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": { - "insights_parent_idx": { - "name": "insights_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_image_idx": { - "name": "insights_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_slug_idx": { - "name": "insights_slug_idx", - "columns": [ - { - "expression": "slug", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_topic_idx": { - "name": "insights_topic_idx", - "columns": [ - { - "expression": "topic_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_locales_locale_parent_id_unique": { - "name": "insights_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": { - "insights_locales_parent_id_pages_id_fk": { - "name": "insights_locales_parent_id_pages_id_fk", - "tableFrom": "insights_locales", - "tableTo": "pages", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "insights_locales_image_id_media_id_fk": { - "name": "insights_locales_image_id_media_id_fk", - "tableFrom": "insights_locales", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "insights_locales_topic_id_insight_topics_id_fk": { - "name": "insights_locales_topic_id_insight_topics_id_fk", - "tableFrom": "insights_locales", - "tableTo": "insight_topics", - "columnsFrom": [ - "topic_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "insights_locales_parent_id_fk": { - "name": "insights_locales_parent_id_fk", - "tableFrom": "insights_locales", - "tableTo": "insights", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.insights_rels": { - "name": "insights_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "news_items_id": { - "name": "news_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "kpi_elements_id": { - "name": "kpi_elements_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "insights_rels_order_idx": { - "name": "insights_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_parent_idx": { - "name": "insights_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_path_idx": { - "name": "insights_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_locale_idx": { - "name": "insights_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_pages_id_idx": { - "name": "insights_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_articles_id_idx": { - "name": "insights_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_insights_id_idx": { - "name": "insights_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_webinar_items_id_idx": { - "name": "insights_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_story_items_id_idx": { - "name": "insights_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_catalogues_id_idx": { - "name": "insights_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_news_items_id_idx": { - "name": "insights_rels_news_items_id_idx", - "columns": [ - { - "expression": "news_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "insights_rels_kpi_elements_id_idx": { - "name": "insights_rels_kpi_elements_id_idx", - "columns": [ - { - "expression": "kpi_elements_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "insights_rels_parent_fk": { - "name": "insights_rels_parent_fk", - "tableFrom": "insights_rels", - "tableTo": "insights", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_pages_fk": { - "name": "insights_rels_pages_fk", - "tableFrom": "insights_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_articles_fk": { - "name": "insights_rels_articles_fk", - "tableFrom": "insights_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_insights_fk": { - "name": "insights_rels_insights_fk", - "tableFrom": "insights_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_webinar_items_fk": { - "name": "insights_rels_webinar_items_fk", - "tableFrom": "insights_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_story_items_fk": { - "name": "insights_rels_story_items_fk", - "tableFrom": "insights_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_catalogues_fk": { - "name": "insights_rels_catalogues_fk", - "tableFrom": "insights_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_news_items_fk": { - "name": "insights_rels_news_items_fk", - "tableFrom": "insights_rels", - "tableTo": "news_items", - "columnsFrom": [ - "news_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "insights_rels_kpi_elements_fk": { - "name": "insights_rels_kpi_elements_fk", - "tableFrom": "insights_rels", - "tableTo": "kpi_elements", - "columnsFrom": [ - "kpi_elements_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_internal_link": { - "name": "webinar_items_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_internal_link_order_idx": { - "name": "webinar_items_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_parent_id_idx": { - "name": "webinar_items_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_path_idx": { - "name": "webinar_items_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_locale_idx": { - "name": "webinar_items_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_internal_link_parent_id_fk": { - "name": "webinar_items_blocks_internal_link_parent_id_fk", - "tableFrom": "webinar_items_blocks_internal_link", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_external_link": { - "name": "webinar_items_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_external_link_order_idx": { - "name": "webinar_items_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_parent_id_idx": { - "name": "webinar_items_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_path_idx": { - "name": "webinar_items_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_locale_idx": { - "name": "webinar_items_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_external_link_parent_id_fk": { - "name": "webinar_items_blocks_external_link_parent_id_fk", - "tableFrom": "webinar_items_blocks_external_link", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_hero": { - "name": "webinar_items_blocks_hero", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "enum_webinar_items_blocks_hero_variant", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_webinar_items_blocks_hero_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "background_image_id": { - "name": "background_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "background_image_for_mobile_id": { - "name": "background_image_for_mobile_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "show_breadcrumb": { - "name": "show_breadcrumb", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_hero_order_idx": { - "name": "webinar_items_blocks_hero_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_hero_parent_id_idx": { - "name": "webinar_items_blocks_hero_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_hero_path_idx": { - "name": "webinar_items_blocks_hero_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_hero_locale_idx": { - "name": "webinar_items_blocks_hero_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_hero_background_image_idx": { - "name": "webinar_items_blocks_hero_background_image_idx", - "columns": [ - { - "expression": "background_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_hero_background_image_for_mobile_idx": { - "name": "webinar_items_blocks_hero_background_image_for_mobile_idx", - "columns": [ - { - "expression": "background_image_for_mobile_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_hero_background_image_id_media_id_fk": { - "name": "webinar_items_blocks_hero_background_image_id_media_id_fk", - "tableFrom": "webinar_items_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "webinar_items_blocks_hero_background_image_for_mobile_id_media_id_fk": { - "name": "webinar_items_blocks_hero_background_image_for_mobile_id_media_id_fk", - "tableFrom": "webinar_items_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_for_mobile_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "webinar_items_blocks_hero_parent_id_fk": { - "name": "webinar_items_blocks_hero_parent_id_fk", - "tableFrom": "webinar_items_blocks_hero", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_download_link": { - "name": "webinar_items_blocks_download_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "doc_id": { - "name": "doc_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_download_link_order_idx": { - "name": "webinar_items_blocks_download_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_download_link_parent_id_idx": { - "name": "webinar_items_blocks_download_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_download_link_path_idx": { - "name": "webinar_items_blocks_download_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_download_link_locale_idx": { - "name": "webinar_items_blocks_download_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_download_link_doc_idx": { - "name": "webinar_items_blocks_download_link_doc_idx", - "columns": [ - { - "expression": "doc_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_download_link_doc_id_media_id_fk": { - "name": "webinar_items_blocks_download_link_doc_id_media_id_fk", - "tableFrom": "webinar_items_blocks_download_link", - "tableTo": "media", - "columnsFrom": [ - "doc_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "webinar_items_blocks_download_link_parent_id_fk": { - "name": "webinar_items_blocks_download_link_parent_id_fk", - "tableFrom": "webinar_items_blocks_download_link", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_action_card": { - "name": "webinar_items_blocks_action_card", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "category": { - "name": "category", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "read_more_label": { - "name": "read_more_label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "read_less_label": { - "name": "read_less_label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_action_card_order_idx": { - "name": "webinar_items_blocks_action_card_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_action_card_parent_id_idx": { - "name": "webinar_items_blocks_action_card_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_action_card_path_idx": { - "name": "webinar_items_blocks_action_card_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_action_card_locale_idx": { - "name": "webinar_items_blocks_action_card_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_action_card_parent_id_fk": { - "name": "webinar_items_blocks_action_card_parent_id_fk", - "tableFrom": "webinar_items_blocks_action_card", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_internal_link_2": { - "name": "webinar_items_blocks_internal_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_internal_link_2_order_idx": { - "name": "webinar_items_blocks_internal_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_2_parent_id_idx": { - "name": "webinar_items_blocks_internal_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_2_path_idx": { - "name": "webinar_items_blocks_internal_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_2_locale_idx": { - "name": "webinar_items_blocks_internal_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_internal_link_2_parent_id_fk": { - "name": "webinar_items_blocks_internal_link_2_parent_id_fk", - "tableFrom": "webinar_items_blocks_internal_link_2", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_external_link_2": { - "name": "webinar_items_blocks_external_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_external_link_2_order_idx": { - "name": "webinar_items_blocks_external_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_2_parent_id_idx": { - "name": "webinar_items_blocks_external_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_2_path_idx": { - "name": "webinar_items_blocks_external_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_2_locale_idx": { - "name": "webinar_items_blocks_external_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_external_link_2_parent_id_fk": { - "name": "webinar_items_blocks_external_link_2_parent_id_fk", - "tableFrom": "webinar_items_blocks_external_link_2", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_text_block": { - "name": "webinar_items_blocks_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_text_block_order_idx": { - "name": "webinar_items_blocks_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_text_block_parent_id_idx": { - "name": "webinar_items_blocks_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_text_block_path_idx": { - "name": "webinar_items_blocks_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_text_block_locale_idx": { - "name": "webinar_items_blocks_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_text_block_parent_id_fk": { - "name": "webinar_items_blocks_text_block_parent_id_fk", - "tableFrom": "webinar_items_blocks_text_block", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_author_list": { - "name": "webinar_items_blocks_author_list", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_author_list_order_idx": { - "name": "webinar_items_blocks_author_list_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_author_list_parent_id_idx": { - "name": "webinar_items_blocks_author_list_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_author_list_path_idx": { - "name": "webinar_items_blocks_author_list_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_author_list_locale_idx": { - "name": "webinar_items_blocks_author_list_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_author_list_parent_id_fk": { - "name": "webinar_items_blocks_author_list_parent_id_fk", - "tableFrom": "webinar_items_blocks_author_list", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_speaker": { - "name": "webinar_items_blocks_speaker", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_speaker_order_idx": { - "name": "webinar_items_blocks_speaker_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_speaker_parent_id_idx": { - "name": "webinar_items_blocks_speaker_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_speaker_path_idx": { - "name": "webinar_items_blocks_speaker_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_speaker_locale_idx": { - "name": "webinar_items_blocks_speaker_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_speaker_parent_id_fk": { - "name": "webinar_items_blocks_speaker_parent_id_fk", - "tableFrom": "webinar_items_blocks_speaker", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_internal_link_3": { - "name": "webinar_items_blocks_internal_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_internal_link_3_order_idx": { - "name": "webinar_items_blocks_internal_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_3_parent_id_idx": { - "name": "webinar_items_blocks_internal_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_3_path_idx": { - "name": "webinar_items_blocks_internal_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_internal_link_3_locale_idx": { - "name": "webinar_items_blocks_internal_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_internal_link_3_parent_id_fk": { - "name": "webinar_items_blocks_internal_link_3_parent_id_fk", - "tableFrom": "webinar_items_blocks_internal_link_3", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_external_link_3": { - "name": "webinar_items_blocks_external_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_external_link_3_order_idx": { - "name": "webinar_items_blocks_external_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_3_parent_id_idx": { - "name": "webinar_items_blocks_external_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_3_path_idx": { - "name": "webinar_items_blocks_external_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_external_link_3_locale_idx": { - "name": "webinar_items_blocks_external_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_external_link_3_parent_id_fk": { - "name": "webinar_items_blocks_external_link_3_parent_id_fk", - "tableFrom": "webinar_items_blocks_external_link_3", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_text_block_2": { - "name": "webinar_items_blocks_text_block_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_text_block_2_order_idx": { - "name": "webinar_items_blocks_text_block_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_text_block_2_parent_id_idx": { - "name": "webinar_items_blocks_text_block_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_text_block_2_path_idx": { - "name": "webinar_items_blocks_text_block_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_text_block_2_locale_idx": { - "name": "webinar_items_blocks_text_block_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_text_block_2_parent_id_fk": { - "name": "webinar_items_blocks_text_block_2_parent_id_fk", - "tableFrom": "webinar_items_blocks_text_block_2", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_list_item": { - "name": "webinar_items_blocks_list_item", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_list_item_order_idx": { - "name": "webinar_items_blocks_list_item_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_list_item_parent_id_idx": { - "name": "webinar_items_blocks_list_item_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_list_item_path_idx": { - "name": "webinar_items_blocks_list_item_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_list_item_locale_idx": { - "name": "webinar_items_blocks_list_item_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_list_item_parent_id_fk": { - "name": "webinar_items_blocks_list_item_parent_id_fk", - "tableFrom": "webinar_items_blocks_list_item", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_feature_list": { - "name": "webinar_items_blocks_feature_list", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_feature_list_order_idx": { - "name": "webinar_items_blocks_feature_list_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_feature_list_parent_id_idx": { - "name": "webinar_items_blocks_feature_list_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_feature_list_path_idx": { - "name": "webinar_items_blocks_feature_list_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_feature_list_locale_idx": { - "name": "webinar_items_blocks_feature_list_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_feature_list_parent_id_fk": { - "name": "webinar_items_blocks_feature_list_parent_id_fk", - "tableFrom": "webinar_items_blocks_feature_list", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_quick_link_card": { - "name": "webinar_items_blocks_quick_link_card", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_quick_link_card_order_idx": { - "name": "webinar_items_blocks_quick_link_card_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_quick_link_card_parent_id_idx": { - "name": "webinar_items_blocks_quick_link_card_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_quick_link_card_path_idx": { - "name": "webinar_items_blocks_quick_link_card_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_quick_link_card_locale_idx": { - "name": "webinar_items_blocks_quick_link_card_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_quick_link_card_parent_id_fk": { - "name": "webinar_items_blocks_quick_link_card_parent_id_fk", - "tableFrom": "webinar_items_blocks_quick_link_card", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_blocks_webinar_description": { - "name": "webinar_items_blocks_webinar_description", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_blocks_webinar_description_order_idx": { - "name": "webinar_items_blocks_webinar_description_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_webinar_description_parent_id_idx": { - "name": "webinar_items_blocks_webinar_description_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_webinar_description_path_idx": { - "name": "webinar_items_blocks_webinar_description_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_blocks_webinar_description_locale_idx": { - "name": "webinar_items_blocks_webinar_description_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_blocks_webinar_description_parent_id_fk": { - "name": "webinar_items_blocks_webinar_description_parent_id_fk", - "tableFrom": "webinar_items_blocks_webinar_description", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items": { - "name": "webinar_items", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "event_body": { - "name": "event_body", - "type": "jsonb", - "primaryKey": false, - "notNull": false - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "localized_slugs": { - "name": "localized_slugs", - "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": { - "webinar_items_image_idx": { - "name": "webinar_items_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_seo_seo_image_idx": { - "name": "webinar_items_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_updated_at_idx": { - "name": "webinar_items_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_created_at_idx": { - "name": "webinar_items_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_image_id_media_id_fk": { - "name": "webinar_items_image_id_media_id_fk", - "tableFrom": "webinar_items", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "webinar_items_seo_image_id_media_id_fk": { - "name": "webinar_items_seo_image_id_media_id_fk", - "tableFrom": "webinar_items", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_locales": { - "name": "webinar_items_locales", - "schema": "", - "columns": { - "slug": { - "name": "slug", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "jsonb", - "primaryKey": false, - "notNull": true - }, - "parent_id": { - "name": "parent_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "date": { - "name": "date", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true - }, - "topic_id": { - "name": "topic_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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": { - "webinar_items_slug_idx": { - "name": "webinar_items_slug_idx", - "columns": [ - { - "expression": "slug", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_parent_idx": { - "name": "webinar_items_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_topic_idx": { - "name": "webinar_items_topic_idx", - "columns": [ - { - "expression": "topic_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_locales_locale_parent_id_unique": { - "name": "webinar_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": { - "webinar_items_locales_parent_id_pages_id_fk": { - "name": "webinar_items_locales_parent_id_pages_id_fk", - "tableFrom": "webinar_items_locales", - "tableTo": "pages", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "webinar_items_locales_topic_id_webinar_topics_id_fk": { - "name": "webinar_items_locales_topic_id_webinar_topics_id_fk", - "tableFrom": "webinar_items_locales", - "tableTo": "webinar_topics", - "columnsFrom": [ - "topic_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "webinar_items_locales_parent_id_fk": { - "name": "webinar_items_locales_parent_id_fk", - "tableFrom": "webinar_items_locales", - "tableTo": "webinar_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.webinar_items_rels": { - "name": "webinar_items_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_authors_id": { - "name": "webinar_authors_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "webinar_items_rels_order_idx": { - "name": "webinar_items_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_parent_idx": { - "name": "webinar_items_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_path_idx": { - "name": "webinar_items_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_locale_idx": { - "name": "webinar_items_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_pages_id_idx": { - "name": "webinar_items_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_articles_id_idx": { - "name": "webinar_items_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_insights_id_idx": { - "name": "webinar_items_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_webinar_items_id_idx": { - "name": "webinar_items_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_story_items_id_idx": { - "name": "webinar_items_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_catalogues_id_idx": { - "name": "webinar_items_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "webinar_items_rels_webinar_authors_id_idx": { - "name": "webinar_items_rels_webinar_authors_id_idx", - "columns": [ - { - "expression": "webinar_authors_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "webinar_items_rels_parent_fk": { - "name": "webinar_items_rels_parent_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "webinar_items_rels_pages_fk": { - "name": "webinar_items_rels_pages_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "webinar_items_rels_articles_fk": { - "name": "webinar_items_rels_articles_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "webinar_items_rels_insights_fk": { - "name": "webinar_items_rels_insights_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "webinar_items_rels_webinar_items_fk": { - "name": "webinar_items_rels_webinar_items_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "webinar_items_rels_story_items_fk": { - "name": "webinar_items_rels_story_items_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "webinar_items_rels_catalogues_fk": { - "name": "webinar_items_rels_catalogues_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "webinar_items_rels_webinar_authors_fk": { - "name": "webinar_items_rels_webinar_authors_fk", - "tableFrom": "webinar_items_rels", - "tableTo": "webinar_authors", - "columnsFrom": [ - "webinar_authors_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_internal_link": { - "name": "story_items_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_internal_link_order_idx": { - "name": "story_items_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_parent_id_idx": { - "name": "story_items_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_path_idx": { - "name": "story_items_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_locale_idx": { - "name": "story_items_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_internal_link_parent_id_fk": { - "name": "story_items_blocks_internal_link_parent_id_fk", - "tableFrom": "story_items_blocks_internal_link", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_external_link": { - "name": "story_items_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_external_link_order_idx": { - "name": "story_items_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_parent_id_idx": { - "name": "story_items_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_path_idx": { - "name": "story_items_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_locale_idx": { - "name": "story_items_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_external_link_parent_id_fk": { - "name": "story_items_blocks_external_link_parent_id_fk", - "tableFrom": "story_items_blocks_external_link", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_hero": { - "name": "story_items_blocks_hero", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "enum_story_items_blocks_hero_variant", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_hero_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "background_image_id": { - "name": "background_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "background_image_for_mobile_id": { - "name": "background_image_for_mobile_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "show_breadcrumb": { - "name": "show_breadcrumb", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_hero_order_idx": { - "name": "story_items_blocks_hero_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_hero_parent_id_idx": { - "name": "story_items_blocks_hero_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_hero_path_idx": { - "name": "story_items_blocks_hero_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_hero_locale_idx": { - "name": "story_items_blocks_hero_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_hero_background_image_idx": { - "name": "story_items_blocks_hero_background_image_idx", - "columns": [ - { - "expression": "background_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_hero_background_image_for_mobile_idx": { - "name": "story_items_blocks_hero_background_image_for_mobile_idx", - "columns": [ - { - "expression": "background_image_for_mobile_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_hero_background_image_id_media_id_fk": { - "name": "story_items_blocks_hero_background_image_id_media_id_fk", - "tableFrom": "story_items_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_blocks_hero_background_image_for_mobile_id_media_id_fk": { - "name": "story_items_blocks_hero_background_image_for_mobile_id_media_id_fk", - "tableFrom": "story_items_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_for_mobile_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_blocks_hero_parent_id_fk": { - "name": "story_items_blocks_hero_parent_id_fk", - "tableFrom": "story_items_blocks_hero", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_accordion_item": { - "name": "story_items_blocks_accordion_item", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "header": { - "name": "header", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "body": { - "name": "body", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_accordion_item_order_idx": { - "name": "story_items_blocks_accordion_item_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_item_parent_id_idx": { - "name": "story_items_blocks_accordion_item_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_item_path_idx": { - "name": "story_items_blocks_accordion_item_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_item_locale_idx": { - "name": "story_items_blocks_accordion_item_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_accordion_item_parent_id_fk": { - "name": "story_items_blocks_accordion_item_parent_id_fk", - "tableFrom": "story_items_blocks_accordion_item", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_accordion": { - "name": "story_items_blocks_accordion", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_accordion_order_idx": { - "name": "story_items_blocks_accordion_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_parent_id_idx": { - "name": "story_items_blocks_accordion_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_path_idx": { - "name": "story_items_blocks_accordion_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_locale_idx": { - "name": "story_items_blocks_accordion_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_accordion_parent_id_fk": { - "name": "story_items_blocks_accordion_parent_id_fk", - "tableFrom": "story_items_blocks_accordion", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_accordion_block": { - "name": "story_items_blocks_accordion_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_accordion_block_order_idx": { - "name": "story_items_blocks_accordion_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_block_parent_id_idx": { - "name": "story_items_blocks_accordion_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_block_path_idx": { - "name": "story_items_blocks_accordion_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_block_locale_idx": { - "name": "story_items_blocks_accordion_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_accordion_block_parent_id_fk": { - "name": "story_items_blocks_accordion_block_parent_id_fk", - "tableFrom": "story_items_blocks_accordion_block", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_faq_section": { - "name": "story_items_blocks_faq_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_faq_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_faq_section_order_idx": { - "name": "story_items_blocks_faq_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_faq_section_parent_id_idx": { - "name": "story_items_blocks_faq_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_faq_section_path_idx": { - "name": "story_items_blocks_faq_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_faq_section_locale_idx": { - "name": "story_items_blocks_faq_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_faq_section_parent_id_fk": { - "name": "story_items_blocks_faq_section_parent_id_fk", - "tableFrom": "story_items_blocks_faq_section", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_internal_link_2": { - "name": "story_items_blocks_internal_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_internal_link_2_order_idx": { - "name": "story_items_blocks_internal_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_2_parent_id_idx": { - "name": "story_items_blocks_internal_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_2_path_idx": { - "name": "story_items_blocks_internal_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_2_locale_idx": { - "name": "story_items_blocks_internal_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_internal_link_2_parent_id_fk": { - "name": "story_items_blocks_internal_link_2_parent_id_fk", - "tableFrom": "story_items_blocks_internal_link_2", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_external_link_2": { - "name": "story_items_blocks_external_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_external_link_2_order_idx": { - "name": "story_items_blocks_external_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_2_parent_id_idx": { - "name": "story_items_blocks_external_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_2_path_idx": { - "name": "story_items_blocks_external_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_2_locale_idx": { - "name": "story_items_blocks_external_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_external_link_2_parent_id_fk": { - "name": "story_items_blocks_external_link_2_parent_id_fk", - "tableFrom": "story_items_blocks_external_link_2", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_block": { - "name": "story_items_blocks_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_block_order_idx": { - "name": "story_items_blocks_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_parent_id_idx": { - "name": "story_items_blocks_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_path_idx": { - "name": "story_items_blocks_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_locale_idx": { - "name": "story_items_blocks_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_block_parent_id_fk": { - "name": "story_items_blocks_text_block_parent_id_fk", - "tableFrom": "story_items_blocks_text_block", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_only": { - "name": "story_items_blocks_text_only", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_text_only_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_story_items_blocks_text_only_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_only_order_idx": { - "name": "story_items_blocks_text_only_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_only_parent_id_idx": { - "name": "story_items_blocks_text_only_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_only_path_idx": { - "name": "story_items_blocks_text_only_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_only_locale_idx": { - "name": "story_items_blocks_text_only_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_only_parent_id_fk": { - "name": "story_items_blocks_text_only_parent_id_fk", - "tableFrom": "story_items_blocks_text_only", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_structured_text_block": { - "name": "story_items_blocks_structured_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_structured_text_block_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "content": { - "name": "content", - "type": "jsonb", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_structured_text_block_order_idx": { - "name": "story_items_blocks_structured_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_structured_text_block_parent_id_idx": { - "name": "story_items_blocks_structured_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_structured_text_block_path_idx": { - "name": "story_items_blocks_structured_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_structured_text_block_locale_idx": { - "name": "story_items_blocks_structured_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_structured_text_block_parent_id_fk": { - "name": "story_items_blocks_structured_text_block_parent_id_fk", - "tableFrom": "story_items_blocks_structured_text_block", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_internal_link_3": { - "name": "story_items_blocks_internal_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_internal_link_3_order_idx": { - "name": "story_items_blocks_internal_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_3_parent_id_idx": { - "name": "story_items_blocks_internal_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_3_path_idx": { - "name": "story_items_blocks_internal_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_3_locale_idx": { - "name": "story_items_blocks_internal_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_internal_link_3_parent_id_fk": { - "name": "story_items_blocks_internal_link_3_parent_id_fk", - "tableFrom": "story_items_blocks_internal_link_3", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_external_link_3": { - "name": "story_items_blocks_external_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_external_link_3_order_idx": { - "name": "story_items_blocks_external_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_3_parent_id_idx": { - "name": "story_items_blocks_external_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_3_path_idx": { - "name": "story_items_blocks_external_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_3_locale_idx": { - "name": "story_items_blocks_external_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_external_link_3_parent_id_fk": { - "name": "story_items_blocks_external_link_3_parent_id_fk", - "tableFrom": "story_items_blocks_external_link_3", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_block_2": { - "name": "story_items_blocks_text_block_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_block_2_order_idx": { - "name": "story_items_blocks_text_block_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_2_parent_id_idx": { - "name": "story_items_blocks_text_block_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_2_path_idx": { - "name": "story_items_blocks_text_block_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_2_locale_idx": { - "name": "story_items_blocks_text_block_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_block_2_parent_id_fk": { - "name": "story_items_blocks_text_block_2_parent_id_fk", - "tableFrom": "story_items_blocks_text_block_2", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_card_editorial_with_icon": { - "name": "story_items_blocks_card_editorial_with_icon", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_card_editorial_with_icon_order_idx": { - "name": "story_items_blocks_card_editorial_with_icon_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_editorial_with_icon_parent_id_idx": { - "name": "story_items_blocks_card_editorial_with_icon_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_editorial_with_icon_path_idx": { - "name": "story_items_blocks_card_editorial_with_icon_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_editorial_with_icon_locale_idx": { - "name": "story_items_blocks_card_editorial_with_icon_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_card_editorial_with_icon_parent_id_fk": { - "name": "story_items_blocks_card_editorial_with_icon_parent_id_fk", - "tableFrom": "story_items_blocks_card_editorial_with_icon", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_additional_content": { - "name": "story_items_blocks_additional_content", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_additional_content_order_idx": { - "name": "story_items_blocks_additional_content_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_additional_content_parent_id_idx": { - "name": "story_items_blocks_additional_content_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_additional_content_path_idx": { - "name": "story_items_blocks_additional_content_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_additional_content_locale_idx": { - "name": "story_items_blocks_additional_content_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_additional_content_parent_id_fk": { - "name": "story_items_blocks_additional_content_parent_id_fk", - "tableFrom": "story_items_blocks_additional_content", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_image": { - "name": "story_items_blocks_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 - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_text_image_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_story_items_blocks_text_image_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_image_order_idx": { - "name": "story_items_blocks_text_image_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_image_parent_id_idx": { - "name": "story_items_blocks_text_image_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_image_path_idx": { - "name": "story_items_blocks_text_image_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_image_locale_idx": { - "name": "story_items_blocks_text_image_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_image_image_idx": { - "name": "story_items_blocks_text_image_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_image_image_id_media_id_fk": { - "name": "story_items_blocks_text_image_image_id_media_id_fk", - "tableFrom": "story_items_blocks_text_image", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_blocks_text_image_parent_id_fk": { - "name": "story_items_blocks_text_image_parent_id_fk", - "tableFrom": "story_items_blocks_text_image", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_channel": { - "name": "story_items_blocks_channel", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "link_to": { - "name": "link_to", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_channel_order_idx": { - "name": "story_items_blocks_channel_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_channel_parent_id_idx": { - "name": "story_items_blocks_channel_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_channel_path_idx": { - "name": "story_items_blocks_channel_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_channel_locale_idx": { - "name": "story_items_blocks_channel_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_channel_parent_id_fk": { - "name": "story_items_blocks_channel_parent_id_fk", - "tableFrom": "story_items_blocks_channel", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_support_channels_section": { - "name": "story_items_blocks_support_channels_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_support_channels_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_support_channels_section_order_idx": { - "name": "story_items_blocks_support_channels_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_support_channels_section_parent_id_idx": { - "name": "story_items_blocks_support_channels_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_support_channels_section_path_idx": { - "name": "story_items_blocks_support_channels_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_support_channels_section_locale_idx": { - "name": "story_items_blocks_support_channels_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_support_channels_section_parent_id_fk": { - "name": "story_items_blocks_support_channels_section_parent_id_fk", - "tableFrom": "story_items_blocks_support_channels_section", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_internal_link_4": { - "name": "story_items_blocks_internal_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_internal_link_4_order_idx": { - "name": "story_items_blocks_internal_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_4_parent_id_idx": { - "name": "story_items_blocks_internal_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_4_path_idx": { - "name": "story_items_blocks_internal_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_4_locale_idx": { - "name": "story_items_blocks_internal_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_internal_link_4_parent_id_fk": { - "name": "story_items_blocks_internal_link_4_parent_id_fk", - "tableFrom": "story_items_blocks_internal_link_4", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_external_link_4": { - "name": "story_items_blocks_external_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_external_link_4_order_idx": { - "name": "story_items_blocks_external_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_4_parent_id_idx": { - "name": "story_items_blocks_external_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_4_path_idx": { - "name": "story_items_blocks_external_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_4_locale_idx": { - "name": "story_items_blocks_external_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_external_link_4_parent_id_fk": { - "name": "story_items_blocks_external_link_4_parent_id_fk", - "tableFrom": "story_items_blocks_external_link_4", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_block_3": { - "name": "story_items_blocks_text_block_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_block_3_order_idx": { - "name": "story_items_blocks_text_block_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_3_parent_id_idx": { - "name": "story_items_blocks_text_block_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_3_path_idx": { - "name": "story_items_blocks_text_block_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_3_locale_idx": { - "name": "story_items_blocks_text_block_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_block_3_parent_id_fk": { - "name": "story_items_blocks_text_block_3_parent_id_fk", - "tableFrom": "story_items_blocks_text_block_3", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_accordion_item_2": { - "name": "story_items_blocks_accordion_item_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "header": { - "name": "header", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "body": { - "name": "body", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_accordion_item_2_order_idx": { - "name": "story_items_blocks_accordion_item_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_item_2_parent_id_idx": { - "name": "story_items_blocks_accordion_item_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_item_2_path_idx": { - "name": "story_items_blocks_accordion_item_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_item_2_locale_idx": { - "name": "story_items_blocks_accordion_item_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_accordion_item_2_parent_id_fk": { - "name": "story_items_blocks_accordion_item_2_parent_id_fk", - "tableFrom": "story_items_blocks_accordion_item_2", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_accordion_2": { - "name": "story_items_blocks_accordion_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_accordion_2_order_idx": { - "name": "story_items_blocks_accordion_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_2_parent_id_idx": { - "name": "story_items_blocks_accordion_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_2_path_idx": { - "name": "story_items_blocks_accordion_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_2_locale_idx": { - "name": "story_items_blocks_accordion_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_accordion_2_parent_id_fk": { - "name": "story_items_blocks_accordion_2_parent_id_fk", - "tableFrom": "story_items_blocks_accordion_2", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_accordion_block_2": { - "name": "story_items_blocks_accordion_block_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_accordion_block_2_order_idx": { - "name": "story_items_blocks_accordion_block_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_block_2_parent_id_idx": { - "name": "story_items_blocks_accordion_block_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_block_2_path_idx": { - "name": "story_items_blocks_accordion_block_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_accordion_block_2_locale_idx": { - "name": "story_items_blocks_accordion_block_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_accordion_block_2_parent_id_fk": { - "name": "story_items_blocks_accordion_block_2_parent_id_fk", - "tableFrom": "story_items_blocks_accordion_block_2", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_accordion": { - "name": "story_items_blocks_text_accordion", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_text_accordion_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_accordion_order_idx": { - "name": "story_items_blocks_text_accordion_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_accordion_parent_id_idx": { - "name": "story_items_blocks_text_accordion_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_accordion_path_idx": { - "name": "story_items_blocks_text_accordion_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_accordion_locale_idx": { - "name": "story_items_blocks_text_accordion_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_accordion_parent_id_fk": { - "name": "story_items_blocks_text_accordion_parent_id_fk", - "tableFrom": "story_items_blocks_text_accordion", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_list_collection": { - "name": "story_items_blocks_list_collection", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_list_collection_order_idx": { - "name": "story_items_blocks_list_collection_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_list_collection_parent_id_idx": { - "name": "story_items_blocks_list_collection_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_list_collection_path_idx": { - "name": "story_items_blocks_list_collection_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_list_collection_locale_idx": { - "name": "story_items_blocks_list_collection_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_list_collection_parent_id_fk": { - "name": "story_items_blocks_list_collection_parent_id_fk", - "tableFrom": "story_items_blocks_list_collection", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_internal_link_5": { - "name": "story_items_blocks_internal_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_internal_link_5_order_idx": { - "name": "story_items_blocks_internal_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_5_parent_id_idx": { - "name": "story_items_blocks_internal_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_5_path_idx": { - "name": "story_items_blocks_internal_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_5_locale_idx": { - "name": "story_items_blocks_internal_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_internal_link_5_parent_id_fk": { - "name": "story_items_blocks_internal_link_5_parent_id_fk", - "tableFrom": "story_items_blocks_internal_link_5", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_external_link_5": { - "name": "story_items_blocks_external_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_external_link_5_order_idx": { - "name": "story_items_blocks_external_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_5_parent_id_idx": { - "name": "story_items_blocks_external_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_5_path_idx": { - "name": "story_items_blocks_external_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_5_locale_idx": { - "name": "story_items_blocks_external_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_external_link_5_parent_id_fk": { - "name": "story_items_blocks_external_link_5_parent_id_fk", - "tableFrom": "story_items_blocks_external_link_5", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_support_cta_section": { - "name": "story_items_blocks_support_cta_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_support_cta_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_support_cta_section_order_idx": { - "name": "story_items_blocks_support_cta_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_support_cta_section_parent_id_idx": { - "name": "story_items_blocks_support_cta_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_support_cta_section_path_idx": { - "name": "story_items_blocks_support_cta_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_support_cta_section_locale_idx": { - "name": "story_items_blocks_support_cta_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_support_cta_section_image_idx": { - "name": "story_items_blocks_support_cta_section_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_support_cta_section_image_id_media_id_fk": { - "name": "story_items_blocks_support_cta_section_image_id_media_id_fk", - "tableFrom": "story_items_blocks_support_cta_section", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_blocks_support_cta_section_parent_id_fk": { - "name": "story_items_blocks_support_cta_section_parent_id_fk", - "tableFrom": "story_items_blocks_support_cta_section", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_internal_link_6": { - "name": "story_items_blocks_internal_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_internal_link_6_order_idx": { - "name": "story_items_blocks_internal_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_6_parent_id_idx": { - "name": "story_items_blocks_internal_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_6_path_idx": { - "name": "story_items_blocks_internal_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_6_locale_idx": { - "name": "story_items_blocks_internal_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_internal_link_6_parent_id_fk": { - "name": "story_items_blocks_internal_link_6_parent_id_fk", - "tableFrom": "story_items_blocks_internal_link_6", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_external_link_6": { - "name": "story_items_blocks_external_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_external_link_6_order_idx": { - "name": "story_items_blocks_external_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_6_parent_id_idx": { - "name": "story_items_blocks_external_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_6_path_idx": { - "name": "story_items_blocks_external_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_6_locale_idx": { - "name": "story_items_blocks_external_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_external_link_6_parent_id_fk": { - "name": "story_items_blocks_external_link_6_parent_id_fk", - "tableFrom": "story_items_blocks_external_link_6", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_block_4": { - "name": "story_items_blocks_text_block_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_block_4_order_idx": { - "name": "story_items_blocks_text_block_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_4_parent_id_idx": { - "name": "story_items_blocks_text_block_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_4_path_idx": { - "name": "story_items_blocks_text_block_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_4_locale_idx": { - "name": "story_items_blocks_text_block_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_block_4_parent_id_fk": { - "name": "story_items_blocks_text_block_4_parent_id_fk", - "tableFrom": "story_items_blocks_text_block_4", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_use_case_block": { - "name": "story_items_blocks_use_case_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_use_case_block_order_idx": { - "name": "story_items_blocks_use_case_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_use_case_block_parent_id_idx": { - "name": "story_items_blocks_use_case_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_use_case_block_path_idx": { - "name": "story_items_blocks_use_case_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_use_case_block_locale_idx": { - "name": "story_items_blocks_use_case_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_use_case_block_parent_id_fk": { - "name": "story_items_blocks_use_case_block_parent_id_fk", - "tableFrom": "story_items_blocks_use_case_block", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_use_case": { - "name": "story_items_blocks_text_use_case", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_text_use_case_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_use_case_order_idx": { - "name": "story_items_blocks_text_use_case_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_use_case_parent_id_idx": { - "name": "story_items_blocks_text_use_case_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_use_case_path_idx": { - "name": "story_items_blocks_text_use_case_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_use_case_locale_idx": { - "name": "story_items_blocks_text_use_case_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_use_case_parent_id_fk": { - "name": "story_items_blocks_text_use_case_parent_id_fk", - "tableFrom": "story_items_blocks_text_use_case", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_internal_link_7": { - "name": "story_items_blocks_internal_link_7", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_internal_link_7_order_idx": { - "name": "story_items_blocks_internal_link_7_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_7_parent_id_idx": { - "name": "story_items_blocks_internal_link_7_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_7_path_idx": { - "name": "story_items_blocks_internal_link_7_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_internal_link_7_locale_idx": { - "name": "story_items_blocks_internal_link_7_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_internal_link_7_parent_id_fk": { - "name": "story_items_blocks_internal_link_7_parent_id_fk", - "tableFrom": "story_items_blocks_internal_link_7", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_external_link_7": { - "name": "story_items_blocks_external_link_7", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_external_link_7_order_idx": { - "name": "story_items_blocks_external_link_7_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_7_parent_id_idx": { - "name": "story_items_blocks_external_link_7_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_7_path_idx": { - "name": "story_items_blocks_external_link_7_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_external_link_7_locale_idx": { - "name": "story_items_blocks_external_link_7_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_external_link_7_parent_id_fk": { - "name": "story_items_blocks_external_link_7_parent_id_fk", - "tableFrom": "story_items_blocks_external_link_7", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_block_5": { - "name": "story_items_blocks_text_block_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_block_5_order_idx": { - "name": "story_items_blocks_text_block_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_5_parent_id_idx": { - "name": "story_items_blocks_text_block_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_5_path_idx": { - "name": "story_items_blocks_text_block_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_block_5_locale_idx": { - "name": "story_items_blocks_text_block_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_block_5_parent_id_fk": { - "name": "story_items_blocks_text_block_5_parent_id_fk", - "tableFrom": "story_items_blocks_text_block_5", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_data_container": { - "name": "story_items_blocks_data_container", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "info": { - "name": "info", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_data_container_order_idx": { - "name": "story_items_blocks_data_container_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_data_container_parent_id_idx": { - "name": "story_items_blocks_data_container_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_data_container_path_idx": { - "name": "story_items_blocks_data_container_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_data_container_locale_idx": { - "name": "story_items_blocks_data_container_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_data_container_parent_id_fk": { - "name": "story_items_blocks_data_container_parent_id_fk", - "tableFrom": "story_items_blocks_data_container", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_statistic_block": { - "name": "story_items_blocks_statistic_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_statistic_block_order_idx": { - "name": "story_items_blocks_statistic_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_statistic_block_parent_id_idx": { - "name": "story_items_blocks_statistic_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_statistic_block_path_idx": { - "name": "story_items_blocks_statistic_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_statistic_block_locale_idx": { - "name": "story_items_blocks_statistic_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_statistic_block_parent_id_fk": { - "name": "story_items_blocks_statistic_block_parent_id_fk", - "tableFrom": "story_items_blocks_statistic_block", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_text_statistic": { - "name": "story_items_blocks_text_statistic", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_text_statistic_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "show_inline": { - "name": "show_inline", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_text_statistic_order_idx": { - "name": "story_items_blocks_text_statistic_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_statistic_parent_id_idx": { - "name": "story_items_blocks_text_statistic_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_statistic_path_idx": { - "name": "story_items_blocks_text_statistic_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_text_statistic_locale_idx": { - "name": "story_items_blocks_text_statistic_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_text_statistic_parent_id_fk": { - "name": "story_items_blocks_text_statistic_parent_id_fk", - "tableFrom": "story_items_blocks_text_statistic", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_link_block": { - "name": "story_items_blocks_link_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "external_url": { - "name": "external_url", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_link_block_order_idx": { - "name": "story_items_blocks_link_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_link_block_parent_id_idx": { - "name": "story_items_blocks_link_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_link_block_path_idx": { - "name": "story_items_blocks_link_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_link_block_locale_idx": { - "name": "story_items_blocks_link_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_link_block_parent_id_fk": { - "name": "story_items_blocks_link_block_parent_id_fk", - "tableFrom": "story_items_blocks_link_block", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_card_link": { - "name": "story_items_blocks_card_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_card_link_order_idx": { - "name": "story_items_blocks_card_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_link_parent_id_idx": { - "name": "story_items_blocks_card_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_link_path_idx": { - "name": "story_items_blocks_card_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_link_locale_idx": { - "name": "story_items_blocks_card_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_link_image_idx": { - "name": "story_items_blocks_card_link_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_card_link_image_id_media_id_fk": { - "name": "story_items_blocks_card_link_image_id_media_id_fk", - "tableFrom": "story_items_blocks_card_link", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_blocks_card_link_parent_id_fk": { - "name": "story_items_blocks_card_link_parent_id_fk", - "tableFrom": "story_items_blocks_card_link", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_blocks_card_link_list": { - "name": "story_items_blocks_card_link_list", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "show_inline_card": { - "name": "show_inline_card", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_story_items_blocks_card_link_list_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_blocks_card_link_list_order_idx": { - "name": "story_items_blocks_card_link_list_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_link_list_parent_id_idx": { - "name": "story_items_blocks_card_link_list_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_link_list_path_idx": { - "name": "story_items_blocks_card_link_list_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_blocks_card_link_list_locale_idx": { - "name": "story_items_blocks_card_link_list_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_blocks_card_link_list_parent_id_fk": { - "name": "story_items_blocks_card_link_list_parent_id_fk", - "tableFrom": "story_items_blocks_card_link_list", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items": { - "name": "story_items", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "story_type": { - "name": "story_type", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "localized_slugs": { - "name": "localized_slugs", - "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": { - "story_items_image_idx": { - "name": "story_items_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_seo_seo_image_idx": { - "name": "story_items_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_updated_at_idx": { - "name": "story_items_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_created_at_idx": { - "name": "story_items_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_image_id_media_id_fk": { - "name": "story_items_image_id_media_id_fk", - "tableFrom": "story_items", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_seo_image_id_media_id_fk": { - "name": "story_items_seo_image_id_media_id_fk", - "tableFrom": "story_items", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_locales": { - "name": "story_items_locales", - "schema": "", - "columns": { - "parent_id": { - "name": "parent_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "jsonb", - "primaryKey": false, - "notNull": false - }, - "article_classification_id": { - "name": "article_classification_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "slug": { - "name": "slug", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "topic_id": { - "name": "topic_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "date_of_publication": { - "name": "date_of_publication", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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": { - "story_items_parent_idx": { - "name": "story_items_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_article_classification_idx": { - "name": "story_items_article_classification_idx", - "columns": [ - { - "expression": "article_classification_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_slug_idx": { - "name": "story_items_slug_idx", - "columns": [ - { - "expression": "slug", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_topic_idx": { - "name": "story_items_topic_idx", - "columns": [ - { - "expression": "topic_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_locales_locale_parent_id_unique": { - "name": "story_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": { - "story_items_locales_parent_id_pages_id_fk": { - "name": "story_items_locales_parent_id_pages_id_fk", - "tableFrom": "story_items_locales", - "tableTo": "pages", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_locales_article_classification_id_story_classes_id_fk": { - "name": "story_items_locales_article_classification_id_story_classes_id_fk", - "tableFrom": "story_items_locales", - "tableTo": "story_classes", - "columnsFrom": [ - "article_classification_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_locales_topic_id_story_topics_id_fk": { - "name": "story_items_locales_topic_id_story_topics_id_fk", - "tableFrom": "story_items_locales", - "tableTo": "story_topics", - "columnsFrom": [ - "topic_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "story_items_locales_parent_id_fk": { - "name": "story_items_locales_parent_id_fk", - "tableFrom": "story_items_locales", - "tableTo": "story_items", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.story_items_rels": { - "name": "story_items_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "kpi_elements_id": { - "name": "kpi_elements_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "story_items_rels_order_idx": { - "name": "story_items_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_parent_idx": { - "name": "story_items_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_path_idx": { - "name": "story_items_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_locale_idx": { - "name": "story_items_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_pages_id_idx": { - "name": "story_items_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_articles_id_idx": { - "name": "story_items_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_insights_id_idx": { - "name": "story_items_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_webinar_items_id_idx": { - "name": "story_items_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_story_items_id_idx": { - "name": "story_items_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_catalogues_id_idx": { - "name": "story_items_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "story_items_rels_kpi_elements_id_idx": { - "name": "story_items_rels_kpi_elements_id_idx", - "columns": [ - { - "expression": "kpi_elements_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "story_items_rels_parent_fk": { - "name": "story_items_rels_parent_fk", - "tableFrom": "story_items_rels", - "tableTo": "story_items", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "story_items_rels_pages_fk": { - "name": "story_items_rels_pages_fk", - "tableFrom": "story_items_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "story_items_rels_articles_fk": { - "name": "story_items_rels_articles_fk", - "tableFrom": "story_items_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "story_items_rels_insights_fk": { - "name": "story_items_rels_insights_fk", - "tableFrom": "story_items_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "story_items_rels_webinar_items_fk": { - "name": "story_items_rels_webinar_items_fk", - "tableFrom": "story_items_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "story_items_rels_story_items_fk": { - "name": "story_items_rels_story_items_fk", - "tableFrom": "story_items_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "story_items_rels_catalogues_fk": { - "name": "story_items_rels_catalogues_fk", - "tableFrom": "story_items_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "story_items_rels_kpi_elements_fk": { - "name": "story_items_rels_kpi_elements_fk", - "tableFrom": "story_items_rels", - "tableTo": "kpi_elements", - "columnsFrom": [ - "kpi_elements_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_internal_link": { - "name": "catalogues_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_internal_link_order_idx": { - "name": "catalogues_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_internal_link_parent_id_idx": { - "name": "catalogues_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_internal_link_path_idx": { - "name": "catalogues_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_internal_link_locale_idx": { - "name": "catalogues_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_internal_link_parent_id_fk": { - "name": "catalogues_blocks_internal_link_parent_id_fk", - "tableFrom": "catalogues_blocks_internal_link", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_external_link": { - "name": "catalogues_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_external_link_order_idx": { - "name": "catalogues_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_parent_id_idx": { - "name": "catalogues_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_path_idx": { - "name": "catalogues_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_locale_idx": { - "name": "catalogues_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_external_link_parent_id_fk": { - "name": "catalogues_blocks_external_link_parent_id_fk", - "tableFrom": "catalogues_blocks_external_link", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_hero": { - "name": "catalogues_blocks_hero", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "enum_catalogues_blocks_hero_variant", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_catalogues_blocks_hero_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "background_image_id": { - "name": "background_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "background_image_for_mobile_id": { - "name": "background_image_for_mobile_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "show_breadcrumb": { - "name": "show_breadcrumb", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_hero_order_idx": { - "name": "catalogues_blocks_hero_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_hero_parent_id_idx": { - "name": "catalogues_blocks_hero_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_hero_path_idx": { - "name": "catalogues_blocks_hero_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_hero_locale_idx": { - "name": "catalogues_blocks_hero_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_hero_background_image_idx": { - "name": "catalogues_blocks_hero_background_image_idx", - "columns": [ - { - "expression": "background_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_hero_background_image_for_mobile_idx": { - "name": "catalogues_blocks_hero_background_image_for_mobile_idx", - "columns": [ - { - "expression": "background_image_for_mobile_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_hero_background_image_id_media_id_fk": { - "name": "catalogues_blocks_hero_background_image_id_media_id_fk", - "tableFrom": "catalogues_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "catalogues_blocks_hero_background_image_for_mobile_id_media_id_fk": { - "name": "catalogues_blocks_hero_background_image_for_mobile_id_media_id_fk", - "tableFrom": "catalogues_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_for_mobile_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "catalogues_blocks_hero_parent_id_fk": { - "name": "catalogues_blocks_hero_parent_id_fk", - "tableFrom": "catalogues_blocks_hero", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_internal_link_2": { - "name": "catalogues_blocks_internal_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_internal_link_2_order_idx": { - "name": "catalogues_blocks_internal_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_internal_link_2_parent_id_idx": { - "name": "catalogues_blocks_internal_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_internal_link_2_path_idx": { - "name": "catalogues_blocks_internal_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_internal_link_2_locale_idx": { - "name": "catalogues_blocks_internal_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_internal_link_2_parent_id_fk": { - "name": "catalogues_blocks_internal_link_2_parent_id_fk", - "tableFrom": "catalogues_blocks_internal_link_2", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_external_link_2": { - "name": "catalogues_blocks_external_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_external_link_2_order_idx": { - "name": "catalogues_blocks_external_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_2_parent_id_idx": { - "name": "catalogues_blocks_external_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_2_path_idx": { - "name": "catalogues_blocks_external_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_2_locale_idx": { - "name": "catalogues_blocks_external_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_external_link_2_parent_id_fk": { - "name": "catalogues_blocks_external_link_2_parent_id_fk", - "tableFrom": "catalogues_blocks_external_link_2", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_text_block": { - "name": "catalogues_blocks_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_text_block_order_idx": { - "name": "catalogues_blocks_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_text_block_parent_id_idx": { - "name": "catalogues_blocks_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_text_block_path_idx": { - "name": "catalogues_blocks_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_text_block_locale_idx": { - "name": "catalogues_blocks_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_text_block_parent_id_fk": { - "name": "catalogues_blocks_text_block_parent_id_fk", - "tableFrom": "catalogues_blocks_text_block", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_text_only": { - "name": "catalogues_blocks_text_only", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_catalogues_blocks_text_only_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_catalogues_blocks_text_only_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_text_only_order_idx": { - "name": "catalogues_blocks_text_only_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_text_only_parent_id_idx": { - "name": "catalogues_blocks_text_only_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_text_only_path_idx": { - "name": "catalogues_blocks_text_only_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_text_only_locale_idx": { - "name": "catalogues_blocks_text_only_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_text_only_parent_id_fk": { - "name": "catalogues_blocks_text_only_parent_id_fk", - "tableFrom": "catalogues_blocks_text_only", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_external_link_3": { - "name": "catalogues_blocks_external_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_external_link_3_order_idx": { - "name": "catalogues_blocks_external_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_3_parent_id_idx": { - "name": "catalogues_blocks_external_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_3_path_idx": { - "name": "catalogues_blocks_external_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_external_link_3_locale_idx": { - "name": "catalogues_blocks_external_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_external_link_3_parent_id_fk": { - "name": "catalogues_blocks_external_link_3_parent_id_fk", - "tableFrom": "catalogues_blocks_external_link_3", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_callout_link": { - "name": "catalogues_blocks_callout_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_callout_link_order_idx": { - "name": "catalogues_blocks_callout_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_callout_link_parent_id_idx": { - "name": "catalogues_blocks_callout_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_callout_link_path_idx": { - "name": "catalogues_blocks_callout_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_callout_link_locale_idx": { - "name": "catalogues_blocks_callout_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_callout_link_parent_id_fk": { - "name": "catalogues_blocks_callout_link_parent_id_fk", - "tableFrom": "catalogues_blocks_callout_link", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_catalogue_tab": { - "name": "catalogues_blocks_catalogue_tab", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "filter_title": { - "name": "filter_title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label_for_all": { - "name": "label_for_all", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "news_page_tab_type": { - "name": "news_page_tab_type", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "filter_story_id": { - "name": "filter_story_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "element_per_page": { - "name": "element_per_page", - "type": "numeric", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_catalogue_tab_order_idx": { - "name": "catalogues_blocks_catalogue_tab_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_catalogue_tab_parent_id_idx": { - "name": "catalogues_blocks_catalogue_tab_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_catalogue_tab_path_idx": { - "name": "catalogues_blocks_catalogue_tab_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_catalogue_tab_locale_idx": { - "name": "catalogues_blocks_catalogue_tab_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_catalogue_tab_filter_story_idx": { - "name": "catalogues_blocks_catalogue_tab_filter_story_idx", - "columns": [ - { - "expression": "filter_story_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_catalogue_tab_filter_story_id_story_topics_id_fk": { - "name": "catalogues_blocks_catalogue_tab_filter_story_id_story_topics_id_fk", - "tableFrom": "catalogues_blocks_catalogue_tab", - "tableTo": "story_topics", - "columnsFrom": [ - "filter_story_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "catalogues_blocks_catalogue_tab_parent_id_fk": { - "name": "catalogues_blocks_catalogue_tab_parent_id_fk", - "tableFrom": "catalogues_blocks_catalogue_tab", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_blocks_catalogue_feed": { - "name": "catalogues_blocks_catalogue_feed", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_blocks_catalogue_feed_order_idx": { - "name": "catalogues_blocks_catalogue_feed_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_catalogue_feed_parent_id_idx": { - "name": "catalogues_blocks_catalogue_feed_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_catalogue_feed_path_idx": { - "name": "catalogues_blocks_catalogue_feed_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_blocks_catalogue_feed_locale_idx": { - "name": "catalogues_blocks_catalogue_feed_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_blocks_catalogue_feed_parent_id_fk": { - "name": "catalogues_blocks_catalogue_feed_parent_id_fk", - "tableFrom": "catalogues_blocks_catalogue_feed", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues": { - "name": "catalogues", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "localized_slugs": { - "name": "localized_slugs", - "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": { - "catalogues_seo_seo_image_idx": { - "name": "catalogues_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_updated_at_idx": { - "name": "catalogues_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_created_at_idx": { - "name": "catalogues_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_seo_image_id_media_id_fk": { - "name": "catalogues_seo_image_id_media_id_fk", - "tableFrom": "catalogues", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_locales": { - "name": "catalogues_locales", - "schema": "", - "columns": { - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "parent_id": { - "name": "parent_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "slug": { - "name": "slug", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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": { - "catalogues_parent_idx": { - "name": "catalogues_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_slug_idx": { - "name": "catalogues_slug_idx", - "columns": [ - { - "expression": "slug", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_locales_locale_parent_id_unique": { - "name": "catalogues_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": { - "catalogues_locales_parent_id_pages_id_fk": { - "name": "catalogues_locales_parent_id_pages_id_fk", - "tableFrom": "catalogues_locales", - "tableTo": "pages", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "catalogues_locales_parent_id_fk": { - "name": "catalogues_locales_parent_id_fk", - "tableFrom": "catalogues_locales", - "tableTo": "catalogues", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.catalogues_rels": { - "name": "catalogues_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "catalogues_rels_order_idx": { - "name": "catalogues_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_parent_idx": { - "name": "catalogues_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_path_idx": { - "name": "catalogues_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_locale_idx": { - "name": "catalogues_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_pages_id_idx": { - "name": "catalogues_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_articles_id_idx": { - "name": "catalogues_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_insights_id_idx": { - "name": "catalogues_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_webinar_items_id_idx": { - "name": "catalogues_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_story_items_id_idx": { - "name": "catalogues_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "catalogues_rels_catalogues_id_idx": { - "name": "catalogues_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "catalogues_rels_parent_fk": { - "name": "catalogues_rels_parent_fk", - "tableFrom": "catalogues_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "catalogues_rels_pages_fk": { - "name": "catalogues_rels_pages_fk", - "tableFrom": "catalogues_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "catalogues_rels_articles_fk": { - "name": "catalogues_rels_articles_fk", - "tableFrom": "catalogues_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "catalogues_rels_insights_fk": { - "name": "catalogues_rels_insights_fk", - "tableFrom": "catalogues_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "catalogues_rels_webinar_items_fk": { - "name": "catalogues_rels_webinar_items_fk", - "tableFrom": "catalogues_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "catalogues_rels_story_items_fk": { - "name": "catalogues_rels_story_items_fk", - "tableFrom": "catalogues_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "catalogues_rels_catalogues_fk": { - "name": "catalogues_rels_catalogues_fk", - "tableFrom": "catalogues_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "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_locked_documents": { - "name": "payload_locked_documents", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "global_slug": { - "name": "global_slug", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": true, - "default": "now()" - } - }, - "indexes": { - "payload_locked_documents_global_slug_idx": { - "name": "payload_locked_documents_global_slug_idx", - "columns": [ - { - "expression": "global_slug", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_updated_at_idx": { - "name": "payload_locked_documents_updated_at_idx", - "columns": [ - { - "expression": "updated_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_created_at_idx": { - "name": "payload_locked_documents_created_at_idx", - "columns": [ - { - "expression": "created_at", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": {}, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.payload_locked_documents_rels": { - "name": "payload_locked_documents_rels", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "order": { - "name": "order", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "parent_id": { - "name": "parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "path": { - "name": "path", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "users_id": { - "name": "users_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "media_id": { - "name": "media_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "article_topics_id": { - "name": "article_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "news_topics_id": { - "name": "news_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_topics_id": { - "name": "story_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insight_topics_id": { - "name": "insight_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "resource_topics_id": { - "name": "resource_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_topics_id": { - "name": "webinar_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "macro_topics_id": { - "name": "macro_topics_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_classes_id": { - "name": "story_classes_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_authors_id": { - "name": "webinar_authors_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "chart_elements_id": { - "name": "chart_elements_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "kpi_elements_id": { - "name": "kpi_elements_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "news_items_id": { - "name": "news_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "resources_id": { - "name": "resources_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "payload_locked_documents_rels_order_idx": { - "name": "payload_locked_documents_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_parent_idx": { - "name": "payload_locked_documents_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_path_idx": { - "name": "payload_locked_documents_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_users_id_idx": { - "name": "payload_locked_documents_rels_users_id_idx", - "columns": [ - { - "expression": "users_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_media_id_idx": { - "name": "payload_locked_documents_rels_media_id_idx", - "columns": [ - { - "expression": "media_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_article_topics_id_idx": { - "name": "payload_locked_documents_rels_article_topics_id_idx", - "columns": [ - { - "expression": "article_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_news_topics_id_idx": { - "name": "payload_locked_documents_rels_news_topics_id_idx", - "columns": [ - { - "expression": "news_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_story_topics_id_idx": { - "name": "payload_locked_documents_rels_story_topics_id_idx", - "columns": [ - { - "expression": "story_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_insight_topics_id_idx": { - "name": "payload_locked_documents_rels_insight_topics_id_idx", - "columns": [ - { - "expression": "insight_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_resource_topics_id_idx": { - "name": "payload_locked_documents_rels_resource_topics_id_idx", - "columns": [ - { - "expression": "resource_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_webinar_topics_id_idx": { - "name": "payload_locked_documents_rels_webinar_topics_id_idx", - "columns": [ - { - "expression": "webinar_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_macro_topics_id_idx": { - "name": "payload_locked_documents_rels_macro_topics_id_idx", - "columns": [ - { - "expression": "macro_topics_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_story_classes_id_idx": { - "name": "payload_locked_documents_rels_story_classes_id_idx", - "columns": [ - { - "expression": "story_classes_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_webinar_authors_id_idx": { - "name": "payload_locked_documents_rels_webinar_authors_id_idx", - "columns": [ - { - "expression": "webinar_authors_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_chart_elements_id_idx": { - "name": "payload_locked_documents_rels_chart_elements_id_idx", - "columns": [ - { - "expression": "chart_elements_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_kpi_elements_id_idx": { - "name": "payload_locked_documents_rels_kpi_elements_id_idx", - "columns": [ - { - "expression": "kpi_elements_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_news_items_id_idx": { - "name": "payload_locked_documents_rels_news_items_id_idx", - "columns": [ - { - "expression": "news_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_resources_id_idx": { - "name": "payload_locked_documents_rels_resources_id_idx", - "columns": [ - { - "expression": "resources_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_pages_id_idx": { - "name": "payload_locked_documents_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_articles_id_idx": { - "name": "payload_locked_documents_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_insights_id_idx": { - "name": "payload_locked_documents_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_webinar_items_id_idx": { - "name": "payload_locked_documents_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_story_items_id_idx": { - "name": "payload_locked_documents_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "payload_locked_documents_rels_catalogues_id_idx": { - "name": "payload_locked_documents_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "payload_locked_documents_rels_parent_fk": { - "name": "payload_locked_documents_rels_parent_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "payload_locked_documents", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_users_fk": { - "name": "payload_locked_documents_rels_users_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "users", - "columnsFrom": [ - "users_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_media_fk": { - "name": "payload_locked_documents_rels_media_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "media", - "columnsFrom": [ - "media_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_article_topics_fk": { - "name": "payload_locked_documents_rels_article_topics_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "article_topics", - "columnsFrom": [ - "article_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_news_topics_fk": { - "name": "payload_locked_documents_rels_news_topics_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "news_topics", - "columnsFrom": [ - "news_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_story_topics_fk": { - "name": "payload_locked_documents_rels_story_topics_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "story_topics", - "columnsFrom": [ - "story_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_insight_topics_fk": { - "name": "payload_locked_documents_rels_insight_topics_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "insight_topics", - "columnsFrom": [ - "insight_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_resource_topics_fk": { - "name": "payload_locked_documents_rels_resource_topics_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "resource_topics", - "columnsFrom": [ - "resource_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_webinar_topics_fk": { - "name": "payload_locked_documents_rels_webinar_topics_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "webinar_topics", - "columnsFrom": [ - "webinar_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_macro_topics_fk": { - "name": "payload_locked_documents_rels_macro_topics_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "macro_topics", - "columnsFrom": [ - "macro_topics_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_story_classes_fk": { - "name": "payload_locked_documents_rels_story_classes_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "story_classes", - "columnsFrom": [ - "story_classes_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_webinar_authors_fk": { - "name": "payload_locked_documents_rels_webinar_authors_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "webinar_authors", - "columnsFrom": [ - "webinar_authors_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_chart_elements_fk": { - "name": "payload_locked_documents_rels_chart_elements_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "chart_elements", - "columnsFrom": [ - "chart_elements_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_kpi_elements_fk": { - "name": "payload_locked_documents_rels_kpi_elements_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "kpi_elements", - "columnsFrom": [ - "kpi_elements_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_news_items_fk": { - "name": "payload_locked_documents_rels_news_items_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "news_items", - "columnsFrom": [ - "news_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_resources_fk": { - "name": "payload_locked_documents_rels_resources_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "resources", - "columnsFrom": [ - "resources_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_articles_fk": { - "name": "payload_locked_documents_rels_articles_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_insights_fk": { - "name": "payload_locked_documents_rels_insights_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_webinar_items_fk": { - "name": "payload_locked_documents_rels_webinar_items_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_story_items_fk": { - "name": "payload_locked_documents_rels_story_items_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "payload_locked_documents_rels_catalogues_fk": { - "name": "payload_locked_documents_rels_catalogues_fk", - "tableFrom": "payload_locked_documents_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_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.layout_blocks_brand": { - "name": "layout_blocks_brand", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "main_logo": { - "name": "main_logo", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "brand_logo": { - "name": "brand_logo", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_brand_order_idx": { - "name": "layout_blocks_brand_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_brand_parent_id_idx": { - "name": "layout_blocks_brand_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_brand_path_idx": { - "name": "layout_blocks_brand_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_brand_locale_idx": { - "name": "layout_blocks_brand_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_brand_parent_id_fk": { - "name": "layout_blocks_brand_parent_id_fk", - "tableFrom": "layout_blocks_brand", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_brand_header": { - "name": "layout_blocks_brand_header", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "short_label": { - "name": "short_label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_brand_header_order_idx": { - "name": "layout_blocks_brand_header_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_brand_header_parent_id_idx": { - "name": "layout_blocks_brand_header_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_brand_header_path_idx": { - "name": "layout_blocks_brand_header_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_brand_header_locale_idx": { - "name": "layout_blocks_brand_header_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_brand_header_parent_id_fk": { - "name": "layout_blocks_brand_header_parent_id_fk", - "tableFrom": "layout_blocks_brand_header", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_external_link": { - "name": "layout_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_external_link_order_idx": { - "name": "layout_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_external_link_parent_id_idx": { - "name": "layout_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_external_link_path_idx": { - "name": "layout_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_external_link_locale_idx": { - "name": "layout_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_external_link_parent_id_fk": { - "name": "layout_blocks_external_link_parent_id_fk", - "tableFrom": "layout_blocks_external_link", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_internal_link": { - "name": "layout_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_internal_link_order_idx": { - "name": "layout_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_internal_link_parent_id_idx": { - "name": "layout_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_internal_link_path_idx": { - "name": "layout_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_internal_link_locale_idx": { - "name": "layout_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_internal_link_parent_id_fk": { - "name": "layout_blocks_internal_link_parent_id_fk", - "tableFrom": "layout_blocks_internal_link", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_supporting_brand": { - "name": "layout_blocks_supporting_brand", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "brand_logo": { - "name": "brand_logo", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_supporting_brand_order_idx": { - "name": "layout_blocks_supporting_brand_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_supporting_brand_parent_id_idx": { - "name": "layout_blocks_supporting_brand_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_supporting_brand_path_idx": { - "name": "layout_blocks_supporting_brand_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_supporting_brand_locale_idx": { - "name": "layout_blocks_supporting_brand_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_supporting_brand_parent_id_fk": { - "name": "layout_blocks_supporting_brand_parent_id_fk", - "tableFrom": "layout_blocks_supporting_brand", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_internal_link_2": { - "name": "layout_blocks_internal_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_internal_link_2_order_idx": { - "name": "layout_blocks_internal_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_internal_link_2_parent_id_idx": { - "name": "layout_blocks_internal_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_internal_link_2_path_idx": { - "name": "layout_blocks_internal_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_internal_link_2_locale_idx": { - "name": "layout_blocks_internal_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_internal_link_2_parent_id_fk": { - "name": "layout_blocks_internal_link_2_parent_id_fk", - "tableFrom": "layout_blocks_internal_link_2", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_mailing_list_signup_block": { - "name": "layout_blocks_mailing_list_signup_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_mailing_list_signup_block_order_idx": { - "name": "layout_blocks_mailing_list_signup_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_mailing_list_signup_block_parent_id_idx": { - "name": "layout_blocks_mailing_list_signup_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_mailing_list_signup_block_path_idx": { - "name": "layout_blocks_mailing_list_signup_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_mailing_list_signup_block_locale_idx": { - "name": "layout_blocks_mailing_list_signup_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_mailing_list_signup_block_parent_id_fk": { - "name": "layout_blocks_mailing_list_signup_block_parent_id_fk", - "tableFrom": "layout_blocks_mailing_list_signup_block", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_menu_item": { - "name": "layout_blocks_menu_item", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_menu_item_order_idx": { - "name": "layout_blocks_menu_item_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_menu_item_parent_id_idx": { - "name": "layout_blocks_menu_item_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_menu_item_path_idx": { - "name": "layout_blocks_menu_item_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_menu_item_locale_idx": { - "name": "layout_blocks_menu_item_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_menu_item_parent_id_fk": { - "name": "layout_blocks_menu_item_parent_id_fk", - "tableFrom": "layout_blocks_menu_item", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_menu_item_2": { - "name": "layout_blocks_menu_item_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_menu_item_2_order_idx": { - "name": "layout_blocks_menu_item_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_menu_item_2_parent_id_idx": { - "name": "layout_blocks_menu_item_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_menu_item_2_path_idx": { - "name": "layout_blocks_menu_item_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_menu_item_2_locale_idx": { - "name": "layout_blocks_menu_item_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_menu_item_2_parent_id_fk": { - "name": "layout_blocks_menu_item_2_parent_id_fk", - "tableFrom": "layout_blocks_menu_item_2", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_blocks_mega_menu_item": { - "name": "layout_blocks_mega_menu_item", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "subtitle": { - "name": "subtitle", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "caption": { - "name": "caption", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_blocks_mega_menu_item_order_idx": { - "name": "layout_blocks_mega_menu_item_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_mega_menu_item_parent_id_idx": { - "name": "layout_blocks_mega_menu_item_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_mega_menu_item_path_idx": { - "name": "layout_blocks_mega_menu_item_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_mega_menu_item_locale_idx": { - "name": "layout_blocks_mega_menu_item_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_blocks_mega_menu_item_image_idx": { - "name": "layout_blocks_mega_menu_item_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_blocks_mega_menu_item_image_id_media_id_fk": { - "name": "layout_blocks_mega_menu_item_image_id_media_id_fk", - "tableFrom": "layout_blocks_mega_menu_item", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "layout_blocks_mega_menu_item_parent_id_fk": { - "name": "layout_blocks_mega_menu_item_parent_id_fk", - "tableFrom": "layout_blocks_mega_menu_item", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout": { - "name": "layout", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "logo_select": { - "name": "logo_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "site_name": { - "name": "site_name", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "show_sitemap_link": { - "name": "show_sitemap_link", - "type": "boolean", - "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.layout_locales": { - "name": "layout_locales", - "schema": "", - "columns": { - "heading": { - "name": "heading", - "type": "jsonb", - "primaryKey": false, - "notNull": true - }, - "topic_title": { - "name": "topic_title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "utility_title": { - "name": "utility_title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "tagline": { - "name": "tagline", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "layout_locales_locale_parent_id_unique": { - "name": "layout_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": { - "layout_locales_parent_id_fk": { - "name": "layout_locales_parent_id_fk", - "tableFrom": "layout_locales", - "tableTo": "layout", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.layout_rels": { - "name": "layout_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "layout_rels_order_idx": { - "name": "layout_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_parent_idx": { - "name": "layout_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_path_idx": { - "name": "layout_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_locale_idx": { - "name": "layout_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_pages_id_idx": { - "name": "layout_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_articles_id_idx": { - "name": "layout_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_insights_id_idx": { - "name": "layout_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_webinar_items_id_idx": { - "name": "layout_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_story_items_id_idx": { - "name": "layout_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "layout_rels_catalogues_id_idx": { - "name": "layout_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "layout_rels_parent_fk": { - "name": "layout_rels_parent_fk", - "tableFrom": "layout_rels", - "tableTo": "layout", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "layout_rels_pages_fk": { - "name": "layout_rels_pages_fk", - "tableFrom": "layout_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "layout_rels_articles_fk": { - "name": "layout_rels_articles_fk", - "tableFrom": "layout_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "layout_rels_insights_fk": { - "name": "layout_rels_insights_fk", - "tableFrom": "layout_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "layout_rels_webinar_items_fk": { - "name": "layout_rels_webinar_items_fk", - "tableFrom": "layout_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "layout_rels_story_items_fk": { - "name": "layout_rels_story_items_fk", - "tableFrom": "layout_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "layout_rels_catalogues_fk": { - "name": "layout_rels_catalogues_fk", - "tableFrom": "layout_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_internal_link": { - "name": "homepage_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_internal_link_order_idx": { - "name": "homepage_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_parent_id_idx": { - "name": "homepage_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_path_idx": { - "name": "homepage_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_locale_idx": { - "name": "homepage_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_internal_link_parent_id_fk": { - "name": "homepage_blocks_internal_link_parent_id_fk", - "tableFrom": "homepage_blocks_internal_link", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_external_link": { - "name": "homepage_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_external_link_order_idx": { - "name": "homepage_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_parent_id_idx": { - "name": "homepage_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_path_idx": { - "name": "homepage_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_locale_idx": { - "name": "homepage_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_external_link_parent_id_fk": { - "name": "homepage_blocks_external_link_parent_id_fk", - "tableFrom": "homepage_blocks_external_link", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_hero": { - "name": "homepage_blocks_hero", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "enum_homepage_blocks_hero_variant", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_hero_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "background_image_id": { - "name": "background_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "background_image_for_mobile_id": { - "name": "background_image_for_mobile_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "show_breadcrumb": { - "name": "show_breadcrumb", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_hero_order_idx": { - "name": "homepage_blocks_hero_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_hero_parent_id_idx": { - "name": "homepage_blocks_hero_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_hero_path_idx": { - "name": "homepage_blocks_hero_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_hero_locale_idx": { - "name": "homepage_blocks_hero_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_hero_background_image_idx": { - "name": "homepage_blocks_hero_background_image_idx", - "columns": [ - { - "expression": "background_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_hero_background_image_for_mobile_idx": { - "name": "homepage_blocks_hero_background_image_for_mobile_idx", - "columns": [ - { - "expression": "background_image_for_mobile_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_hero_background_image_id_media_id_fk": { - "name": "homepage_blocks_hero_background_image_id_media_id_fk", - "tableFrom": "homepage_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "homepage_blocks_hero_background_image_for_mobile_id_media_id_fk": { - "name": "homepage_blocks_hero_background_image_for_mobile_id_media_id_fk", - "tableFrom": "homepage_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_for_mobile_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "homepage_blocks_hero_parent_id_fk": { - "name": "homepage_blocks_hero_parent_id_fk", - "tableFrom": "homepage_blocks_hero", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_internal_link_2": { - "name": "homepage_blocks_internal_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_internal_link_2_order_idx": { - "name": "homepage_blocks_internal_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_2_parent_id_idx": { - "name": "homepage_blocks_internal_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_2_path_idx": { - "name": "homepage_blocks_internal_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_2_locale_idx": { - "name": "homepage_blocks_internal_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_internal_link_2_parent_id_fk": { - "name": "homepage_blocks_internal_link_2_parent_id_fk", - "tableFrom": "homepage_blocks_internal_link_2", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_external_link_2": { - "name": "homepage_blocks_external_link_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_external_link_2_order_idx": { - "name": "homepage_blocks_external_link_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_2_parent_id_idx": { - "name": "homepage_blocks_external_link_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_2_path_idx": { - "name": "homepage_blocks_external_link_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_2_locale_idx": { - "name": "homepage_blocks_external_link_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_external_link_2_parent_id_fk": { - "name": "homepage_blocks_external_link_2_parent_id_fk", - "tableFrom": "homepage_blocks_external_link_2", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_block": { - "name": "homepage_blocks_text_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_block_order_idx": { - "name": "homepage_blocks_text_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_parent_id_idx": { - "name": "homepage_blocks_text_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_path_idx": { - "name": "homepage_blocks_text_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_locale_idx": { - "name": "homepage_blocks_text_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_block_parent_id_fk": { - "name": "homepage_blocks_text_block_parent_id_fk", - "tableFrom": "homepage_blocks_text_block", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_only": { - "name": "homepage_blocks_text_only", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_text_only_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_homepage_blocks_text_only_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_only_order_idx": { - "name": "homepage_blocks_text_only_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_only_parent_id_idx": { - "name": "homepage_blocks_text_only_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_only_path_idx": { - "name": "homepage_blocks_text_only_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_only_locale_idx": { - "name": "homepage_blocks_text_only_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_only_parent_id_fk": { - "name": "homepage_blocks_text_only_parent_id_fk", - "tableFrom": "homepage_blocks_text_only", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_internal_link_3": { - "name": "homepage_blocks_internal_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_internal_link_3_order_idx": { - "name": "homepage_blocks_internal_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_3_parent_id_idx": { - "name": "homepage_blocks_internal_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_3_path_idx": { - "name": "homepage_blocks_internal_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_3_locale_idx": { - "name": "homepage_blocks_internal_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_internal_link_3_parent_id_fk": { - "name": "homepage_blocks_internal_link_3_parent_id_fk", - "tableFrom": "homepage_blocks_internal_link_3", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_external_link_3": { - "name": "homepage_blocks_external_link_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_external_link_3_order_idx": { - "name": "homepage_blocks_external_link_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_3_parent_id_idx": { - "name": "homepage_blocks_external_link_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_3_path_idx": { - "name": "homepage_blocks_external_link_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_3_locale_idx": { - "name": "homepage_blocks_external_link_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_external_link_3_parent_id_fk": { - "name": "homepage_blocks_external_link_3_parent_id_fk", - "tableFrom": "homepage_blocks_external_link_3", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_block_2": { - "name": "homepage_blocks_text_block_2", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_block_2_order_idx": { - "name": "homepage_blocks_text_block_2_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_2_parent_id_idx": { - "name": "homepage_blocks_text_block_2_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_2_path_idx": { - "name": "homepage_blocks_text_block_2_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_2_locale_idx": { - "name": "homepage_blocks_text_block_2_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_block_2_parent_id_fk": { - "name": "homepage_blocks_text_block_2_parent_id_fk", - "tableFrom": "homepage_blocks_text_block_2", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_card_editorial_with_icon": { - "name": "homepage_blocks_card_editorial_with_icon", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_card_editorial_with_icon_order_idx": { - "name": "homepage_blocks_card_editorial_with_icon_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_editorial_with_icon_parent_id_idx": { - "name": "homepage_blocks_card_editorial_with_icon_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_editorial_with_icon_path_idx": { - "name": "homepage_blocks_card_editorial_with_icon_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_editorial_with_icon_locale_idx": { - "name": "homepage_blocks_card_editorial_with_icon_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_card_editorial_with_icon_parent_id_fk": { - "name": "homepage_blocks_card_editorial_with_icon_parent_id_fk", - "tableFrom": "homepage_blocks_card_editorial_with_icon", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_additional_content": { - "name": "homepage_blocks_additional_content", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_additional_content_order_idx": { - "name": "homepage_blocks_additional_content_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_additional_content_parent_id_idx": { - "name": "homepage_blocks_additional_content_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_additional_content_path_idx": { - "name": "homepage_blocks_additional_content_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_additional_content_locale_idx": { - "name": "homepage_blocks_additional_content_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_additional_content_parent_id_fk": { - "name": "homepage_blocks_additional_content_parent_id_fk", - "tableFrom": "homepage_blocks_additional_content", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_image": { - "name": "homepage_blocks_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 - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_text_image_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "heading": { - "name": "heading", - "type": "enum_homepage_blocks_text_image_heading", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_image_order_idx": { - "name": "homepage_blocks_text_image_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_image_parent_id_idx": { - "name": "homepage_blocks_text_image_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_image_path_idx": { - "name": "homepage_blocks_text_image_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_image_locale_idx": { - "name": "homepage_blocks_text_image_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_image_image_idx": { - "name": "homepage_blocks_text_image_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_image_image_id_media_id_fk": { - "name": "homepage_blocks_text_image_image_id_media_id_fk", - "tableFrom": "homepage_blocks_text_image", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "homepage_blocks_text_image_parent_id_fk": { - "name": "homepage_blocks_text_image_parent_id_fk", - "tableFrom": "homepage_blocks_text_image", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_news_tab": { - "name": "homepage_blocks_news_tab", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_news_tab_order_idx": { - "name": "homepage_blocks_news_tab_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_news_tab_parent_id_idx": { - "name": "homepage_blocks_news_tab_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_news_tab_path_idx": { - "name": "homepage_blocks_news_tab_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_news_tab_locale_idx": { - "name": "homepage_blocks_news_tab_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_news_tab_parent_id_fk": { - "name": "homepage_blocks_news_tab_parent_id_fk", - "tableFrom": "homepage_blocks_news_tab", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_story_tab": { - "name": "homepage_blocks_story_tab", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_story_tab_order_idx": { - "name": "homepage_blocks_story_tab_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_story_tab_parent_id_idx": { - "name": "homepage_blocks_story_tab_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_story_tab_path_idx": { - "name": "homepage_blocks_story_tab_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_story_tab_locale_idx": { - "name": "homepage_blocks_story_tab_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_story_tab_parent_id_fk": { - "name": "homepage_blocks_story_tab_parent_id_fk", - "tableFrom": "homepage_blocks_story_tab", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_internal_link_4": { - "name": "homepage_blocks_internal_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_internal_link_4_order_idx": { - "name": "homepage_blocks_internal_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_4_parent_id_idx": { - "name": "homepage_blocks_internal_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_4_path_idx": { - "name": "homepage_blocks_internal_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_4_locale_idx": { - "name": "homepage_blocks_internal_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_internal_link_4_parent_id_fk": { - "name": "homepage_blocks_internal_link_4_parent_id_fk", - "tableFrom": "homepage_blocks_internal_link_4", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_external_link_4": { - "name": "homepage_blocks_external_link_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_external_link_4_order_idx": { - "name": "homepage_blocks_external_link_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_4_parent_id_idx": { - "name": "homepage_blocks_external_link_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_4_path_idx": { - "name": "homepage_blocks_external_link_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_4_locale_idx": { - "name": "homepage_blocks_external_link_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_external_link_4_parent_id_fk": { - "name": "homepage_blocks_external_link_4_parent_id_fk", - "tableFrom": "homepage_blocks_external_link_4", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_news_feed": { - "name": "homepage_blocks_news_feed", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_news_feed_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_news_feed_order_idx": { - "name": "homepage_blocks_news_feed_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_news_feed_parent_id_idx": { - "name": "homepage_blocks_news_feed_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_news_feed_path_idx": { - "name": "homepage_blocks_news_feed_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_news_feed_locale_idx": { - "name": "homepage_blocks_news_feed_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_news_feed_parent_id_fk": { - "name": "homepage_blocks_news_feed_parent_id_fk", - "tableFrom": "homepage_blocks_news_feed", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_channel": { - "name": "homepage_blocks_channel", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "link_to": { - "name": "link_to", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_channel_order_idx": { - "name": "homepage_blocks_channel_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_channel_parent_id_idx": { - "name": "homepage_blocks_channel_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_channel_path_idx": { - "name": "homepage_blocks_channel_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_channel_locale_idx": { - "name": "homepage_blocks_channel_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_channel_parent_id_fk": { - "name": "homepage_blocks_channel_parent_id_fk", - "tableFrom": "homepage_blocks_channel", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_support_channels_section": { - "name": "homepage_blocks_support_channels_section", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_support_channels_section_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_support_channels_section_order_idx": { - "name": "homepage_blocks_support_channels_section_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_support_channels_section_parent_id_idx": { - "name": "homepage_blocks_support_channels_section_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_support_channels_section_path_idx": { - "name": "homepage_blocks_support_channels_section_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_support_channels_section_locale_idx": { - "name": "homepage_blocks_support_channels_section_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_support_channels_section_parent_id_fk": { - "name": "homepage_blocks_support_channels_section_parent_id_fk", - "tableFrom": "homepage_blocks_support_channels_section", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_internal_link_5": { - "name": "homepage_blocks_internal_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_internal_link_5_order_idx": { - "name": "homepage_blocks_internal_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_5_parent_id_idx": { - "name": "homepage_blocks_internal_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_5_path_idx": { - "name": "homepage_blocks_internal_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_5_locale_idx": { - "name": "homepage_blocks_internal_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_internal_link_5_parent_id_fk": { - "name": "homepage_blocks_internal_link_5_parent_id_fk", - "tableFrom": "homepage_blocks_internal_link_5", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_external_link_5": { - "name": "homepage_blocks_external_link_5", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_external_link_5_order_idx": { - "name": "homepage_blocks_external_link_5_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_5_parent_id_idx": { - "name": "homepage_blocks_external_link_5_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_5_path_idx": { - "name": "homepage_blocks_external_link_5_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_5_locale_idx": { - "name": "homepage_blocks_external_link_5_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_external_link_5_parent_id_fk": { - "name": "homepage_blocks_external_link_5_parent_id_fk", - "tableFrom": "homepage_blocks_external_link_5", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_block_3": { - "name": "homepage_blocks_text_block_3", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_block_3_order_idx": { - "name": "homepage_blocks_text_block_3_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_3_parent_id_idx": { - "name": "homepage_blocks_text_block_3_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_3_path_idx": { - "name": "homepage_blocks_text_block_3_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_3_locale_idx": { - "name": "homepage_blocks_text_block_3_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_block_3_parent_id_fk": { - "name": "homepage_blocks_text_block_3_parent_id_fk", - "tableFrom": "homepage_blocks_text_block_3", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_use_case_block": { - "name": "homepage_blocks_use_case_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_use_case_block_order_idx": { - "name": "homepage_blocks_use_case_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_use_case_block_parent_id_idx": { - "name": "homepage_blocks_use_case_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_use_case_block_path_idx": { - "name": "homepage_blocks_use_case_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_use_case_block_locale_idx": { - "name": "homepage_blocks_use_case_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_use_case_block_parent_id_fk": { - "name": "homepage_blocks_use_case_block_parent_id_fk", - "tableFrom": "homepage_blocks_use_case_block", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_use_case": { - "name": "homepage_blocks_text_use_case", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_text_use_case_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_use_case_order_idx": { - "name": "homepage_blocks_text_use_case_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_use_case_parent_id_idx": { - "name": "homepage_blocks_text_use_case_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_use_case_path_idx": { - "name": "homepage_blocks_text_use_case_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_use_case_locale_idx": { - "name": "homepage_blocks_text_use_case_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_use_case_parent_id_fk": { - "name": "homepage_blocks_text_use_case_parent_id_fk", - "tableFrom": "homepage_blocks_text_use_case", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_internal_link_6": { - "name": "homepage_blocks_internal_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_internal_link_6_order_idx": { - "name": "homepage_blocks_internal_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_6_parent_id_idx": { - "name": "homepage_blocks_internal_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_6_path_idx": { - "name": "homepage_blocks_internal_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_internal_link_6_locale_idx": { - "name": "homepage_blocks_internal_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_internal_link_6_parent_id_fk": { - "name": "homepage_blocks_internal_link_6_parent_id_fk", - "tableFrom": "homepage_blocks_internal_link_6", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_external_link_6": { - "name": "homepage_blocks_external_link_6", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_external_link_6_order_idx": { - "name": "homepage_blocks_external_link_6_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_6_parent_id_idx": { - "name": "homepage_blocks_external_link_6_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_6_path_idx": { - "name": "homepage_blocks_external_link_6_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_external_link_6_locale_idx": { - "name": "homepage_blocks_external_link_6_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_external_link_6_parent_id_fk": { - "name": "homepage_blocks_external_link_6_parent_id_fk", - "tableFrom": "homepage_blocks_external_link_6", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_block_4": { - "name": "homepage_blocks_text_block_4", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_block_4_order_idx": { - "name": "homepage_blocks_text_block_4_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_4_parent_id_idx": { - "name": "homepage_blocks_text_block_4_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_4_path_idx": { - "name": "homepage_blocks_text_block_4_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_block_4_locale_idx": { - "name": "homepage_blocks_text_block_4_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_block_4_parent_id_fk": { - "name": "homepage_blocks_text_block_4_parent_id_fk", - "tableFrom": "homepage_blocks_text_block_4", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_data_container": { - "name": "homepage_blocks_data_container", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "info": { - "name": "info", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "icon_select": { - "name": "icon_select", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_data_container_order_idx": { - "name": "homepage_blocks_data_container_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_data_container_parent_id_idx": { - "name": "homepage_blocks_data_container_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_data_container_path_idx": { - "name": "homepage_blocks_data_container_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_data_container_locale_idx": { - "name": "homepage_blocks_data_container_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_data_container_parent_id_fk": { - "name": "homepage_blocks_data_container_parent_id_fk", - "tableFrom": "homepage_blocks_data_container", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_statistic_block": { - "name": "homepage_blocks_statistic_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_statistic_block_order_idx": { - "name": "homepage_blocks_statistic_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_statistic_block_parent_id_idx": { - "name": "homepage_blocks_statistic_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_statistic_block_path_idx": { - "name": "homepage_blocks_statistic_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_statistic_block_locale_idx": { - "name": "homepage_blocks_statistic_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_statistic_block_parent_id_fk": { - "name": "homepage_blocks_statistic_block_parent_id_fk", - "tableFrom": "homepage_blocks_statistic_block", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_text_statistic": { - "name": "homepage_blocks_text_statistic", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_text_statistic_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "show_inline": { - "name": "show_inline", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_text_statistic_order_idx": { - "name": "homepage_blocks_text_statistic_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_statistic_parent_id_idx": { - "name": "homepage_blocks_text_statistic_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_statistic_path_idx": { - "name": "homepage_blocks_text_statistic_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_text_statistic_locale_idx": { - "name": "homepage_blocks_text_statistic_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_text_statistic_parent_id_fk": { - "name": "homepage_blocks_text_statistic_parent_id_fk", - "tableFrom": "homepage_blocks_text_statistic", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_link_block": { - "name": "homepage_blocks_link_block", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "external_url": { - "name": "external_url", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_link_block_order_idx": { - "name": "homepage_blocks_link_block_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_link_block_parent_id_idx": { - "name": "homepage_blocks_link_block_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_link_block_path_idx": { - "name": "homepage_blocks_link_block_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_link_block_locale_idx": { - "name": "homepage_blocks_link_block_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_link_block_parent_id_fk": { - "name": "homepage_blocks_link_block_parent_id_fk", - "tableFrom": "homepage_blocks_link_block", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_card_link": { - "name": "homepage_blocks_card_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_card_link_order_idx": { - "name": "homepage_blocks_card_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_link_parent_id_idx": { - "name": "homepage_blocks_card_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_link_path_idx": { - "name": "homepage_blocks_card_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_link_locale_idx": { - "name": "homepage_blocks_card_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_link_image_idx": { - "name": "homepage_blocks_card_link_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_card_link_image_id_media_id_fk": { - "name": "homepage_blocks_card_link_image_id_media_id_fk", - "tableFrom": "homepage_blocks_card_link", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "homepage_blocks_card_link_parent_id_fk": { - "name": "homepage_blocks_card_link_parent_id_fk", - "tableFrom": "homepage_blocks_card_link", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_blocks_card_link_list": { - "name": "homepage_blocks_card_link_list", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "show_inline_card": { - "name": "show_inline_card", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_homepage_blocks_card_link_list_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_blocks_card_link_list_order_idx": { - "name": "homepage_blocks_card_link_list_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_link_list_parent_id_idx": { - "name": "homepage_blocks_card_link_list_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_link_list_path_idx": { - "name": "homepage_blocks_card_link_list_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_blocks_card_link_list_locale_idx": { - "name": "homepage_blocks_card_link_list_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_blocks_card_link_list_parent_id_fk": { - "name": "homepage_blocks_card_link_list_parent_id_fk", - "tableFrom": "homepage_blocks_card_link_list", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage": { - "name": "homepage", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_seo_seo_image_idx": { - "name": "homepage_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_seo_image_id_media_id_fk": { - "name": "homepage_seo_image_id_media_id_fk", - "tableFrom": "homepage", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_locales": { - "name": "homepage_locales", - "schema": "", - "columns": { - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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": { - "homepage_locales_locale_parent_id_unique": { - "name": "homepage_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": { - "homepage_locales_parent_id_fk": { - "name": "homepage_locales_parent_id_fk", - "tableFrom": "homepage_locales", - "tableTo": "homepage", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.homepage_rels": { - "name": "homepage_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "news_items_id": { - "name": "news_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "kpi_elements_id": { - "name": "kpi_elements_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "homepage_rels_order_idx": { - "name": "homepage_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_parent_idx": { - "name": "homepage_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_path_idx": { - "name": "homepage_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_locale_idx": { - "name": "homepage_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_pages_id_idx": { - "name": "homepage_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_articles_id_idx": { - "name": "homepage_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_insights_id_idx": { - "name": "homepage_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_webinar_items_id_idx": { - "name": "homepage_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_story_items_id_idx": { - "name": "homepage_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_catalogues_id_idx": { - "name": "homepage_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_news_items_id_idx": { - "name": "homepage_rels_news_items_id_idx", - "columns": [ - { - "expression": "news_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "homepage_rels_kpi_elements_id_idx": { - "name": "homepage_rels_kpi_elements_id_idx", - "columns": [ - { - "expression": "kpi_elements_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "homepage_rels_parent_fk": { - "name": "homepage_rels_parent_fk", - "tableFrom": "homepage_rels", - "tableTo": "homepage", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_pages_fk": { - "name": "homepage_rels_pages_fk", - "tableFrom": "homepage_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_articles_fk": { - "name": "homepage_rels_articles_fk", - "tableFrom": "homepage_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_insights_fk": { - "name": "homepage_rels_insights_fk", - "tableFrom": "homepage_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_webinar_items_fk": { - "name": "homepage_rels_webinar_items_fk", - "tableFrom": "homepage_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_story_items_fk": { - "name": "homepage_rels_story_items_fk", - "tableFrom": "homepage_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_catalogues_fk": { - "name": "homepage_rels_catalogues_fk", - "tableFrom": "homepage_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_news_items_fk": { - "name": "homepage_rels_news_items_fk", - "tableFrom": "homepage_rels", - "tableTo": "news_items", - "columnsFrom": [ - "news_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "homepage_rels_kpi_elements_fk": { - "name": "homepage_rels_kpi_elements_fk", - "tableFrom": "homepage_rels", - "tableTo": "kpi_elements", - "columnsFrom": [ - "kpi_elements_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.search_blocks_internal_link": { - "name": "search_blocks_internal_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "search_blocks_internal_link_order_idx": { - "name": "search_blocks_internal_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_internal_link_parent_id_idx": { - "name": "search_blocks_internal_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_internal_link_path_idx": { - "name": "search_blocks_internal_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_internal_link_locale_idx": { - "name": "search_blocks_internal_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "search_blocks_internal_link_parent_id_fk": { - "name": "search_blocks_internal_link_parent_id_fk", - "tableFrom": "search_blocks_internal_link", - "tableTo": "search", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.search_blocks_external_link": { - "name": "search_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "search_blocks_external_link_order_idx": { - "name": "search_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_external_link_parent_id_idx": { - "name": "search_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_external_link_path_idx": { - "name": "search_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_external_link_locale_idx": { - "name": "search_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "search_blocks_external_link_parent_id_fk": { - "name": "search_blocks_external_link_parent_id_fk", - "tableFrom": "search_blocks_external_link", - "tableTo": "search", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.search_blocks_hero": { - "name": "search_blocks_hero", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "variant": { - "name": "variant", - "type": "enum_search_blocks_hero_variant", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "bg": { - "name": "bg", - "type": "enum_search_blocks_hero_bg", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "background_image_id": { - "name": "background_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "background_image_for_mobile_id": { - "name": "background_image_for_mobile_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "show_breadcrumb": { - "name": "show_breadcrumb", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "search_blocks_hero_order_idx": { - "name": "search_blocks_hero_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_hero_parent_id_idx": { - "name": "search_blocks_hero_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_hero_path_idx": { - "name": "search_blocks_hero_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_hero_locale_idx": { - "name": "search_blocks_hero_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_hero_background_image_idx": { - "name": "search_blocks_hero_background_image_idx", - "columns": [ - { - "expression": "background_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_hero_background_image_for_mobile_idx": { - "name": "search_blocks_hero_background_image_for_mobile_idx", - "columns": [ - { - "expression": "background_image_for_mobile_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "search_blocks_hero_background_image_id_media_id_fk": { - "name": "search_blocks_hero_background_image_id_media_id_fk", - "tableFrom": "search_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "search_blocks_hero_background_image_for_mobile_id_media_id_fk": { - "name": "search_blocks_hero_background_image_for_mobile_id_media_id_fk", - "tableFrom": "search_blocks_hero", - "tableTo": "media", - "columnsFrom": [ - "background_image_for_mobile_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "search_blocks_hero_parent_id_fk": { - "name": "search_blocks_hero_parent_id_fk", - "tableFrom": "search_blocks_hero", - "tableTo": "search", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.search_blocks_search_bar": { - "name": "search_blocks_search_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 - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label_button": { - "name": "label_button", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label_for_all_result": { - "name": "label_for_all_result", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label_for_no_result": { - "name": "label_for_no_result", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "input_placeholder": { - "name": "input_placeholder", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "search_blocks_search_bar_order_idx": { - "name": "search_blocks_search_bar_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_search_bar_parent_id_idx": { - "name": "search_blocks_search_bar_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_search_bar_path_idx": { - "name": "search_blocks_search_bar_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_blocks_search_bar_locale_idx": { - "name": "search_blocks_search_bar_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "search_blocks_search_bar_parent_id_fk": { - "name": "search_blocks_search_bar_parent_id_fk", - "tableFrom": "search_blocks_search_bar", - "tableTo": "search", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.search": { - "name": "search", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "is_search_enabled": { - "name": "is_search_enabled", - "type": "boolean", - "primaryKey": false, - "notNull": false - }, - "seo_image_id": { - "name": "seo_image_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "search_seo_seo_image_idx": { - "name": "search_seo_seo_image_idx", - "columns": [ - { - "expression": "seo_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "search_seo_image_id_media_id_fk": { - "name": "search_seo_image_id_media_id_fk", - "tableFrom": "search", - "tableTo": "media", - "columnsFrom": [ - "seo_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.search_locales": { - "name": "search_locales", - "schema": "", - "columns": { - "search_label": { - "name": "search_label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "slug": { - "name": "slug", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "seo_title": { - "name": "seo_title", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "seo_description": { - "name": "seo_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": { - "search_locales_locale_parent_id_unique": { - "name": "search_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": { - "search_locales_parent_id_fk": { - "name": "search_locales_parent_id_fk", - "tableFrom": "search_locales", - "tableTo": "search", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.search_rels": { - "name": "search_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "search_rels_order_idx": { - "name": "search_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_parent_idx": { - "name": "search_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_path_idx": { - "name": "search_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_locale_idx": { - "name": "search_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_pages_id_idx": { - "name": "search_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_articles_id_idx": { - "name": "search_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_insights_id_idx": { - "name": "search_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_webinar_items_id_idx": { - "name": "search_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_story_items_id_idx": { - "name": "search_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "search_rels_catalogues_id_idx": { - "name": "search_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "search_rels_parent_fk": { - "name": "search_rels_parent_fk", - "tableFrom": "search_rels", - "tableTo": "search", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "search_rels_pages_fk": { - "name": "search_rels_pages_fk", - "tableFrom": "search_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "search_rels_articles_fk": { - "name": "search_rels_articles_fk", - "tableFrom": "search_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "search_rels_insights_fk": { - "name": "search_rels_insights_fk", - "tableFrom": "search_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "search_rels_webinar_items_fk": { - "name": "search_rels_webinar_items_fk", - "tableFrom": "search_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "search_rels_story_items_fk": { - "name": "search_rels_story_items_fk", - "tableFrom": "search_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "search_rels_catalogues_fk": { - "name": "search_rels_catalogues_fk", - "tableFrom": "search_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.global_setting_blocks_external_link": { - "name": "global_setting_blocks_external_link", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "url": { - "name": "url", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "description": { - "name": "description", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "global_setting_blocks_external_link_order_idx": { - "name": "global_setting_blocks_external_link_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "global_setting_blocks_external_link_parent_id_idx": { - "name": "global_setting_blocks_external_link_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "global_setting_blocks_external_link_path_idx": { - "name": "global_setting_blocks_external_link_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "global_setting_blocks_external_link_locale_idx": { - "name": "global_setting_blocks_external_link_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "global_setting_blocks_external_link_parent_id_fk": { - "name": "global_setting_blocks_external_link_parent_id_fk", - "tableFrom": "global_setting_blocks_external_link", - "tableTo": "global_setting", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.global_setting": { - "name": "global_setting", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "image_id": { - "name": "image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "global_setting_image_idx": { - "name": "global_setting_image_idx", - "columns": [ - { - "expression": "image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "global_setting_image_id_media_id_fk": { - "name": "global_setting_image_id_media_id_fk", - "tableFrom": "global_setting", - "tableTo": "media", - "columnsFrom": [ - "image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.global_setting_locales": { - "name": "global_setting_locales", - "schema": "", - "columns": { - "last_update_label": { - "name": "last_update_label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "title": { - "name": "title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "paragraph": { - "name": "paragraph", - "type": "jsonb", - "primaryKey": false, - "notNull": false - }, - "site_name": { - "name": "site_name", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "label_cta": { - "name": "label_cta", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "global_setting_locales_locale_parent_id_unique": { - "name": "global_setting_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": { - "global_setting_locales_parent_id_fk": { - "name": "global_setting_locales_parent_id_fk", - "tableFrom": "global_setting_locales", - "tableTo": "global_setting", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.sidebar_for_article_blocks_menu_article_item": { - "name": "sidebar_for_article_blocks_menu_article_item", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "sidebar_for_article_blocks_menu_article_item_order_idx": { - "name": "sidebar_for_article_blocks_menu_article_item_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_blocks_menu_article_item_parent_id_idx": { - "name": "sidebar_for_article_blocks_menu_article_item_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_blocks_menu_article_item_path_idx": { - "name": "sidebar_for_article_blocks_menu_article_item_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_blocks_menu_article_item_locale_idx": { - "name": "sidebar_for_article_blocks_menu_article_item_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "sidebar_for_article_blocks_menu_article_item_parent_id_fk": { - "name": "sidebar_for_article_blocks_menu_article_item_parent_id_fk", - "tableFrom": "sidebar_for_article_blocks_menu_article_item", - "tableTo": "sidebar_for_article", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.sidebar_for_article_blocks_accordion_menu": { - "name": "sidebar_for_article_blocks_accordion_menu", - "schema": "", - "columns": { - "_order": { - "name": "_order", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_parent_id": { - "name": "_parent_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "_path": { - "name": "_path", - "type": "text", - "primaryKey": false, - "notNull": true - }, - "_locale": { - "name": "_locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": true - }, - "id": { - "name": "id", - "type": "varchar", - "primaryKey": true, - "notNull": true - }, - "label": { - "name": "label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "block_name": { - "name": "block_name", - "type": "varchar", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "sidebar_for_article_blocks_accordion_menu_order_idx": { - "name": "sidebar_for_article_blocks_accordion_menu_order_idx", - "columns": [ - { - "expression": "_order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_blocks_accordion_menu_parent_id_idx": { - "name": "sidebar_for_article_blocks_accordion_menu_parent_id_idx", - "columns": [ - { - "expression": "_parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_blocks_accordion_menu_path_idx": { - "name": "sidebar_for_article_blocks_accordion_menu_path_idx", - "columns": [ - { - "expression": "_path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_blocks_accordion_menu_locale_idx": { - "name": "sidebar_for_article_blocks_accordion_menu_locale_idx", - "columns": [ - { - "expression": "_locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "sidebar_for_article_blocks_accordion_menu_parent_id_fk": { - "name": "sidebar_for_article_blocks_accordion_menu_parent_id_fk", - "tableFrom": "sidebar_for_article_blocks_accordion_menu", - "tableTo": "sidebar_for_article", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.sidebar_for_article": { - "name": "sidebar_for_article", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - } - }, - "indexes": {}, - "foreignKeys": {}, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.sidebar_for_article_locales": { - "name": "sidebar_for_article_locales", - "schema": "", - "columns": { - "header_label": { - "name": "header_label", - "type": "varchar", - "primaryKey": false, - "notNull": false - }, - "open_label": { - "name": "open_label", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "close_label": { - "name": "close_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": "integer", - "primaryKey": false, - "notNull": true - } - }, - "indexes": { - "sidebar_for_article_locales_locale_parent_id_unique": { - "name": "sidebar_for_article_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": { - "sidebar_for_article_locales_parent_id_fk": { - "name": "sidebar_for_article_locales_parent_id_fk", - "tableFrom": "sidebar_for_article_locales", - "tableTo": "sidebar_for_article", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.sidebar_for_article_rels": { - "name": "sidebar_for_article_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 - }, - "locale": { - "name": "locale", - "type": "_locales", - "typeSchema": "public", - "primaryKey": false, - "notNull": false - }, - "pages_id": { - "name": "pages_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "articles_id": { - "name": "articles_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "insights_id": { - "name": "insights_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "webinar_items_id": { - "name": "webinar_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "story_items_id": { - "name": "story_items_id", - "type": "integer", - "primaryKey": false, - "notNull": false - }, - "catalogues_id": { - "name": "catalogues_id", - "type": "integer", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "sidebar_for_article_rels_order_idx": { - "name": "sidebar_for_article_rels_order_idx", - "columns": [ - { - "expression": "order", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_parent_idx": { - "name": "sidebar_for_article_rels_parent_idx", - "columns": [ - { - "expression": "parent_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_path_idx": { - "name": "sidebar_for_article_rels_path_idx", - "columns": [ - { - "expression": "path", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_locale_idx": { - "name": "sidebar_for_article_rels_locale_idx", - "columns": [ - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_pages_id_idx": { - "name": "sidebar_for_article_rels_pages_id_idx", - "columns": [ - { - "expression": "pages_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_articles_id_idx": { - "name": "sidebar_for_article_rels_articles_id_idx", - "columns": [ - { - "expression": "articles_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_insights_id_idx": { - "name": "sidebar_for_article_rels_insights_id_idx", - "columns": [ - { - "expression": "insights_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_webinar_items_id_idx": { - "name": "sidebar_for_article_rels_webinar_items_id_idx", - "columns": [ - { - "expression": "webinar_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_story_items_id_idx": { - "name": "sidebar_for_article_rels_story_items_id_idx", - "columns": [ - { - "expression": "story_items_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "sidebar_for_article_rels_catalogues_id_idx": { - "name": "sidebar_for_article_rels_catalogues_id_idx", - "columns": [ - { - "expression": "catalogues_id", - "isExpression": false, - "asc": true, - "nulls": "last" - }, - { - "expression": "locale", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "sidebar_for_article_rels_parent_fk": { - "name": "sidebar_for_article_rels_parent_fk", - "tableFrom": "sidebar_for_article_rels", - "tableTo": "sidebar_for_article", - "columnsFrom": [ - "parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "sidebar_for_article_rels_pages_fk": { - "name": "sidebar_for_article_rels_pages_fk", - "tableFrom": "sidebar_for_article_rels", - "tableTo": "pages", - "columnsFrom": [ - "pages_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "sidebar_for_article_rels_articles_fk": { - "name": "sidebar_for_article_rels_articles_fk", - "tableFrom": "sidebar_for_article_rels", - "tableTo": "articles", - "columnsFrom": [ - "articles_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "sidebar_for_article_rels_insights_fk": { - "name": "sidebar_for_article_rels_insights_fk", - "tableFrom": "sidebar_for_article_rels", - "tableTo": "insights", - "columnsFrom": [ - "insights_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "sidebar_for_article_rels_webinar_items_fk": { - "name": "sidebar_for_article_rels_webinar_items_fk", - "tableFrom": "sidebar_for_article_rels", - "tableTo": "webinar_items", - "columnsFrom": [ - "webinar_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "sidebar_for_article_rels_story_items_fk": { - "name": "sidebar_for_article_rels_story_items_fk", - "tableFrom": "sidebar_for_article_rels", - "tableTo": "story_items", - "columnsFrom": [ - "story_items_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, - "sidebar_for_article_rels_catalogues_fk": { - "name": "sidebar_for_article_rels_catalogues_fk", - "tableFrom": "sidebar_for_article_rels", - "tableTo": "catalogues", - "columnsFrom": [ - "catalogues_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.seo_default": { - "name": "seo_default", - "schema": "", - "columns": { - "id": { - "name": "id", - "type": "serial", - "primaryKey": true, - "notNull": true - }, - "og_image_id": { - "name": "og_image_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "favicon_id": { - "name": "favicon_id", - "type": "integer", - "primaryKey": false, - "notNull": true - }, - "updated_at": { - "name": "updated_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - }, - "created_at": { - "name": "created_at", - "type": "timestamp(3) with time zone", - "primaryKey": false, - "notNull": false - } - }, - "indexes": { - "seo_default_og_image_idx": { - "name": "seo_default_og_image_idx", - "columns": [ - { - "expression": "og_image_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - }, - "seo_default_favicon_idx": { - "name": "seo_default_favicon_idx", - "columns": [ - { - "expression": "favicon_id", - "isExpression": false, - "asc": true, - "nulls": "last" - } - ], - "isUnique": false, - "concurrently": false, - "method": "btree", - "with": {} - } - }, - "foreignKeys": { - "seo_default_og_image_id_media_id_fk": { - "name": "seo_default_og_image_id_media_id_fk", - "tableFrom": "seo_default", - "tableTo": "media", - "columnsFrom": [ - "og_image_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - }, - "seo_default_favicon_id_media_id_fk": { - "name": "seo_default_favicon_id_media_id_fk", - "tableFrom": "seo_default", - "tableTo": "media", - "columnsFrom": [ - "favicon_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "set null", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - }, - "public.seo_default_locales": { - "name": "seo_default_locales", - "schema": "", - "columns": { - "site_name": { - "name": "site_name", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "fallback_title": { - "name": "fallback_title", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "fallback_description": { - "name": "fallback_description", - "type": "varchar", - "primaryKey": false, - "notNull": true - }, - "title_suffix": { - "name": "title_suffix", - "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": { - "seo_default_locales_locale_parent_id_unique": { - "name": "seo_default_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": { - "seo_default_locales_parent_id_fk": { - "name": "seo_default_locales_parent_id_fk", - "tableFrom": "seo_default_locales", - "tableTo": "seo_default", - "columnsFrom": [ - "_parent_id" - ], - "columnsTo": [ - "id" - ], - "onDelete": "cascade", - "onUpdate": "no action" - } - }, - "compositePrimaryKeys": {}, - "uniqueConstraints": {}, - "policies": {}, - "checkConstraints": {}, - "isRLSEnabled": false - } - }, - "enums": { - "public._locales": { - "name": "_locales", - "schema": "public", - "values": [ - "it", - "en" - ] - }, - "public.enum_pages_blocks_hero_variant": { - "name": "enum_pages_blocks_hero_variant", - "schema": "public", - "values": [ - "default", - "small", - "xsmall-full", - "xsmall-compact" - ] - }, - "public.enum_pages_blocks_hero_bg": { - "name": "enum_pages_blocks_hero_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary" - ] - }, - "public.enum_pages_blocks_faq_section_bg": { - "name": "enum_pages_blocks_faq_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_text_only_bg": { - "name": "enum_pages_blocks_text_only_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_text_only_heading": { - "name": "enum_pages_blocks_text_only_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_pages_blocks_structured_text_block_bg": { - "name": "enum_pages_blocks_structured_text_block_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_text_image_bg": { - "name": "enum_pages_blocks_text_image_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_text_image_heading": { - "name": "enum_pages_blocks_text_image_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_pages_blocks_news_feed_bg": { - "name": "enum_pages_blocks_news_feed_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_support_channels_section_bg": { - "name": "enum_pages_blocks_support_channels_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_text_accordion_bg": { - "name": "enum_pages_blocks_text_accordion_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_support_cta_section_bg": { - "name": "enum_pages_blocks_support_cta_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_text_statistic_bg": { - "name": "enum_pages_blocks_text_statistic_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_pages_blocks_card_link_list_bg": { - "name": "enum_pages_blocks_card_link_list_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_insights_blocks_hero_variant": { - "name": "enum_insights_blocks_hero_variant", - "schema": "public", - "values": [ - "default", - "small", - "xsmall-full", - "xsmall-compact" - ] - }, - "public.enum_insights_blocks_hero_bg": { - "name": "enum_insights_blocks_hero_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary" - ] - }, - "public.enum_insights_blocks_text_only_bg": { - "name": "enum_insights_blocks_text_only_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_insights_blocks_text_only_heading": { - "name": "enum_insights_blocks_text_only_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_insights_blocks_text_image_bg": { - "name": "enum_insights_blocks_text_image_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_insights_blocks_text_image_heading": { - "name": "enum_insights_blocks_text_image_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_insights_blocks_news_feed_bg": { - "name": "enum_insights_blocks_news_feed_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_insights_blocks_support_channels_section_bg": { - "name": "enum_insights_blocks_support_channels_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_insights_blocks_text_use_case_bg": { - "name": "enum_insights_blocks_text_use_case_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_insights_blocks_text_statistic_bg": { - "name": "enum_insights_blocks_text_statistic_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_insights_blocks_card_link_list_bg": { - "name": "enum_insights_blocks_card_link_list_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_webinar_items_blocks_hero_variant": { - "name": "enum_webinar_items_blocks_hero_variant", - "schema": "public", - "values": [ - "default", - "small", - "xsmall-full", - "xsmall-compact" - ] - }, - "public.enum_webinar_items_blocks_hero_bg": { - "name": "enum_webinar_items_blocks_hero_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary" - ] - }, - "public.enum_story_items_blocks_hero_variant": { - "name": "enum_story_items_blocks_hero_variant", - "schema": "public", - "values": [ - "default", - "small", - "xsmall-full", - "xsmall-compact" - ] - }, - "public.enum_story_items_blocks_hero_bg": { - "name": "enum_story_items_blocks_hero_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary" - ] - }, - "public.enum_story_items_blocks_faq_section_bg": { - "name": "enum_story_items_blocks_faq_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_text_only_bg": { - "name": "enum_story_items_blocks_text_only_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_text_only_heading": { - "name": "enum_story_items_blocks_text_only_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_story_items_blocks_structured_text_block_bg": { - "name": "enum_story_items_blocks_structured_text_block_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_text_image_bg": { - "name": "enum_story_items_blocks_text_image_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_text_image_heading": { - "name": "enum_story_items_blocks_text_image_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_story_items_blocks_support_channels_section_bg": { - "name": "enum_story_items_blocks_support_channels_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_text_accordion_bg": { - "name": "enum_story_items_blocks_text_accordion_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_support_cta_section_bg": { - "name": "enum_story_items_blocks_support_cta_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_text_use_case_bg": { - "name": "enum_story_items_blocks_text_use_case_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_text_statistic_bg": { - "name": "enum_story_items_blocks_text_statistic_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_story_items_blocks_card_link_list_bg": { - "name": "enum_story_items_blocks_card_link_list_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_catalogues_blocks_hero_variant": { - "name": "enum_catalogues_blocks_hero_variant", - "schema": "public", - "values": [ - "default", - "small", - "xsmall-full", - "xsmall-compact" - ] - }, - "public.enum_catalogues_blocks_hero_bg": { - "name": "enum_catalogues_blocks_hero_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary" - ] - }, - "public.enum_catalogues_blocks_text_only_bg": { - "name": "enum_catalogues_blocks_text_only_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_catalogues_blocks_text_only_heading": { - "name": "enum_catalogues_blocks_text_only_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_homepage_blocks_hero_variant": { - "name": "enum_homepage_blocks_hero_variant", - "schema": "public", - "values": [ - "default", - "small", - "xsmall-full", - "xsmall-compact" - ] - }, - "public.enum_homepage_blocks_hero_bg": { - "name": "enum_homepage_blocks_hero_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary" - ] - }, - "public.enum_homepage_blocks_text_only_bg": { - "name": "enum_homepage_blocks_text_only_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_homepage_blocks_text_only_heading": { - "name": "enum_homepage_blocks_text_only_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_homepage_blocks_text_image_bg": { - "name": "enum_homepage_blocks_text_image_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_homepage_blocks_text_image_heading": { - "name": "enum_homepage_blocks_text_image_heading", - "schema": "public", - "values": [ - "h2", - "h3", - "h4", - "h5" - ] - }, - "public.enum_homepage_blocks_news_feed_bg": { - "name": "enum_homepage_blocks_news_feed_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_homepage_blocks_support_channels_section_bg": { - "name": "enum_homepage_blocks_support_channels_section_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_homepage_blocks_text_use_case_bg": { - "name": "enum_homepage_blocks_text_use_case_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_homepage_blocks_text_statistic_bg": { - "name": "enum_homepage_blocks_text_statistic_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_homepage_blocks_card_link_list_bg": { - "name": "enum_homepage_blocks_card_link_list_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary-light", - "primary", - "dark" - ] - }, - "public.enum_search_blocks_hero_variant": { - "name": "enum_search_blocks_hero_variant", - "schema": "public", - "values": [ - "default", - "small", - "xsmall-full", - "xsmall-compact" - ] - }, - "public.enum_search_blocks_hero_bg": { - "name": "enum_search_blocks_hero_bg", - "schema": "public", - "values": [ - "default", - "lighter", - "primary" - ] - } - }, - "schemas": {}, - "sequences": {}, - "roles": {}, - "policies": {}, - "views": {}, - "_meta": { - "schemas": {}, - "tables": {}, - "columns": {} - }, - "id": "70584777-3367-4483-be98-68db6bcf23db", - "prevId": "00000000-0000-0000-0000-000000000000" -} \ No newline at end of file diff --git a/src/migrations/20260615_154205.ts b/src/migrations/20260615_154205.ts deleted file mode 100644 index 27e61cb..0000000 --- a/src/migrations/20260615_154205.ts +++ /dev/null @@ -1,935 +0,0 @@ -import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres' - -export async function up({ db, payload, req }: MigrateUpArgs): Promise { - await db.execute(sql` - ALTER TABLE "users_sessions" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "users" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "users" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "media" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "media" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "article_topics" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "article_topics" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "article_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "news_topics" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "news_topics" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "news_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_topics" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "story_topics" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "story_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insight_topics" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "insight_topics" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "insight_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "resource_topics" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "resource_topics" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "resource_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_topics" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "webinar_topics" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "webinar_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "macro_topics" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "macro_topics" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "macro_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_classes" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "story_classes" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "story_classes_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_authors" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "webinar_authors" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "webinar_authors" ALTER COLUMN "photo_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_authors_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "chart_elements" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "chart_elements" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "kpi_elements" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "kpi_elements" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "news_items" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "news_items" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "news_items" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "news_items_locales" ALTER COLUMN "topic_id" SET DATA TYPE uuid; - ALTER TABLE "news_items_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "resources_blocks_download_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "resources_blocks_download_link" ALTER COLUMN "doc_id" SET DATA TYPE uuid; - ALTER TABLE "resources_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "resources" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "resources" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "resources_locales" ALTER COLUMN "type_resource_id" SET DATA TYPE uuid; - ALTER TABLE "resources_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "resources_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "resources_rels" ALTER COLUMN "resource_topics_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_accordion_item" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_accordion_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_faq_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_structured_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_highlight" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_highlight" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_settings_chart" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_settings_chart" ALTER COLUMN "select_chart_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_panel" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_list_item" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_result" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_data_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_news_tab" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_story_tab" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_news_feed" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_accordion_item_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_accordion_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_accordion_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_support_cta_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_support_cta_section" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_internal_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_external_link_8" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_list_collection" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_topic_filter" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_blocks_use_case_container" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "pages" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "pages" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "pages_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE uuid; - ALTER TABLE "pages_rels" ALTER COLUMN "news_items_id" SET DATA TYPE uuid; - ALTER TABLE "articles_blocks_topics_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "articles" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "articles" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "articles" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "articles_locales" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "articles_locales" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "articles_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "articles_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "articles_rels" ALTER COLUMN "article_topics_id" SET DATA TYPE uuid; - ALTER TABLE "articles_rels" ALTER COLUMN "news_topics_id" SET DATA TYPE uuid; - ALTER TABLE "articles_rels" ALTER COLUMN "story_topics_id" SET DATA TYPE uuid; - ALTER TABLE "articles_rels" ALTER COLUMN "insight_topics_id" SET DATA TYPE uuid; - ALTER TABLE "articles_rels" ALTER COLUMN "resource_topics_id" SET DATA TYPE uuid; - ALTER TABLE "articles_rels" ALTER COLUMN "webinar_topics_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_news_tab" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_story_tab" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_news_feed" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_use_case_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_use_case" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "insights_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "insights" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "insights" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "insights_locales" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_locales" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "insights_locales" ALTER COLUMN "topic_id" SET DATA TYPE uuid; - ALTER TABLE "insights_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "news_items_id" SET DATA TYPE uuid; - ALTER TABLE "insights_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_download_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_download_link" ALTER COLUMN "doc_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_action_card" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_author_list" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_speaker" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_list_item" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_feature_list" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_quick_link_card" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_blocks_webinar_description" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "webinar_items" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_locales" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_locales" ALTER COLUMN "topic_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "webinar_authors_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_accordion_item" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_accordion_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_faq_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_structured_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_accordion_item_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_accordion_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_accordion_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_list_collection" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_support_cta_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_support_cta_section" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_use_case_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_use_case" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_internal_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_external_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_block_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "story_items" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "story_items" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "story_items" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_locales" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_locales" ALTER COLUMN "article_classification_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_locales" ALTER COLUMN "topic_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "story_items_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_callout_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_catalogue_tab" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_catalogue_tab" ALTER COLUMN "filter_story_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_blocks_catalogue_feed" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "catalogues" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "catalogues" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_locales" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "catalogues_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "payload_kv" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "payload_kv" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "payload_locked_documents" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "users_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "media_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "article_topics_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "news_topics_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "story_topics_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "insight_topics_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "resource_topics_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "webinar_topics_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "macro_topics_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "story_classes_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "webinar_authors_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "chart_elements_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "news_items_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "resources_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "payload_preferences" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "payload_preferences" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "payload_preferences_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "payload_preferences_rels" ALTER COLUMN "users_id" SET DATA TYPE uuid; - ALTER TABLE "payload_migrations" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "payload_migrations" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "layout_blocks_brand" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_brand_header" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_supporting_brand" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_mailing_list_signup_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_menu_item" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_menu_item_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_mega_menu_item" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_blocks_mega_menu_item" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "layout" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "layout" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "layout_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "layout_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "layout_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "layout_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "layout_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "layout_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "layout_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_news_tab" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_story_tab" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_news_feed" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_use_case_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_use_case" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "homepage" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "homepage" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "news_items_id" SET DATA TYPE uuid; - ALTER TABLE "homepage_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE uuid; - ALTER TABLE "search_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "search_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "search_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "search_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE uuid; - ALTER TABLE "search_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE uuid; - ALTER TABLE "search_blocks_search_bar" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "search" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "search" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "search" ALTER COLUMN "seo_image_id" SET DATA TYPE uuid; - ALTER TABLE "search_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "search_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "search_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "search_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "search_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "search_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "search_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "search_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "global_setting_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "global_setting" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "global_setting" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "global_setting" ALTER COLUMN "image_id" SET DATA TYPE uuid; - ALTER TABLE "global_setting_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_blocks_menu_article_item" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_blocks_accordion_menu" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "sidebar_for_article_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "parent_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "pages_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "articles_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "insights_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "story_items_id" SET DATA TYPE uuid; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE uuid; - ALTER TABLE "seo_default" ALTER COLUMN "id" SET DATA TYPE uuid; - ALTER TABLE "seo_default" ALTER COLUMN "id" SET DEFAULT gen_random_uuid(); - ALTER TABLE "seo_default" ALTER COLUMN "og_image_id" SET DATA TYPE uuid; - ALTER TABLE "seo_default" ALTER COLUMN "favicon_id" SET DATA TYPE uuid; - ALTER TABLE "seo_default_locales" ALTER COLUMN "_parent_id" SET DATA TYPE uuid;`) -} - -export async function down({ db, payload, req }: MigrateDownArgs): Promise { - await db.execute(sql` - ALTER TABLE "users_sessions" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "users" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "users" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "media" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "media" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "article_topics" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "article_topics" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "article_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "news_topics" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "news_topics" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "news_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_topics" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "story_topics" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "story_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insight_topics" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "insight_topics" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "insight_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "resource_topics" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "resource_topics" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "resource_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_topics" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "webinar_topics" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "webinar_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "macro_topics" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "macro_topics" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "macro_topics_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_classes" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "story_classes" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "story_classes_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_authors" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "webinar_authors" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "webinar_authors" ALTER COLUMN "photo_id" SET DATA TYPE integer; - ALTER TABLE "webinar_authors_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "chart_elements" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "chart_elements" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "kpi_elements" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "kpi_elements" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "news_items" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "news_items" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "news_items" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "news_items_locales" ALTER COLUMN "topic_id" SET DATA TYPE integer; - ALTER TABLE "news_items_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "resources_blocks_download_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "resources_blocks_download_link" ALTER COLUMN "doc_id" SET DATA TYPE integer; - ALTER TABLE "resources_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "resources" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "resources" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "resources_locales" ALTER COLUMN "type_resource_id" SET DATA TYPE integer; - ALTER TABLE "resources_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "resources_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "resources_rels" ALTER COLUMN "resource_topics_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_accordion_item" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_accordion_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_faq_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_structured_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_highlight" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_highlight" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_settings_chart" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_settings_chart" ALTER COLUMN "select_chart_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_panel" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_list_item" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_result" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_data_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_news_tab" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_story_tab" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_news_feed" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_accordion_item_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_accordion_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_accordion_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_support_cta_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_support_cta_section" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_internal_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_external_link_8" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_list_collection" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_topic_filter" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_blocks_use_case_container" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "pages" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "pages" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "pages_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE integer; - ALTER TABLE "pages_rels" ALTER COLUMN "news_items_id" SET DATA TYPE integer; - ALTER TABLE "articles_blocks_topics_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "articles" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "articles" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "articles" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "articles_locales" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "articles_locales" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "articles_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "articles_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "articles_rels" ALTER COLUMN "article_topics_id" SET DATA TYPE integer; - ALTER TABLE "articles_rels" ALTER COLUMN "news_topics_id" SET DATA TYPE integer; - ALTER TABLE "articles_rels" ALTER COLUMN "story_topics_id" SET DATA TYPE integer; - ALTER TABLE "articles_rels" ALTER COLUMN "insight_topics_id" SET DATA TYPE integer; - ALTER TABLE "articles_rels" ALTER COLUMN "resource_topics_id" SET DATA TYPE integer; - ALTER TABLE "articles_rels" ALTER COLUMN "webinar_topics_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_news_tab" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_story_tab" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_news_feed" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_use_case_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_use_case" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "insights_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "insights" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "insights" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "insights_locales" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_locales" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "insights_locales" ALTER COLUMN "topic_id" SET DATA TYPE integer; - ALTER TABLE "insights_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "news_items_id" SET DATA TYPE integer; - ALTER TABLE "insights_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_download_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_download_link" ALTER COLUMN "doc_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_action_card" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_author_list" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_speaker" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_list_item" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_feature_list" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_quick_link_card" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_blocks_webinar_description" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "webinar_items" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "webinar_items" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_locales" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_locales" ALTER COLUMN "topic_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "webinar_items_rels" ALTER COLUMN "webinar_authors_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_accordion_item" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_accordion_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_faq_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_structured_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_accordion_item_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_accordion_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_accordion_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_accordion" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_list_collection" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_support_cta_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_support_cta_section" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_use_case_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_use_case" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_internal_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_external_link_7" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_block_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "story_items_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "story_items" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "story_items" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "story_items" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "story_items_locales" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_locales" ALTER COLUMN "article_classification_id" SET DATA TYPE integer; - ALTER TABLE "story_items_locales" ALTER COLUMN "topic_id" SET DATA TYPE integer; - ALTER TABLE "story_items_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "story_items_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_callout_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_catalogue_tab" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_catalogue_tab" ALTER COLUMN "filter_story_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_blocks_catalogue_feed" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "catalogues" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "catalogues" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_locales" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "catalogues_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "payload_kv" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "payload_kv" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "payload_locked_documents" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "payload_locked_documents" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "users_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "media_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "article_topics_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "news_topics_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "story_topics_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "insight_topics_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "resource_topics_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "webinar_topics_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "macro_topics_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "story_classes_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "webinar_authors_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "chart_elements_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "news_items_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "resources_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "payload_locked_documents_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "payload_preferences" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "payload_preferences" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "payload_preferences_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "payload_preferences_rels" ALTER COLUMN "users_id" SET DATA TYPE integer; - ALTER TABLE "payload_migrations" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "payload_migrations" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "layout_blocks_brand" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_brand_header" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_supporting_brand" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_mailing_list_signup_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_menu_item" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_menu_item_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_mega_menu_item" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_blocks_mega_menu_item" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "layout" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "layout" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "layout_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "layout_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "layout_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "layout_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "layout_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "layout_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "layout_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_internal_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_external_link_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_only" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_internal_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_external_link_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_block_2" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_card_editorial_with_icon" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_additional_content" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_image" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_image" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_news_tab" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_story_tab" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_internal_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_external_link_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_news_feed" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_channel" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_support_channels_section" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_internal_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_external_link_5" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_block_3" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_use_case_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_use_case" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_internal_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_external_link_6" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_block_4" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_data_container" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_statistic_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_text_statistic" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_link_block" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_card_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_card_link" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "homepage_blocks_card_link_list" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "homepage" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "homepage" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "homepage_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "news_items_id" SET DATA TYPE integer; - ALTER TABLE "homepage_rels" ALTER COLUMN "kpi_elements_id" SET DATA TYPE integer; - ALTER TABLE "search_blocks_internal_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "search_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "search_blocks_hero" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "search_blocks_hero" ALTER COLUMN "background_image_id" SET DATA TYPE integer; - ALTER TABLE "search_blocks_hero" ALTER COLUMN "background_image_for_mobile_id" SET DATA TYPE integer; - ALTER TABLE "search_blocks_search_bar" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "search" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "search" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "search" ALTER COLUMN "seo_image_id" SET DATA TYPE integer; - ALTER TABLE "search_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "search_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "search_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "search_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "search_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "search_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "search_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "search_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "global_setting_blocks_external_link" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "global_setting" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "global_setting" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "global_setting" ALTER COLUMN "image_id" SET DATA TYPE integer; - ALTER TABLE "global_setting_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_blocks_menu_article_item" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_blocks_accordion_menu" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "sidebar_for_article" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "sidebar_for_article_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "parent_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "pages_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "articles_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "insights_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "webinar_items_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "story_items_id" SET DATA TYPE integer; - ALTER TABLE "sidebar_for_article_rels" ALTER COLUMN "catalogues_id" SET DATA TYPE integer; - ALTER TABLE "seo_default" ALTER COLUMN "id" SET DATA TYPE serial; - ALTER TABLE "seo_default" ALTER COLUMN "id" DROP DEFAULT; - ALTER TABLE "seo_default" ALTER COLUMN "og_image_id" SET DATA TYPE integer; - ALTER TABLE "seo_default" ALTER COLUMN "favicon_id" SET DATA TYPE integer; - ALTER TABLE "seo_default_locales" ALTER COLUMN "_parent_id" SET DATA TYPE integer;`) -} diff --git a/src/migrations/20260615_154205.json b/src/migrations/20260626_150106_initial.json similarity index 99% rename from src/migrations/20260615_154205.json rename to src/migrations/20260626_150106_initial.json index b6ae469..bf1c7e2 100644 --- a/src/migrations/20260615_154205.json +++ b/src/migrations/20260626_150106_initial.json @@ -3110,7 +3110,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -3303,7 +3303,7 @@ }, "body": { "name": "body", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -4108,7 +4108,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -4522,7 +4522,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -4705,7 +4705,7 @@ }, "info": { "name": "info", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -5037,7 +5037,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -5174,7 +5174,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -5853,7 +5853,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -5990,7 +5990,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -6986,7 +6986,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -7123,7 +7123,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -7272,7 +7272,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -7690,7 +7690,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -7827,7 +7827,7 @@ }, "body": { "name": "body", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -9078,7 +9078,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -9621,7 +9621,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -9758,7 +9758,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -10038,7 +10038,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -10222,7 +10222,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -12261,7 +12261,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -12728,7 +12728,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -13278,7 +13278,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -13415,7 +13415,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -14411,7 +14411,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -14548,7 +14548,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -14697,7 +14697,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -15115,7 +15115,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -15789,7 +15789,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -16463,7 +16463,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -16647,7 +16647,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -17874,7 +17874,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -18244,7 +18244,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -18667,7 +18667,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -19334,7 +19334,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -19471,7 +19471,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -21045,7 +21045,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -21238,7 +21238,7 @@ }, "body": { "name": "body", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -22043,7 +22043,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -22731,7 +22731,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -22868,7 +22868,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -23321,7 +23321,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -23470,7 +23470,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -23888,7 +23888,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -24025,7 +24025,7 @@ }, "body": { "name": "body", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -24550,7 +24550,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -25413,7 +25413,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -26087,7 +26087,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -26761,7 +26761,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -26945,7 +26945,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -28178,7 +28178,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -28645,7 +28645,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -29064,7 +29064,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -29201,7 +29201,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -32629,7 +32629,7 @@ }, "caption": { "name": "caption", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -33607,7 +33607,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -34074,7 +34074,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -34624,7 +34624,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -34761,7 +34761,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -35757,7 +35757,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -35894,7 +35894,7 @@ }, "description": { "name": "description", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -36043,7 +36043,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -36461,7 +36461,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -37135,7 +37135,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": true }, @@ -37809,7 +37809,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -37993,7 +37993,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -39029,7 +39029,7 @@ }, "paragraph": { "name": "paragraph", - "type": "varchar", + "type": "jsonb", "primaryKey": false, "notNull": false }, @@ -41736,6 +41736,6 @@ "tables": {}, "columns": {} }, - "id": "85b717ea-7fed-4e38-8ea3-99814b5bc29f", + "id": "3d7b65b7-93af-4f93-b98d-41bd231d512d", "prevId": "00000000-0000-0000-0000-000000000000" } \ No newline at end of file diff --git a/src/migrations/20260626_150106_initial.ts b/src/migrations/20260626_150106_initial.ts new file mode 100644 index 0000000..bee0c42 --- /dev/null +++ b/src/migrations/20260626_150106_initial.ts @@ -0,0 +1,5048 @@ +import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-postgres' + +export async function up({ db, payload, req }: MigrateUpArgs): Promise { + await db.execute(sql` + CREATE TYPE "public"."_locales" AS ENUM('it', 'en'); + CREATE TYPE "public"."enum_pages_blocks_hero_variant" AS ENUM('default', 'small', 'xsmall-full', 'xsmall-compact'); + CREATE TYPE "public"."enum_pages_blocks_hero_bg" AS ENUM('default', 'lighter', 'primary'); + CREATE TYPE "public"."enum_pages_blocks_faq_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_text_only_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_text_only_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_pages_blocks_structured_text_block_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_text_image_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_text_image_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_pages_blocks_news_feed_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_support_channels_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_text_accordion_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_support_cta_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_text_statistic_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_pages_blocks_card_link_list_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_insights_blocks_hero_variant" AS ENUM('default', 'small', 'xsmall-full', 'xsmall-compact'); + CREATE TYPE "public"."enum_insights_blocks_hero_bg" AS ENUM('default', 'lighter', 'primary'); + CREATE TYPE "public"."enum_insights_blocks_text_only_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_insights_blocks_text_only_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_insights_blocks_text_image_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_insights_blocks_text_image_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_insights_blocks_news_feed_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_insights_blocks_support_channels_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_insights_blocks_text_use_case_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_insights_blocks_text_statistic_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_insights_blocks_card_link_list_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_webinar_items_blocks_hero_variant" AS ENUM('default', 'small', 'xsmall-full', 'xsmall-compact'); + CREATE TYPE "public"."enum_webinar_items_blocks_hero_bg" AS ENUM('default', 'lighter', 'primary'); + CREATE TYPE "public"."enum_story_items_blocks_hero_variant" AS ENUM('default', 'small', 'xsmall-full', 'xsmall-compact'); + CREATE TYPE "public"."enum_story_items_blocks_hero_bg" AS ENUM('default', 'lighter', 'primary'); + CREATE TYPE "public"."enum_story_items_blocks_faq_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_text_only_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_text_only_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_story_items_blocks_structured_text_block_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_text_image_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_text_image_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_story_items_blocks_support_channels_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_text_accordion_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_support_cta_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_text_use_case_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_text_statistic_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_story_items_blocks_card_link_list_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_catalogues_blocks_hero_variant" AS ENUM('default', 'small', 'xsmall-full', 'xsmall-compact'); + CREATE TYPE "public"."enum_catalogues_blocks_hero_bg" AS ENUM('default', 'lighter', 'primary'); + CREATE TYPE "public"."enum_catalogues_blocks_text_only_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_catalogues_blocks_text_only_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_homepage_blocks_hero_variant" AS ENUM('default', 'small', 'xsmall-full', 'xsmall-compact'); + CREATE TYPE "public"."enum_homepage_blocks_hero_bg" AS ENUM('default', 'lighter', 'primary'); + CREATE TYPE "public"."enum_homepage_blocks_text_only_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_homepage_blocks_text_only_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_homepage_blocks_text_image_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_homepage_blocks_text_image_heading" AS ENUM('h2', 'h3', 'h4', 'h5'); + CREATE TYPE "public"."enum_homepage_blocks_news_feed_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_homepage_blocks_support_channels_section_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_homepage_blocks_text_use_case_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_homepage_blocks_text_statistic_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_homepage_blocks_card_link_list_bg" AS ENUM('default', 'lighter', 'primary-light', 'primary', 'dark'); + CREATE TYPE "public"."enum_search_blocks_hero_variant" AS ENUM('default', 'small', 'xsmall-full', 'xsmall-compact'); + CREATE TYPE "public"."enum_search_blocks_hero_bg" AS ENUM('default', 'lighter', 'primary'); + CREATE TABLE "users_sessions" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "created_at" timestamp(3) with time zone, + "expires_at" timestamp(3) with time zone NOT NULL + ); + + CREATE TABLE "users" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "enable_a_p_i_key" boolean, + "api_key" varchar, + "api_key_index" varchar, + "email" varchar NOT NULL, + "reset_password_token" varchar, + "reset_password_expiration" timestamp(3) with time zone, + "salt" varchar, + "hash" varchar, + "login_attempts" numeric DEFAULT 0, + "lock_until" timestamp(3) with time zone + ); + + CREATE TABLE "media" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "alt" varchar NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "url" varchar, + "thumbnail_u_r_l" varchar, + "filename" varchar, + "mime_type" varchar, + "filesize" numeric, + "width" numeric, + "height" numeric, + "focal_x" numeric, + "focal_y" numeric + ); + + CREATE TABLE "article_topics" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "article_topics_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "news_topics" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "news_topics_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "story_topics" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "story_topics_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "insight_topics" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "insight_topics_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "resource_topics" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "resource_topics_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "webinar_topics" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "webinar_topics_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "macro_topics" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "macro_topics_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "story_classes" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "sort" varchar, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "story_classes_locales" ( + "label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "webinar_authors" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "name" varchar NOT NULL, + "photo_id" uuid NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "webinar_authors_locales" ( + "role" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "chart_elements" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "title" varchar NOT NULL, + "chart_data" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "kpi_elements" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "title" varchar NOT NULL, + "value" varchar, + "value_prefix" varchar, + "value_suffix" varchar, + "show_flow" boolean, + "flow_direction" varchar, + "flow_value" varchar, + "flow_detail" varchar, + "percentage" varchar, + "footer_text" varchar, + "open_data_path" varchar, + "background_color" varchar, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "news_items" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "image_id" uuid NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "news_items_locales" ( + "title" varchar NOT NULL, + "link" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "topic_id" uuid NOT NULL, + "date_of_publication" timestamp(3) with time zone NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "resources_blocks_download_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "doc_id" uuid NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "resources_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "resources" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "resources_locales" ( + "type_resource_id" uuid NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "resources_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "resource_topics_id" uuid + ); + + CREATE TABLE "pages_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_hero" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" "enum_pages_blocks_hero_variant", + "bg" "enum_pages_blocks_hero_bg", + "background_image_id" uuid, + "background_image_for_mobile_id" uuid, + "show_breadcrumb" boolean, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_accordion_item" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "header" varchar NOT NULL, + "body" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_accordion" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_accordion_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_faq_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_pages_blocks_faq_section_bg" NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_internal_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_only" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_pages_blocks_text_only_bg" NOT NULL, + "heading" "enum_pages_blocks_text_only_heading", + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_structured_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_pages_blocks_structured_text_block_bg", + "content" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_highlight" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "image_id" uuid NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_settings_chart" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "subtitle" varchar, + "footer_text" varchar, + "info" jsonb, + "select_chart_id" uuid, + "download_data" boolean, + "download_image" boolean, + "show_share" boolean, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_panel" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_list_item" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_result" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" varchar NOT NULL, + "title_list_use_cases" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_data_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_internal_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_block_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_card_editorial_with_icon" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_additional_content" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_image" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" varchar NOT NULL, + "bg" "enum_pages_blocks_text_image_bg" NOT NULL, + "heading" "enum_pages_blocks_text_image_heading", + "image_id" uuid, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_news_tab" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_story_tab" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_internal_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_news_feed" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_pages_blocks_news_feed_bg", + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_channel" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "link_to" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_support_channels_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "bg" "enum_pages_blocks_support_channels_section_bg", + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_internal_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_block_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_accordion_item_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "header" varchar NOT NULL, + "body" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_accordion_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_accordion_block_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_accordion" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_pages_blocks_text_accordion_bg" NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_internal_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link_7" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_support_cta_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" varchar NOT NULL, + "image_id" uuid NOT NULL, + "bg" "enum_pages_blocks_support_cta_section_bg", + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_internal_link_7" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_external_link_8" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_block_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_data_container" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "info" varchar NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_statistic_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_text_statistic" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_pages_blocks_text_statistic_bg" NOT NULL, + "show_inline" boolean, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_list_collection" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_topic_filter" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "title_filter" varchar NOT NULL, + "label_for_all" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_link_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "external_url" varchar, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_card_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "image_id" uuid NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_card_link_list" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "show_inline_card" boolean, + "bg" "enum_pages_blocks_card_link_list_bg" NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "pages_blocks_use_case_container" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "pages" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "seo_image_id" uuid, + "localized_slugs" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "pages_locales" ( + "title" varchar NOT NULL, + "slug" varchar NOT NULL, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "pages_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid, + "kpi_elements_id" uuid, + "news_items_id" uuid + ); + + CREATE TABLE "articles_blocks_topics_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "articles" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "seo_image_id" uuid, + "localized_slugs" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "articles_locales" ( + "parent_id" uuid, + "title" varchar NOT NULL, + "paragraph" jsonb, + "slug" varchar NOT NULL, + "image_id" uuid, + "content" jsonb, + "description_title" varchar, + "description" jsonb, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "articles_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "article_topics_id" uuid, + "news_topics_id" uuid, + "story_topics_id" uuid, + "insight_topics_id" uuid, + "resource_topics_id" uuid, + "webinar_topics_id" uuid + ); + + CREATE TABLE "insights_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_hero" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" "enum_insights_blocks_hero_variant", + "bg" "enum_insights_blocks_hero_bg", + "background_image_id" uuid, + "background_image_for_mobile_id" uuid, + "show_breadcrumb" boolean, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_internal_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_external_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_only" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_insights_blocks_text_only_bg" NOT NULL, + "heading" "enum_insights_blocks_text_only_heading", + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_internal_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_external_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_block_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_card_editorial_with_icon" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_additional_content" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_image" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" varchar NOT NULL, + "bg" "enum_insights_blocks_text_image_bg" NOT NULL, + "heading" "enum_insights_blocks_text_image_heading", + "image_id" uuid, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_news_tab" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_story_tab" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_internal_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_external_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_news_feed" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_insights_blocks_news_feed_bg", + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_channel" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "link_to" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_support_channels_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "bg" "enum_insights_blocks_support_channels_section_bg", + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_internal_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_external_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_block_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_use_case_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_use_case" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_insights_blocks_text_use_case_bg" NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_internal_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_external_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_block_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_data_container" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "info" varchar NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_statistic_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_text_statistic" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_insights_blocks_text_statistic_bg" NOT NULL, + "show_inline" boolean, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_link_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "external_url" varchar, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_card_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "image_id" uuid NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "insights_blocks_card_link_list" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "show_inline_card" boolean, + "bg" "enum_insights_blocks_card_link_list_bg" NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "insights" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "seo_image_id" uuid, + "localized_slugs" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "insights_locales" ( + "parent_id" uuid, + "title" varchar NOT NULL, + "image_id" uuid NOT NULL, + "slug" varchar NOT NULL, + "abstract" jsonb NOT NULL, + "topic_id" uuid, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "insights_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid, + "news_items_id" uuid, + "kpi_elements_id" uuid + ); + + CREATE TABLE "webinar_items_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_hero" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" "enum_webinar_items_blocks_hero_variant", + "bg" "enum_webinar_items_blocks_hero_bg", + "background_image_id" uuid, + "background_image_for_mobile_id" uuid, + "show_breadcrumb" boolean, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_download_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "doc_id" uuid NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_action_card" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "category" varchar, + "paragraph" jsonb NOT NULL, + "read_more_label" varchar NOT NULL, + "read_less_label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_internal_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_external_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_author_list" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_speaker" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_internal_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_external_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_text_block_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_list_item" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_feature_list" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_quick_link_card" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items_blocks_webinar_description" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "webinar_items" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "image_id" uuid NOT NULL, + "event_body" jsonb, + "seo_image_id" uuid, + "localized_slugs" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "webinar_items_locales" ( + "slug" varchar NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "parent_id" uuid, + "date" timestamp(3) with time zone NOT NULL, + "topic_id" uuid NOT NULL, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "webinar_items_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid, + "webinar_authors_id" uuid + ); + + CREATE TABLE "story_items_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_hero" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" "enum_story_items_blocks_hero_variant", + "bg" "enum_story_items_blocks_hero_bg", + "background_image_id" uuid, + "background_image_for_mobile_id" uuid, + "show_breadcrumb" boolean, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_accordion_item" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "header" varchar NOT NULL, + "body" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_accordion" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_accordion_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_faq_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_story_items_blocks_faq_section_bg" NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_internal_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_external_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_only" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_story_items_blocks_text_only_bg" NOT NULL, + "heading" "enum_story_items_blocks_text_only_heading", + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_structured_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_story_items_blocks_structured_text_block_bg", + "content" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_internal_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_external_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_block_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_card_editorial_with_icon" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_additional_content" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_image" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" varchar NOT NULL, + "bg" "enum_story_items_blocks_text_image_bg" NOT NULL, + "heading" "enum_story_items_blocks_text_image_heading", + "image_id" uuid, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_channel" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "link_to" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_support_channels_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "bg" "enum_story_items_blocks_support_channels_section_bg", + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_internal_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_external_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_block_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_accordion_item_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "header" varchar NOT NULL, + "body" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_accordion_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_accordion_block_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_accordion" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_story_items_blocks_text_accordion_bg" NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_list_collection" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_internal_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_external_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_support_cta_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" varchar NOT NULL, + "image_id" uuid NOT NULL, + "bg" "enum_story_items_blocks_support_cta_section_bg", + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_internal_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_external_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_block_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_use_case_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_use_case" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_story_items_blocks_text_use_case_bg" NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_internal_link_7" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_external_link_7" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_block_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_data_container" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "info" varchar NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_statistic_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_text_statistic" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_story_items_blocks_text_statistic_bg" NOT NULL, + "show_inline" boolean, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_link_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "external_url" varchar, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_card_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "image_id" uuid NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "story_items_blocks_card_link_list" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "show_inline_card" boolean, + "bg" "enum_story_items_blocks_card_link_list_bg" NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "story_items" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "story_type" varchar, + "image_id" uuid NOT NULL, + "seo_image_id" uuid, + "localized_slugs" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "story_items_locales" ( + "parent_id" uuid, + "title" varchar NOT NULL, + "paragraph" jsonb, + "article_classification_id" uuid, + "slug" varchar NOT NULL, + "topic_id" uuid NOT NULL, + "date_of_publication" timestamp(3) with time zone, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "story_items_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid, + "kpi_elements_id" uuid + ); + + CREATE TABLE "catalogues_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_hero" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" "enum_catalogues_blocks_hero_variant", + "bg" "enum_catalogues_blocks_hero_bg", + "background_image_id" uuid, + "background_image_for_mobile_id" uuid, + "show_breadcrumb" boolean, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_internal_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_external_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_text_only" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_catalogues_blocks_text_only_bg" NOT NULL, + "heading" "enum_catalogues_blocks_text_only_heading", + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_external_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_callout_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_catalogue_tab" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "filter_title" varchar NOT NULL, + "label_for_all" varchar NOT NULL, + "news_page_tab_type" varchar NOT NULL, + "filter_story_id" uuid, + "element_per_page" numeric, + "block_name" varchar + ); + + CREATE TABLE "catalogues_blocks_catalogue_feed" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "catalogues" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "seo_image_id" uuid, + "localized_slugs" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "catalogues_locales" ( + "title" varchar NOT NULL, + "parent_id" uuid, + "slug" varchar NOT NULL, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "catalogues_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid + ); + + CREATE TABLE "payload_kv" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "key" varchar NOT NULL, + "data" jsonb NOT NULL + ); + + CREATE TABLE "payload_locked_documents" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "global_slug" varchar, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "payload_locked_documents_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "users_id" uuid, + "media_id" uuid, + "article_topics_id" uuid, + "news_topics_id" uuid, + "story_topics_id" uuid, + "insight_topics_id" uuid, + "resource_topics_id" uuid, + "webinar_topics_id" uuid, + "macro_topics_id" uuid, + "story_classes_id" uuid, + "webinar_authors_id" uuid, + "chart_elements_id" uuid, + "kpi_elements_id" uuid, + "news_items_id" uuid, + "resources_id" uuid, + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid + ); + + CREATE TABLE "payload_preferences" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "key" varchar, + "value" jsonb, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "payload_preferences_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "users_id" uuid + ); + + CREATE TABLE "payload_migrations" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "name" varchar, + "batch" numeric, + "updated_at" timestamp(3) with time zone DEFAULT now() NOT NULL, + "created_at" timestamp(3) with time zone DEFAULT now() NOT NULL + ); + + CREATE TABLE "layout_blocks_brand" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "main_logo" varchar NOT NULL, + "brand_logo" varchar NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_brand_header" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "short_label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_supporting_brand" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "brand_logo" varchar NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_internal_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_mailing_list_signup_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_menu_item" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_menu_item_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout_blocks_mega_menu_item" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "subtitle" varchar NOT NULL, + "image_id" uuid NOT NULL, + "caption" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "layout" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "variant" varchar NOT NULL, + "logo_select" varchar NOT NULL, + "site_name" varchar NOT NULL, + "show_sitemap_link" boolean, + "updated_at" timestamp(3) with time zone, + "created_at" timestamp(3) with time zone + ); + + CREATE TABLE "layout_locales" ( + "heading" jsonb NOT NULL, + "topic_title" varchar NOT NULL, + "utility_title" varchar NOT NULL, + "tagline" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "layout_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid + ); + + CREATE TABLE "homepage_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_hero" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" "enum_homepage_blocks_hero_variant", + "bg" "enum_homepage_blocks_hero_bg", + "background_image_id" uuid, + "background_image_for_mobile_id" uuid, + "show_breadcrumb" boolean, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_internal_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_external_link_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_only" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_homepage_blocks_text_only_bg" NOT NULL, + "heading" "enum_homepage_blocks_text_only_heading", + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_internal_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_external_link_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_block_2" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_card_editorial_with_icon" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_additional_content" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_image" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" varchar NOT NULL, + "bg" "enum_homepage_blocks_text_image_bg" NOT NULL, + "heading" "enum_homepage_blocks_text_image_heading", + "image_id" uuid, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_news_tab" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_story_tab" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_internal_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_external_link_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_news_feed" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_homepage_blocks_news_feed_bg", + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_channel" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "description" jsonb NOT NULL, + "icon_select" varchar NOT NULL, + "link_to" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_support_channels_section" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "bg" "enum_homepage_blocks_support_channels_section_bg", + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_internal_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_external_link_5" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_block_3" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_use_case_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_use_case" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_homepage_blocks_text_use_case_bg" NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_internal_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_external_link_6" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_block_4" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_data_container" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "info" varchar NOT NULL, + "icon_select" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_statistic_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_text_statistic" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "bg" "enum_homepage_blocks_text_statistic_bg" NOT NULL, + "show_inline" boolean, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_link_block" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "external_url" varchar, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_card_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "image_id" uuid NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "homepage_blocks_card_link_list" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "show_inline_card" boolean, + "bg" "enum_homepage_blocks_card_link_list_bg" NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "homepage" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "seo_image_id" uuid, + "updated_at" timestamp(3) with time zone, + "created_at" timestamp(3) with time zone + ); + + CREATE TABLE "homepage_locales" ( + "title" varchar NOT NULL, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "homepage_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid, + "news_items_id" uuid, + "kpi_elements_id" uuid + ); + + CREATE TABLE "search_blocks_internal_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "search_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "search_blocks_hero" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "variant" "enum_search_blocks_hero_variant", + "bg" "enum_search_blocks_hero_bg", + "background_image_id" uuid, + "background_image_for_mobile_id" uuid, + "show_breadcrumb" boolean, + "title" varchar NOT NULL, + "paragraph" jsonb, + "block_name" varchar + ); + + CREATE TABLE "search_blocks_search_bar" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "title" varchar NOT NULL, + "label_button" varchar NOT NULL, + "label_for_all_result" varchar NOT NULL, + "label_for_no_result" varchar NOT NULL, + "input_placeholder" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "search" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "is_search_enabled" boolean, + "seo_image_id" uuid, + "updated_at" timestamp(3) with time zone, + "created_at" timestamp(3) with time zone + ); + + CREATE TABLE "search_locales" ( + "search_label" varchar NOT NULL, + "title" varchar NOT NULL, + "slug" varchar NOT NULL, + "seo_title" varchar, + "seo_description" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "search_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid + ); + + CREATE TABLE "global_setting_blocks_external_link" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "url" varchar NOT NULL, + "description" varchar, + "block_name" varchar + ); + + CREATE TABLE "global_setting" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "image_id" uuid NOT NULL, + "updated_at" timestamp(3) with time zone, + "created_at" timestamp(3) with time zone + ); + + CREATE TABLE "global_setting_locales" ( + "last_update_label" varchar NOT NULL, + "title" varchar NOT NULL, + "paragraph" jsonb, + "site_name" varchar NOT NULL, + "label_cta" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "sidebar_for_article_blocks_menu_article_item" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "sidebar_for_article_blocks_accordion_menu" ( + "_order" integer NOT NULL, + "_parent_id" uuid NOT NULL, + "_path" text NOT NULL, + "_locale" "_locales" NOT NULL, + "id" varchar PRIMARY KEY NOT NULL, + "label" varchar NOT NULL, + "block_name" varchar + ); + + CREATE TABLE "sidebar_for_article" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "updated_at" timestamp(3) with time zone, + "created_at" timestamp(3) with time zone + ); + + CREATE TABLE "sidebar_for_article_locales" ( + "header_label" varchar, + "open_label" varchar NOT NULL, + "close_label" varchar NOT NULL, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + CREATE TABLE "sidebar_for_article_rels" ( + "id" serial PRIMARY KEY NOT NULL, + "order" integer, + "parent_id" uuid NOT NULL, + "path" varchar NOT NULL, + "locale" "_locales", + "pages_id" uuid, + "articles_id" uuid, + "insights_id" uuid, + "webinar_items_id" uuid, + "story_items_id" uuid, + "catalogues_id" uuid + ); + + CREATE TABLE "seo_default" ( + "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, + "og_image_id" uuid NOT NULL, + "favicon_id" uuid NOT NULL, + "updated_at" timestamp(3) with time zone, + "created_at" timestamp(3) with time zone + ); + + CREATE TABLE "seo_default_locales" ( + "site_name" varchar NOT NULL, + "fallback_title" varchar NOT NULL, + "fallback_description" varchar NOT NULL, + "title_suffix" varchar, + "id" serial PRIMARY KEY NOT NULL, + "_locale" "_locales" NOT NULL, + "_parent_id" uuid NOT NULL + ); + + ALTER TABLE "users_sessions" ADD CONSTRAINT "users_sessions_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "article_topics_locales" ADD CONSTRAINT "article_topics_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."article_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "news_topics_locales" ADD CONSTRAINT "news_topics_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."news_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_topics_locales" ADD CONSTRAINT "story_topics_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insight_topics_locales" ADD CONSTRAINT "insight_topics_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insight_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "resource_topics_locales" ADD CONSTRAINT "resource_topics_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."resource_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_topics_locales" ADD CONSTRAINT "webinar_topics_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "macro_topics_locales" ADD CONSTRAINT "macro_topics_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."macro_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_classes_locales" ADD CONSTRAINT "story_classes_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_classes"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_authors" ADD CONSTRAINT "webinar_authors_photo_id_media_id_fk" FOREIGN KEY ("photo_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_authors_locales" ADD CONSTRAINT "webinar_authors_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_authors"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "news_items" ADD CONSTRAINT "news_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "news_items_locales" ADD CONSTRAINT "news_items_locales_topic_id_news_topics_id_fk" FOREIGN KEY ("topic_id") REFERENCES "public"."news_topics"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "news_items_locales" ADD CONSTRAINT "news_items_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."news_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "resources_blocks_download_link" ADD CONSTRAINT "resources_blocks_download_link_doc_id_media_id_fk" FOREIGN KEY ("doc_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "resources_blocks_download_link" ADD CONSTRAINT "resources_blocks_download_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."resources"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "resources_blocks_external_link" ADD CONSTRAINT "resources_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."resources"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "resources_locales" ADD CONSTRAINT "resources_locales_type_resource_id_resource_topics_id_fk" FOREIGN KEY ("type_resource_id") REFERENCES "public"."resource_topics"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "resources_locales" ADD CONSTRAINT "resources_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."resources"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "resources_rels" ADD CONSTRAINT "resources_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."resources"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "resources_rels" ADD CONSTRAINT "resources_rels_resource_topics_fk" FOREIGN KEY ("resource_topics_id") REFERENCES "public"."resource_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_internal_link" ADD CONSTRAINT "pages_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link" ADD CONSTRAINT "pages_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_hero" ADD CONSTRAINT "pages_blocks_hero_background_image_id_media_id_fk" FOREIGN KEY ("background_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_hero" ADD CONSTRAINT "pages_blocks_hero_background_image_for_mobile_id_media_id_fk" FOREIGN KEY ("background_image_for_mobile_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_hero" ADD CONSTRAINT "pages_blocks_hero_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_accordion_item" ADD CONSTRAINT "pages_blocks_accordion_item_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_accordion" ADD CONSTRAINT "pages_blocks_accordion_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_accordion_block" ADD CONSTRAINT "pages_blocks_accordion_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_faq_section" ADD CONSTRAINT "pages_blocks_faq_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_internal_link_2" ADD CONSTRAINT "pages_blocks_internal_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link_2" ADD CONSTRAINT "pages_blocks_external_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_block" ADD CONSTRAINT "pages_blocks_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_only" ADD CONSTRAINT "pages_blocks_text_only_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_structured_text_block" ADD CONSTRAINT "pages_blocks_structured_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_highlight" ADD CONSTRAINT "pages_blocks_highlight_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_highlight" ADD CONSTRAINT "pages_blocks_highlight_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_settings_chart" ADD CONSTRAINT "pages_blocks_settings_chart_select_chart_id_chart_elements_id_fk" FOREIGN KEY ("select_chart_id") REFERENCES "public"."chart_elements"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_settings_chart" ADD CONSTRAINT "pages_blocks_settings_chart_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link_3" ADD CONSTRAINT "pages_blocks_external_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_panel" ADD CONSTRAINT "pages_blocks_panel_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_list_item" ADD CONSTRAINT "pages_blocks_list_item_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_result" ADD CONSTRAINT "pages_blocks_result_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_data_section" ADD CONSTRAINT "pages_blocks_data_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_internal_link_3" ADD CONSTRAINT "pages_blocks_internal_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link_4" ADD CONSTRAINT "pages_blocks_external_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_block_2" ADD CONSTRAINT "pages_blocks_text_block_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_card_editorial_with_icon" ADD CONSTRAINT "pages_blocks_card_editorial_with_icon_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_additional_content" ADD CONSTRAINT "pages_blocks_additional_content_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_image" ADD CONSTRAINT "pages_blocks_text_image_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_text_image" ADD CONSTRAINT "pages_blocks_text_image_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_news_tab" ADD CONSTRAINT "pages_blocks_news_tab_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_story_tab" ADD CONSTRAINT "pages_blocks_story_tab_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_internal_link_4" ADD CONSTRAINT "pages_blocks_internal_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link_5" ADD CONSTRAINT "pages_blocks_external_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_news_feed" ADD CONSTRAINT "pages_blocks_news_feed_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_channel" ADD CONSTRAINT "pages_blocks_channel_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_support_channels_section" ADD CONSTRAINT "pages_blocks_support_channels_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_internal_link_5" ADD CONSTRAINT "pages_blocks_internal_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link_6" ADD CONSTRAINT "pages_blocks_external_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_block_3" ADD CONSTRAINT "pages_blocks_text_block_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_accordion_item_2" ADD CONSTRAINT "pages_blocks_accordion_item_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_accordion_2" ADD CONSTRAINT "pages_blocks_accordion_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_accordion_block_2" ADD CONSTRAINT "pages_blocks_accordion_block_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_accordion" ADD CONSTRAINT "pages_blocks_text_accordion_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_internal_link_6" ADD CONSTRAINT "pages_blocks_internal_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link_7" ADD CONSTRAINT "pages_blocks_external_link_7_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_support_cta_section" ADD CONSTRAINT "pages_blocks_support_cta_section_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_support_cta_section" ADD CONSTRAINT "pages_blocks_support_cta_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_internal_link_7" ADD CONSTRAINT "pages_blocks_internal_link_7_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_external_link_8" ADD CONSTRAINT "pages_blocks_external_link_8_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_block_4" ADD CONSTRAINT "pages_blocks_text_block_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_data_container" ADD CONSTRAINT "pages_blocks_data_container_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_statistic_block" ADD CONSTRAINT "pages_blocks_statistic_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_text_statistic" ADD CONSTRAINT "pages_blocks_text_statistic_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_list_collection" ADD CONSTRAINT "pages_blocks_list_collection_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_topic_filter" ADD CONSTRAINT "pages_blocks_topic_filter_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_link_block" ADD CONSTRAINT "pages_blocks_link_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_card_link" ADD CONSTRAINT "pages_blocks_card_link_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_blocks_card_link" ADD CONSTRAINT "pages_blocks_card_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_card_link_list" ADD CONSTRAINT "pages_blocks_card_link_list_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_blocks_use_case_container" ADD CONSTRAINT "pages_blocks_use_case_container_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages" ADD CONSTRAINT "pages_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "pages_locales" ADD CONSTRAINT "pages_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_kpi_elements_fk" FOREIGN KEY ("kpi_elements_id") REFERENCES "public"."kpi_elements"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "pages_rels" ADD CONSTRAINT "pages_rels_news_items_fk" FOREIGN KEY ("news_items_id") REFERENCES "public"."news_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_blocks_topics_block" ADD CONSTRAINT "articles_blocks_topics_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles" ADD CONSTRAINT "articles_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "articles_locales" ADD CONSTRAINT "articles_locales_parent_id_pages_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."pages"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "articles_locales" ADD CONSTRAINT "articles_locales_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "articles_locales" ADD CONSTRAINT "articles_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_rels" ADD CONSTRAINT "articles_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_rels" ADD CONSTRAINT "articles_rels_article_topics_fk" FOREIGN KEY ("article_topics_id") REFERENCES "public"."article_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_rels" ADD CONSTRAINT "articles_rels_news_topics_fk" FOREIGN KEY ("news_topics_id") REFERENCES "public"."news_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_rels" ADD CONSTRAINT "articles_rels_story_topics_fk" FOREIGN KEY ("story_topics_id") REFERENCES "public"."story_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_rels" ADD CONSTRAINT "articles_rels_insight_topics_fk" FOREIGN KEY ("insight_topics_id") REFERENCES "public"."insight_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_rels" ADD CONSTRAINT "articles_rels_resource_topics_fk" FOREIGN KEY ("resource_topics_id") REFERENCES "public"."resource_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "articles_rels" ADD CONSTRAINT "articles_rels_webinar_topics_fk" FOREIGN KEY ("webinar_topics_id") REFERENCES "public"."webinar_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_internal_link" ADD CONSTRAINT "insights_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_external_link" ADD CONSTRAINT "insights_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_hero" ADD CONSTRAINT "insights_blocks_hero_background_image_id_media_id_fk" FOREIGN KEY ("background_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_blocks_hero" ADD CONSTRAINT "insights_blocks_hero_background_image_for_mobile_id_media_id_fk" FOREIGN KEY ("background_image_for_mobile_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_blocks_hero" ADD CONSTRAINT "insights_blocks_hero_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_internal_link_2" ADD CONSTRAINT "insights_blocks_internal_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_external_link_2" ADD CONSTRAINT "insights_blocks_external_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_block" ADD CONSTRAINT "insights_blocks_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_only" ADD CONSTRAINT "insights_blocks_text_only_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_internal_link_3" ADD CONSTRAINT "insights_blocks_internal_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_external_link_3" ADD CONSTRAINT "insights_blocks_external_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_block_2" ADD CONSTRAINT "insights_blocks_text_block_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_card_editorial_with_icon" ADD CONSTRAINT "insights_blocks_card_editorial_with_icon_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_additional_content" ADD CONSTRAINT "insights_blocks_additional_content_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_image" ADD CONSTRAINT "insights_blocks_text_image_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_blocks_text_image" ADD CONSTRAINT "insights_blocks_text_image_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_news_tab" ADD CONSTRAINT "insights_blocks_news_tab_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_story_tab" ADD CONSTRAINT "insights_blocks_story_tab_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_internal_link_4" ADD CONSTRAINT "insights_blocks_internal_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_external_link_4" ADD CONSTRAINT "insights_blocks_external_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_news_feed" ADD CONSTRAINT "insights_blocks_news_feed_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_channel" ADD CONSTRAINT "insights_blocks_channel_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_support_channels_section" ADD CONSTRAINT "insights_blocks_support_channels_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_internal_link_5" ADD CONSTRAINT "insights_blocks_internal_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_external_link_5" ADD CONSTRAINT "insights_blocks_external_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_block_3" ADD CONSTRAINT "insights_blocks_text_block_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_use_case_block" ADD CONSTRAINT "insights_blocks_use_case_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_use_case" ADD CONSTRAINT "insights_blocks_text_use_case_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_internal_link_6" ADD CONSTRAINT "insights_blocks_internal_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_external_link_6" ADD CONSTRAINT "insights_blocks_external_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_block_4" ADD CONSTRAINT "insights_blocks_text_block_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_data_container" ADD CONSTRAINT "insights_blocks_data_container_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_statistic_block" ADD CONSTRAINT "insights_blocks_statistic_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_text_statistic" ADD CONSTRAINT "insights_blocks_text_statistic_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_link_block" ADD CONSTRAINT "insights_blocks_link_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_card_link" ADD CONSTRAINT "insights_blocks_card_link_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_blocks_card_link" ADD CONSTRAINT "insights_blocks_card_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_blocks_card_link_list" ADD CONSTRAINT "insights_blocks_card_link_list_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights" ADD CONSTRAINT "insights_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_locales" ADD CONSTRAINT "insights_locales_parent_id_pages_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."pages"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_locales" ADD CONSTRAINT "insights_locales_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_locales" ADD CONSTRAINT "insights_locales_topic_id_insight_topics_id_fk" FOREIGN KEY ("topic_id") REFERENCES "public"."insight_topics"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "insights_locales" ADD CONSTRAINT "insights_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_news_items_fk" FOREIGN KEY ("news_items_id") REFERENCES "public"."news_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "insights_rels" ADD CONSTRAINT "insights_rels_kpi_elements_fk" FOREIGN KEY ("kpi_elements_id") REFERENCES "public"."kpi_elements"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_internal_link" ADD CONSTRAINT "webinar_items_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_external_link" ADD CONSTRAINT "webinar_items_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_hero" ADD CONSTRAINT "webinar_items_blocks_hero_background_image_id_media_id_fk" FOREIGN KEY ("background_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_hero" ADD CONSTRAINT "webinar_items_blocks_hero_background_image_for_mobile_id_media_id_fk" FOREIGN KEY ("background_image_for_mobile_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_hero" ADD CONSTRAINT "webinar_items_blocks_hero_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_download_link" ADD CONSTRAINT "webinar_items_blocks_download_link_doc_id_media_id_fk" FOREIGN KEY ("doc_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_download_link" ADD CONSTRAINT "webinar_items_blocks_download_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_action_card" ADD CONSTRAINT "webinar_items_blocks_action_card_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_internal_link_2" ADD CONSTRAINT "webinar_items_blocks_internal_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_external_link_2" ADD CONSTRAINT "webinar_items_blocks_external_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_text_block" ADD CONSTRAINT "webinar_items_blocks_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_author_list" ADD CONSTRAINT "webinar_items_blocks_author_list_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_speaker" ADD CONSTRAINT "webinar_items_blocks_speaker_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_internal_link_3" ADD CONSTRAINT "webinar_items_blocks_internal_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_external_link_3" ADD CONSTRAINT "webinar_items_blocks_external_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_text_block_2" ADD CONSTRAINT "webinar_items_blocks_text_block_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_list_item" ADD CONSTRAINT "webinar_items_blocks_list_item_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_feature_list" ADD CONSTRAINT "webinar_items_blocks_feature_list_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_quick_link_card" ADD CONSTRAINT "webinar_items_blocks_quick_link_card_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_blocks_webinar_description" ADD CONSTRAINT "webinar_items_blocks_webinar_description_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items" ADD CONSTRAINT "webinar_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_items" ADD CONSTRAINT "webinar_items_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_items_locales" ADD CONSTRAINT "webinar_items_locales_parent_id_pages_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."pages"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_items_locales" ADD CONSTRAINT "webinar_items_locales_topic_id_webinar_topics_id_fk" FOREIGN KEY ("topic_id") REFERENCES "public"."webinar_topics"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "webinar_items_locales" ADD CONSTRAINT "webinar_items_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "webinar_items_rels" ADD CONSTRAINT "webinar_items_rels_webinar_authors_fk" FOREIGN KEY ("webinar_authors_id") REFERENCES "public"."webinar_authors"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_internal_link" ADD CONSTRAINT "story_items_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_external_link" ADD CONSTRAINT "story_items_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_hero" ADD CONSTRAINT "story_items_blocks_hero_background_image_id_media_id_fk" FOREIGN KEY ("background_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_blocks_hero" ADD CONSTRAINT "story_items_blocks_hero_background_image_for_mobile_id_media_id_fk" FOREIGN KEY ("background_image_for_mobile_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_blocks_hero" ADD CONSTRAINT "story_items_blocks_hero_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_accordion_item" ADD CONSTRAINT "story_items_blocks_accordion_item_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_accordion" ADD CONSTRAINT "story_items_blocks_accordion_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_accordion_block" ADD CONSTRAINT "story_items_blocks_accordion_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_faq_section" ADD CONSTRAINT "story_items_blocks_faq_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_internal_link_2" ADD CONSTRAINT "story_items_blocks_internal_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_external_link_2" ADD CONSTRAINT "story_items_blocks_external_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_block" ADD CONSTRAINT "story_items_blocks_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_only" ADD CONSTRAINT "story_items_blocks_text_only_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_structured_text_block" ADD CONSTRAINT "story_items_blocks_structured_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_internal_link_3" ADD CONSTRAINT "story_items_blocks_internal_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_external_link_3" ADD CONSTRAINT "story_items_blocks_external_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_block_2" ADD CONSTRAINT "story_items_blocks_text_block_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_card_editorial_with_icon" ADD CONSTRAINT "story_items_blocks_card_editorial_with_icon_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_additional_content" ADD CONSTRAINT "story_items_blocks_additional_content_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_image" ADD CONSTRAINT "story_items_blocks_text_image_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_image" ADD CONSTRAINT "story_items_blocks_text_image_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_channel" ADD CONSTRAINT "story_items_blocks_channel_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_support_channels_section" ADD CONSTRAINT "story_items_blocks_support_channels_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_internal_link_4" ADD CONSTRAINT "story_items_blocks_internal_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_external_link_4" ADD CONSTRAINT "story_items_blocks_external_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_block_3" ADD CONSTRAINT "story_items_blocks_text_block_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_accordion_item_2" ADD CONSTRAINT "story_items_blocks_accordion_item_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_accordion_2" ADD CONSTRAINT "story_items_blocks_accordion_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_accordion_block_2" ADD CONSTRAINT "story_items_blocks_accordion_block_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_accordion" ADD CONSTRAINT "story_items_blocks_text_accordion_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_list_collection" ADD CONSTRAINT "story_items_blocks_list_collection_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_internal_link_5" ADD CONSTRAINT "story_items_blocks_internal_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_external_link_5" ADD CONSTRAINT "story_items_blocks_external_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_support_cta_section" ADD CONSTRAINT "story_items_blocks_support_cta_section_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_blocks_support_cta_section" ADD CONSTRAINT "story_items_blocks_support_cta_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_internal_link_6" ADD CONSTRAINT "story_items_blocks_internal_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_external_link_6" ADD CONSTRAINT "story_items_blocks_external_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_block_4" ADD CONSTRAINT "story_items_blocks_text_block_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_use_case_block" ADD CONSTRAINT "story_items_blocks_use_case_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_use_case" ADD CONSTRAINT "story_items_blocks_text_use_case_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_internal_link_7" ADD CONSTRAINT "story_items_blocks_internal_link_7_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_external_link_7" ADD CONSTRAINT "story_items_blocks_external_link_7_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_block_5" ADD CONSTRAINT "story_items_blocks_text_block_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_data_container" ADD CONSTRAINT "story_items_blocks_data_container_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_statistic_block" ADD CONSTRAINT "story_items_blocks_statistic_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_text_statistic" ADD CONSTRAINT "story_items_blocks_text_statistic_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_link_block" ADD CONSTRAINT "story_items_blocks_link_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_card_link" ADD CONSTRAINT "story_items_blocks_card_link_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_blocks_card_link" ADD CONSTRAINT "story_items_blocks_card_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_blocks_card_link_list" ADD CONSTRAINT "story_items_blocks_card_link_list_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items" ADD CONSTRAINT "story_items_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items" ADD CONSTRAINT "story_items_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_locales" ADD CONSTRAINT "story_items_locales_parent_id_pages_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."pages"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_locales" ADD CONSTRAINT "story_items_locales_article_classification_id_story_classes_id_fk" FOREIGN KEY ("article_classification_id") REFERENCES "public"."story_classes"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_locales" ADD CONSTRAINT "story_items_locales_topic_id_story_topics_id_fk" FOREIGN KEY ("topic_id") REFERENCES "public"."story_topics"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "story_items_locales" ADD CONSTRAINT "story_items_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "story_items_rels" ADD CONSTRAINT "story_items_rels_kpi_elements_fk" FOREIGN KEY ("kpi_elements_id") REFERENCES "public"."kpi_elements"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_internal_link" ADD CONSTRAINT "catalogues_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_external_link" ADD CONSTRAINT "catalogues_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_hero" ADD CONSTRAINT "catalogues_blocks_hero_background_image_id_media_id_fk" FOREIGN KEY ("background_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "catalogues_blocks_hero" ADD CONSTRAINT "catalogues_blocks_hero_background_image_for_mobile_id_media_id_fk" FOREIGN KEY ("background_image_for_mobile_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "catalogues_blocks_hero" ADD CONSTRAINT "catalogues_blocks_hero_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_internal_link_2" ADD CONSTRAINT "catalogues_blocks_internal_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_external_link_2" ADD CONSTRAINT "catalogues_blocks_external_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_text_block" ADD CONSTRAINT "catalogues_blocks_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_text_only" ADD CONSTRAINT "catalogues_blocks_text_only_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_external_link_3" ADD CONSTRAINT "catalogues_blocks_external_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_callout_link" ADD CONSTRAINT "catalogues_blocks_callout_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_catalogue_tab" ADD CONSTRAINT "catalogues_blocks_catalogue_tab_filter_story_id_story_topics_id_fk" FOREIGN KEY ("filter_story_id") REFERENCES "public"."story_topics"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "catalogues_blocks_catalogue_tab" ADD CONSTRAINT "catalogues_blocks_catalogue_tab_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_blocks_catalogue_feed" ADD CONSTRAINT "catalogues_blocks_catalogue_feed_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues" ADD CONSTRAINT "catalogues_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "catalogues_locales" ADD CONSTRAINT "catalogues_locales_parent_id_pages_id_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."pages"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "catalogues_locales" ADD CONSTRAINT "catalogues_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_rels" ADD CONSTRAINT "catalogues_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_rels" ADD CONSTRAINT "catalogues_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_rels" ADD CONSTRAINT "catalogues_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_rels" ADD CONSTRAINT "catalogues_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_rels" ADD CONSTRAINT "catalogues_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_rels" ADD CONSTRAINT "catalogues_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "catalogues_rels" ADD CONSTRAINT "catalogues_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."payload_locked_documents"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_users_fk" FOREIGN KEY ("users_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_media_fk" FOREIGN KEY ("media_id") REFERENCES "public"."media"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_article_topics_fk" FOREIGN KEY ("article_topics_id") REFERENCES "public"."article_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_news_topics_fk" FOREIGN KEY ("news_topics_id") REFERENCES "public"."news_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_story_topics_fk" FOREIGN KEY ("story_topics_id") REFERENCES "public"."story_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_insight_topics_fk" FOREIGN KEY ("insight_topics_id") REFERENCES "public"."insight_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_resource_topics_fk" FOREIGN KEY ("resource_topics_id") REFERENCES "public"."resource_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_webinar_topics_fk" FOREIGN KEY ("webinar_topics_id") REFERENCES "public"."webinar_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_macro_topics_fk" FOREIGN KEY ("macro_topics_id") REFERENCES "public"."macro_topics"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_story_classes_fk" FOREIGN KEY ("story_classes_id") REFERENCES "public"."story_classes"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_webinar_authors_fk" FOREIGN KEY ("webinar_authors_id") REFERENCES "public"."webinar_authors"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_chart_elements_fk" FOREIGN KEY ("chart_elements_id") REFERENCES "public"."chart_elements"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_kpi_elements_fk" FOREIGN KEY ("kpi_elements_id") REFERENCES "public"."kpi_elements"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_news_items_fk" FOREIGN KEY ("news_items_id") REFERENCES "public"."news_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_resources_fk" FOREIGN KEY ("resources_id") REFERENCES "public"."resources"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_locked_documents_rels" ADD CONSTRAINT "payload_locked_documents_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_preferences_rels" ADD CONSTRAINT "payload_preferences_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."payload_preferences"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "payload_preferences_rels" ADD CONSTRAINT "payload_preferences_rels_users_fk" FOREIGN KEY ("users_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_brand" ADD CONSTRAINT "layout_blocks_brand_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_brand_header" ADD CONSTRAINT "layout_blocks_brand_header_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_external_link" ADD CONSTRAINT "layout_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_internal_link" ADD CONSTRAINT "layout_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_supporting_brand" ADD CONSTRAINT "layout_blocks_supporting_brand_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_internal_link_2" ADD CONSTRAINT "layout_blocks_internal_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_mailing_list_signup_block" ADD CONSTRAINT "layout_blocks_mailing_list_signup_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_menu_item" ADD CONSTRAINT "layout_blocks_menu_item_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_menu_item_2" ADD CONSTRAINT "layout_blocks_menu_item_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_blocks_mega_menu_item" ADD CONSTRAINT "layout_blocks_mega_menu_item_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "layout_blocks_mega_menu_item" ADD CONSTRAINT "layout_blocks_mega_menu_item_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_locales" ADD CONSTRAINT "layout_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_rels" ADD CONSTRAINT "layout_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."layout"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_rels" ADD CONSTRAINT "layout_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_rels" ADD CONSTRAINT "layout_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_rels" ADD CONSTRAINT "layout_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_rels" ADD CONSTRAINT "layout_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_rels" ADD CONSTRAINT "layout_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "layout_rels" ADD CONSTRAINT "layout_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_internal_link" ADD CONSTRAINT "homepage_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_external_link" ADD CONSTRAINT "homepage_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_hero" ADD CONSTRAINT "homepage_blocks_hero_background_image_id_media_id_fk" FOREIGN KEY ("background_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "homepage_blocks_hero" ADD CONSTRAINT "homepage_blocks_hero_background_image_for_mobile_id_media_id_fk" FOREIGN KEY ("background_image_for_mobile_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "homepage_blocks_hero" ADD CONSTRAINT "homepage_blocks_hero_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_internal_link_2" ADD CONSTRAINT "homepage_blocks_internal_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_external_link_2" ADD CONSTRAINT "homepage_blocks_external_link_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_block" ADD CONSTRAINT "homepage_blocks_text_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_only" ADD CONSTRAINT "homepage_blocks_text_only_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_internal_link_3" ADD CONSTRAINT "homepage_blocks_internal_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_external_link_3" ADD CONSTRAINT "homepage_blocks_external_link_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_block_2" ADD CONSTRAINT "homepage_blocks_text_block_2_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_card_editorial_with_icon" ADD CONSTRAINT "homepage_blocks_card_editorial_with_icon_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_additional_content" ADD CONSTRAINT "homepage_blocks_additional_content_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_image" ADD CONSTRAINT "homepage_blocks_text_image_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_image" ADD CONSTRAINT "homepage_blocks_text_image_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_news_tab" ADD CONSTRAINT "homepage_blocks_news_tab_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_story_tab" ADD CONSTRAINT "homepage_blocks_story_tab_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_internal_link_4" ADD CONSTRAINT "homepage_blocks_internal_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_external_link_4" ADD CONSTRAINT "homepage_blocks_external_link_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_news_feed" ADD CONSTRAINT "homepage_blocks_news_feed_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_channel" ADD CONSTRAINT "homepage_blocks_channel_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_support_channels_section" ADD CONSTRAINT "homepage_blocks_support_channels_section_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_internal_link_5" ADD CONSTRAINT "homepage_blocks_internal_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_external_link_5" ADD CONSTRAINT "homepage_blocks_external_link_5_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_block_3" ADD CONSTRAINT "homepage_blocks_text_block_3_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_use_case_block" ADD CONSTRAINT "homepage_blocks_use_case_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_use_case" ADD CONSTRAINT "homepage_blocks_text_use_case_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_internal_link_6" ADD CONSTRAINT "homepage_blocks_internal_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_external_link_6" ADD CONSTRAINT "homepage_blocks_external_link_6_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_block_4" ADD CONSTRAINT "homepage_blocks_text_block_4_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_data_container" ADD CONSTRAINT "homepage_blocks_data_container_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_statistic_block" ADD CONSTRAINT "homepage_blocks_statistic_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_text_statistic" ADD CONSTRAINT "homepage_blocks_text_statistic_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_link_block" ADD CONSTRAINT "homepage_blocks_link_block_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_card_link" ADD CONSTRAINT "homepage_blocks_card_link_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "homepage_blocks_card_link" ADD CONSTRAINT "homepage_blocks_card_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_blocks_card_link_list" ADD CONSTRAINT "homepage_blocks_card_link_list_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage" ADD CONSTRAINT "homepage_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "homepage_locales" ADD CONSTRAINT "homepage_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."homepage"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_news_items_fk" FOREIGN KEY ("news_items_id") REFERENCES "public"."news_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "homepage_rels" ADD CONSTRAINT "homepage_rels_kpi_elements_fk" FOREIGN KEY ("kpi_elements_id") REFERENCES "public"."kpi_elements"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_blocks_internal_link" ADD CONSTRAINT "search_blocks_internal_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."search"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_blocks_external_link" ADD CONSTRAINT "search_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."search"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_blocks_hero" ADD CONSTRAINT "search_blocks_hero_background_image_id_media_id_fk" FOREIGN KEY ("background_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "search_blocks_hero" ADD CONSTRAINT "search_blocks_hero_background_image_for_mobile_id_media_id_fk" FOREIGN KEY ("background_image_for_mobile_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "search_blocks_hero" ADD CONSTRAINT "search_blocks_hero_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."search"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_blocks_search_bar" ADD CONSTRAINT "search_blocks_search_bar_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."search"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search" ADD CONSTRAINT "search_seo_image_id_media_id_fk" FOREIGN KEY ("seo_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "search_locales" ADD CONSTRAINT "search_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."search"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_rels" ADD CONSTRAINT "search_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."search"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_rels" ADD CONSTRAINT "search_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_rels" ADD CONSTRAINT "search_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_rels" ADD CONSTRAINT "search_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_rels" ADD CONSTRAINT "search_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_rels" ADD CONSTRAINT "search_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "search_rels" ADD CONSTRAINT "search_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "global_setting_blocks_external_link" ADD CONSTRAINT "global_setting_blocks_external_link_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."global_setting"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "global_setting" ADD CONSTRAINT "global_setting_image_id_media_id_fk" FOREIGN KEY ("image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "global_setting_locales" ADD CONSTRAINT "global_setting_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."global_setting"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_blocks_menu_article_item" ADD CONSTRAINT "sidebar_for_article_blocks_menu_article_item_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."sidebar_for_article"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_blocks_accordion_menu" ADD CONSTRAINT "sidebar_for_article_blocks_accordion_menu_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."sidebar_for_article"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_locales" ADD CONSTRAINT "sidebar_for_article_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."sidebar_for_article"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_rels" ADD CONSTRAINT "sidebar_for_article_rels_parent_fk" FOREIGN KEY ("parent_id") REFERENCES "public"."sidebar_for_article"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_rels" ADD CONSTRAINT "sidebar_for_article_rels_pages_fk" FOREIGN KEY ("pages_id") REFERENCES "public"."pages"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_rels" ADD CONSTRAINT "sidebar_for_article_rels_articles_fk" FOREIGN KEY ("articles_id") REFERENCES "public"."articles"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_rels" ADD CONSTRAINT "sidebar_for_article_rels_insights_fk" FOREIGN KEY ("insights_id") REFERENCES "public"."insights"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_rels" ADD CONSTRAINT "sidebar_for_article_rels_webinar_items_fk" FOREIGN KEY ("webinar_items_id") REFERENCES "public"."webinar_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_rels" ADD CONSTRAINT "sidebar_for_article_rels_story_items_fk" FOREIGN KEY ("story_items_id") REFERENCES "public"."story_items"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "sidebar_for_article_rels" ADD CONSTRAINT "sidebar_for_article_rels_catalogues_fk" FOREIGN KEY ("catalogues_id") REFERENCES "public"."catalogues"("id") ON DELETE cascade ON UPDATE no action; + ALTER TABLE "seo_default" ADD CONSTRAINT "seo_default_og_image_id_media_id_fk" FOREIGN KEY ("og_image_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "seo_default" ADD CONSTRAINT "seo_default_favicon_id_media_id_fk" FOREIGN KEY ("favicon_id") REFERENCES "public"."media"("id") ON DELETE set null ON UPDATE no action; + ALTER TABLE "seo_default_locales" ADD CONSTRAINT "seo_default_locales_parent_id_fk" FOREIGN KEY ("_parent_id") REFERENCES "public"."seo_default"("id") ON DELETE cascade ON UPDATE no action; + CREATE INDEX "users_sessions_order_idx" ON "users_sessions" USING btree ("_order"); + CREATE INDEX "users_sessions_parent_id_idx" ON "users_sessions" USING btree ("_parent_id"); + CREATE INDEX "users_updated_at_idx" ON "users" USING btree ("updated_at"); + CREATE INDEX "users_created_at_idx" ON "users" USING btree ("created_at"); + CREATE UNIQUE INDEX "users_email_idx" ON "users" USING btree ("email"); + CREATE INDEX "media_updated_at_idx" ON "media" USING btree ("updated_at"); + CREATE INDEX "media_created_at_idx" ON "media" USING btree ("created_at"); + CREATE UNIQUE INDEX "media_filename_idx" ON "media" USING btree ("filename"); + CREATE INDEX "article_topics_updated_at_idx" ON "article_topics" USING btree ("updated_at"); + CREATE INDEX "article_topics_created_at_idx" ON "article_topics" USING btree ("created_at"); + CREATE UNIQUE INDEX "article_topics_locales_locale_parent_id_unique" ON "article_topics_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "news_topics_updated_at_idx" ON "news_topics" USING btree ("updated_at"); + CREATE INDEX "news_topics_created_at_idx" ON "news_topics" USING btree ("created_at"); + CREATE UNIQUE INDEX "news_topics_locales_locale_parent_id_unique" ON "news_topics_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "story_topics_updated_at_idx" ON "story_topics" USING btree ("updated_at"); + CREATE INDEX "story_topics_created_at_idx" ON "story_topics" USING btree ("created_at"); + CREATE UNIQUE INDEX "story_topics_locales_locale_parent_id_unique" ON "story_topics_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "insight_topics_updated_at_idx" ON "insight_topics" USING btree ("updated_at"); + CREATE INDEX "insight_topics_created_at_idx" ON "insight_topics" USING btree ("created_at"); + CREATE UNIQUE INDEX "insight_topics_locales_locale_parent_id_unique" ON "insight_topics_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "resource_topics_updated_at_idx" ON "resource_topics" USING btree ("updated_at"); + CREATE INDEX "resource_topics_created_at_idx" ON "resource_topics" USING btree ("created_at"); + CREATE UNIQUE INDEX "resource_topics_locales_locale_parent_id_unique" ON "resource_topics_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "webinar_topics_updated_at_idx" ON "webinar_topics" USING btree ("updated_at"); + CREATE INDEX "webinar_topics_created_at_idx" ON "webinar_topics" USING btree ("created_at"); + CREATE UNIQUE INDEX "webinar_topics_locales_locale_parent_id_unique" ON "webinar_topics_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "macro_topics_updated_at_idx" ON "macro_topics" USING btree ("updated_at"); + CREATE INDEX "macro_topics_created_at_idx" ON "macro_topics" USING btree ("created_at"); + CREATE UNIQUE INDEX "macro_topics_locales_locale_parent_id_unique" ON "macro_topics_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "story_classes_updated_at_idx" ON "story_classes" USING btree ("updated_at"); + CREATE INDEX "story_classes_created_at_idx" ON "story_classes" USING btree ("created_at"); + CREATE UNIQUE INDEX "story_classes_locales_locale_parent_id_unique" ON "story_classes_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "webinar_authors_photo_idx" ON "webinar_authors" USING btree ("photo_id"); + CREATE INDEX "webinar_authors_updated_at_idx" ON "webinar_authors" USING btree ("updated_at"); + CREATE INDEX "webinar_authors_created_at_idx" ON "webinar_authors" USING btree ("created_at"); + CREATE UNIQUE INDEX "webinar_authors_locales_locale_parent_id_unique" ON "webinar_authors_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "chart_elements_updated_at_idx" ON "chart_elements" USING btree ("updated_at"); + CREATE INDEX "chart_elements_created_at_idx" ON "chart_elements" USING btree ("created_at"); + CREATE INDEX "kpi_elements_updated_at_idx" ON "kpi_elements" USING btree ("updated_at"); + CREATE INDEX "kpi_elements_created_at_idx" ON "kpi_elements" USING btree ("created_at"); + CREATE INDEX "news_items_image_idx" ON "news_items" USING btree ("image_id"); + CREATE INDEX "news_items_updated_at_idx" ON "news_items" USING btree ("updated_at"); + CREATE INDEX "news_items_created_at_idx" ON "news_items" USING btree ("created_at"); + CREATE INDEX "news_items_topic_idx" ON "news_items_locales" USING btree ("topic_id","_locale"); + CREATE UNIQUE INDEX "news_items_locales_locale_parent_id_unique" ON "news_items_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "resources_blocks_download_link_order_idx" ON "resources_blocks_download_link" USING btree ("_order"); + CREATE INDEX "resources_blocks_download_link_parent_id_idx" ON "resources_blocks_download_link" USING btree ("_parent_id"); + CREATE INDEX "resources_blocks_download_link_path_idx" ON "resources_blocks_download_link" USING btree ("_path"); + CREATE INDEX "resources_blocks_download_link_locale_idx" ON "resources_blocks_download_link" USING btree ("_locale"); + CREATE INDEX "resources_blocks_download_link_doc_idx" ON "resources_blocks_download_link" USING btree ("doc_id"); + CREATE INDEX "resources_blocks_external_link_order_idx" ON "resources_blocks_external_link" USING btree ("_order"); + CREATE INDEX "resources_blocks_external_link_parent_id_idx" ON "resources_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "resources_blocks_external_link_path_idx" ON "resources_blocks_external_link" USING btree ("_path"); + CREATE INDEX "resources_blocks_external_link_locale_idx" ON "resources_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "resources_updated_at_idx" ON "resources" USING btree ("updated_at"); + CREATE INDEX "resources_created_at_idx" ON "resources" USING btree ("created_at"); + CREATE INDEX "resources_type_resource_idx" ON "resources_locales" USING btree ("type_resource_id","_locale"); + CREATE UNIQUE INDEX "resources_locales_locale_parent_id_unique" ON "resources_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "resources_rels_order_idx" ON "resources_rels" USING btree ("order"); + CREATE INDEX "resources_rels_parent_idx" ON "resources_rels" USING btree ("parent_id"); + CREATE INDEX "resources_rels_path_idx" ON "resources_rels" USING btree ("path"); + CREATE INDEX "resources_rels_locale_idx" ON "resources_rels" USING btree ("locale"); + CREATE INDEX "resources_rels_resource_topics_id_idx" ON "resources_rels" USING btree ("resource_topics_id","locale"); + CREATE INDEX "pages_blocks_internal_link_order_idx" ON "pages_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "pages_blocks_internal_link_parent_id_idx" ON "pages_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_internal_link_path_idx" ON "pages_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "pages_blocks_internal_link_locale_idx" ON "pages_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "pages_blocks_external_link_order_idx" ON "pages_blocks_external_link" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_parent_id_idx" ON "pages_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_path_idx" ON "pages_blocks_external_link" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_locale_idx" ON "pages_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "pages_blocks_hero_order_idx" ON "pages_blocks_hero" USING btree ("_order"); + CREATE INDEX "pages_blocks_hero_parent_id_idx" ON "pages_blocks_hero" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_hero_path_idx" ON "pages_blocks_hero" USING btree ("_path"); + CREATE INDEX "pages_blocks_hero_locale_idx" ON "pages_blocks_hero" USING btree ("_locale"); + CREATE INDEX "pages_blocks_hero_background_image_idx" ON "pages_blocks_hero" USING btree ("background_image_id"); + CREATE INDEX "pages_blocks_hero_background_image_for_mobile_idx" ON "pages_blocks_hero" USING btree ("background_image_for_mobile_id"); + CREATE INDEX "pages_blocks_accordion_item_order_idx" ON "pages_blocks_accordion_item" USING btree ("_order"); + CREATE INDEX "pages_blocks_accordion_item_parent_id_idx" ON "pages_blocks_accordion_item" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_accordion_item_path_idx" ON "pages_blocks_accordion_item" USING btree ("_path"); + CREATE INDEX "pages_blocks_accordion_item_locale_idx" ON "pages_blocks_accordion_item" USING btree ("_locale"); + CREATE INDEX "pages_blocks_accordion_order_idx" ON "pages_blocks_accordion" USING btree ("_order"); + CREATE INDEX "pages_blocks_accordion_parent_id_idx" ON "pages_blocks_accordion" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_accordion_path_idx" ON "pages_blocks_accordion" USING btree ("_path"); + CREATE INDEX "pages_blocks_accordion_locale_idx" ON "pages_blocks_accordion" USING btree ("_locale"); + CREATE INDEX "pages_blocks_accordion_block_order_idx" ON "pages_blocks_accordion_block" USING btree ("_order"); + CREATE INDEX "pages_blocks_accordion_block_parent_id_idx" ON "pages_blocks_accordion_block" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_accordion_block_path_idx" ON "pages_blocks_accordion_block" USING btree ("_path"); + CREATE INDEX "pages_blocks_accordion_block_locale_idx" ON "pages_blocks_accordion_block" USING btree ("_locale"); + CREATE INDEX "pages_blocks_faq_section_order_idx" ON "pages_blocks_faq_section" USING btree ("_order"); + CREATE INDEX "pages_blocks_faq_section_parent_id_idx" ON "pages_blocks_faq_section" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_faq_section_path_idx" ON "pages_blocks_faq_section" USING btree ("_path"); + CREATE INDEX "pages_blocks_faq_section_locale_idx" ON "pages_blocks_faq_section" USING btree ("_locale"); + CREATE INDEX "pages_blocks_internal_link_2_order_idx" ON "pages_blocks_internal_link_2" USING btree ("_order"); + CREATE INDEX "pages_blocks_internal_link_2_parent_id_idx" ON "pages_blocks_internal_link_2" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_internal_link_2_path_idx" ON "pages_blocks_internal_link_2" USING btree ("_path"); + CREATE INDEX "pages_blocks_internal_link_2_locale_idx" ON "pages_blocks_internal_link_2" USING btree ("_locale"); + CREATE INDEX "pages_blocks_external_link_2_order_idx" ON "pages_blocks_external_link_2" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_2_parent_id_idx" ON "pages_blocks_external_link_2" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_2_path_idx" ON "pages_blocks_external_link_2" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_2_locale_idx" ON "pages_blocks_external_link_2" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_block_order_idx" ON "pages_blocks_text_block" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_block_parent_id_idx" ON "pages_blocks_text_block" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_block_path_idx" ON "pages_blocks_text_block" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_block_locale_idx" ON "pages_blocks_text_block" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_only_order_idx" ON "pages_blocks_text_only" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_only_parent_id_idx" ON "pages_blocks_text_only" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_only_path_idx" ON "pages_blocks_text_only" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_only_locale_idx" ON "pages_blocks_text_only" USING btree ("_locale"); + CREATE INDEX "pages_blocks_structured_text_block_order_idx" ON "pages_blocks_structured_text_block" USING btree ("_order"); + CREATE INDEX "pages_blocks_structured_text_block_parent_id_idx" ON "pages_blocks_structured_text_block" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_structured_text_block_path_idx" ON "pages_blocks_structured_text_block" USING btree ("_path"); + CREATE INDEX "pages_blocks_structured_text_block_locale_idx" ON "pages_blocks_structured_text_block" USING btree ("_locale"); + CREATE INDEX "pages_blocks_highlight_order_idx" ON "pages_blocks_highlight" USING btree ("_order"); + CREATE INDEX "pages_blocks_highlight_parent_id_idx" ON "pages_blocks_highlight" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_highlight_path_idx" ON "pages_blocks_highlight" USING btree ("_path"); + CREATE INDEX "pages_blocks_highlight_locale_idx" ON "pages_blocks_highlight" USING btree ("_locale"); + CREATE INDEX "pages_blocks_highlight_image_idx" ON "pages_blocks_highlight" USING btree ("image_id"); + CREATE INDEX "pages_blocks_settings_chart_order_idx" ON "pages_blocks_settings_chart" USING btree ("_order"); + CREATE INDEX "pages_blocks_settings_chart_parent_id_idx" ON "pages_blocks_settings_chart" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_settings_chart_path_idx" ON "pages_blocks_settings_chart" USING btree ("_path"); + CREATE INDEX "pages_blocks_settings_chart_locale_idx" ON "pages_blocks_settings_chart" USING btree ("_locale"); + CREATE INDEX "pages_blocks_settings_chart_select_chart_idx" ON "pages_blocks_settings_chart" USING btree ("select_chart_id"); + CREATE INDEX "pages_blocks_external_link_3_order_idx" ON "pages_blocks_external_link_3" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_3_parent_id_idx" ON "pages_blocks_external_link_3" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_3_path_idx" ON "pages_blocks_external_link_3" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_3_locale_idx" ON "pages_blocks_external_link_3" USING btree ("_locale"); + CREATE INDEX "pages_blocks_panel_order_idx" ON "pages_blocks_panel" USING btree ("_order"); + CREATE INDEX "pages_blocks_panel_parent_id_idx" ON "pages_blocks_panel" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_panel_path_idx" ON "pages_blocks_panel" USING btree ("_path"); + CREATE INDEX "pages_blocks_panel_locale_idx" ON "pages_blocks_panel" USING btree ("_locale"); + CREATE INDEX "pages_blocks_list_item_order_idx" ON "pages_blocks_list_item" USING btree ("_order"); + CREATE INDEX "pages_blocks_list_item_parent_id_idx" ON "pages_blocks_list_item" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_list_item_path_idx" ON "pages_blocks_list_item" USING btree ("_path"); + CREATE INDEX "pages_blocks_list_item_locale_idx" ON "pages_blocks_list_item" USING btree ("_locale"); + CREATE INDEX "pages_blocks_result_order_idx" ON "pages_blocks_result" USING btree ("_order"); + CREATE INDEX "pages_blocks_result_parent_id_idx" ON "pages_blocks_result" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_result_path_idx" ON "pages_blocks_result" USING btree ("_path"); + CREATE INDEX "pages_blocks_result_locale_idx" ON "pages_blocks_result" USING btree ("_locale"); + CREATE INDEX "pages_blocks_data_section_order_idx" ON "pages_blocks_data_section" USING btree ("_order"); + CREATE INDEX "pages_blocks_data_section_parent_id_idx" ON "pages_blocks_data_section" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_data_section_path_idx" ON "pages_blocks_data_section" USING btree ("_path"); + CREATE INDEX "pages_blocks_data_section_locale_idx" ON "pages_blocks_data_section" USING btree ("_locale"); + CREATE INDEX "pages_blocks_internal_link_3_order_idx" ON "pages_blocks_internal_link_3" USING btree ("_order"); + CREATE INDEX "pages_blocks_internal_link_3_parent_id_idx" ON "pages_blocks_internal_link_3" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_internal_link_3_path_idx" ON "pages_blocks_internal_link_3" USING btree ("_path"); + CREATE INDEX "pages_blocks_internal_link_3_locale_idx" ON "pages_blocks_internal_link_3" USING btree ("_locale"); + CREATE INDEX "pages_blocks_external_link_4_order_idx" ON "pages_blocks_external_link_4" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_4_parent_id_idx" ON "pages_blocks_external_link_4" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_4_path_idx" ON "pages_blocks_external_link_4" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_4_locale_idx" ON "pages_blocks_external_link_4" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_block_2_order_idx" ON "pages_blocks_text_block_2" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_block_2_parent_id_idx" ON "pages_blocks_text_block_2" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_block_2_path_idx" ON "pages_blocks_text_block_2" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_block_2_locale_idx" ON "pages_blocks_text_block_2" USING btree ("_locale"); + CREATE INDEX "pages_blocks_card_editorial_with_icon_order_idx" ON "pages_blocks_card_editorial_with_icon" USING btree ("_order"); + CREATE INDEX "pages_blocks_card_editorial_with_icon_parent_id_idx" ON "pages_blocks_card_editorial_with_icon" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_card_editorial_with_icon_path_idx" ON "pages_blocks_card_editorial_with_icon" USING btree ("_path"); + CREATE INDEX "pages_blocks_card_editorial_with_icon_locale_idx" ON "pages_blocks_card_editorial_with_icon" USING btree ("_locale"); + CREATE INDEX "pages_blocks_additional_content_order_idx" ON "pages_blocks_additional_content" USING btree ("_order"); + CREATE INDEX "pages_blocks_additional_content_parent_id_idx" ON "pages_blocks_additional_content" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_additional_content_path_idx" ON "pages_blocks_additional_content" USING btree ("_path"); + CREATE INDEX "pages_blocks_additional_content_locale_idx" ON "pages_blocks_additional_content" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_image_order_idx" ON "pages_blocks_text_image" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_image_parent_id_idx" ON "pages_blocks_text_image" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_image_path_idx" ON "pages_blocks_text_image" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_image_locale_idx" ON "pages_blocks_text_image" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_image_image_idx" ON "pages_blocks_text_image" USING btree ("image_id"); + CREATE INDEX "pages_blocks_news_tab_order_idx" ON "pages_blocks_news_tab" USING btree ("_order"); + CREATE INDEX "pages_blocks_news_tab_parent_id_idx" ON "pages_blocks_news_tab" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_news_tab_path_idx" ON "pages_blocks_news_tab" USING btree ("_path"); + CREATE INDEX "pages_blocks_news_tab_locale_idx" ON "pages_blocks_news_tab" USING btree ("_locale"); + CREATE INDEX "pages_blocks_story_tab_order_idx" ON "pages_blocks_story_tab" USING btree ("_order"); + CREATE INDEX "pages_blocks_story_tab_parent_id_idx" ON "pages_blocks_story_tab" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_story_tab_path_idx" ON "pages_blocks_story_tab" USING btree ("_path"); + CREATE INDEX "pages_blocks_story_tab_locale_idx" ON "pages_blocks_story_tab" USING btree ("_locale"); + CREATE INDEX "pages_blocks_internal_link_4_order_idx" ON "pages_blocks_internal_link_4" USING btree ("_order"); + CREATE INDEX "pages_blocks_internal_link_4_parent_id_idx" ON "pages_blocks_internal_link_4" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_internal_link_4_path_idx" ON "pages_blocks_internal_link_4" USING btree ("_path"); + CREATE INDEX "pages_blocks_internal_link_4_locale_idx" ON "pages_blocks_internal_link_4" USING btree ("_locale"); + CREATE INDEX "pages_blocks_external_link_5_order_idx" ON "pages_blocks_external_link_5" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_5_parent_id_idx" ON "pages_blocks_external_link_5" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_5_path_idx" ON "pages_blocks_external_link_5" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_5_locale_idx" ON "pages_blocks_external_link_5" USING btree ("_locale"); + CREATE INDEX "pages_blocks_news_feed_order_idx" ON "pages_blocks_news_feed" USING btree ("_order"); + CREATE INDEX "pages_blocks_news_feed_parent_id_idx" ON "pages_blocks_news_feed" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_news_feed_path_idx" ON "pages_blocks_news_feed" USING btree ("_path"); + CREATE INDEX "pages_blocks_news_feed_locale_idx" ON "pages_blocks_news_feed" USING btree ("_locale"); + CREATE INDEX "pages_blocks_channel_order_idx" ON "pages_blocks_channel" USING btree ("_order"); + CREATE INDEX "pages_blocks_channel_parent_id_idx" ON "pages_blocks_channel" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_channel_path_idx" ON "pages_blocks_channel" USING btree ("_path"); + CREATE INDEX "pages_blocks_channel_locale_idx" ON "pages_blocks_channel" USING btree ("_locale"); + CREATE INDEX "pages_blocks_support_channels_section_order_idx" ON "pages_blocks_support_channels_section" USING btree ("_order"); + CREATE INDEX "pages_blocks_support_channels_section_parent_id_idx" ON "pages_blocks_support_channels_section" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_support_channels_section_path_idx" ON "pages_blocks_support_channels_section" USING btree ("_path"); + CREATE INDEX "pages_blocks_support_channels_section_locale_idx" ON "pages_blocks_support_channels_section" USING btree ("_locale"); + CREATE INDEX "pages_blocks_internal_link_5_order_idx" ON "pages_blocks_internal_link_5" USING btree ("_order"); + CREATE INDEX "pages_blocks_internal_link_5_parent_id_idx" ON "pages_blocks_internal_link_5" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_internal_link_5_path_idx" ON "pages_blocks_internal_link_5" USING btree ("_path"); + CREATE INDEX "pages_blocks_internal_link_5_locale_idx" ON "pages_blocks_internal_link_5" USING btree ("_locale"); + CREATE INDEX "pages_blocks_external_link_6_order_idx" ON "pages_blocks_external_link_6" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_6_parent_id_idx" ON "pages_blocks_external_link_6" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_6_path_idx" ON "pages_blocks_external_link_6" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_6_locale_idx" ON "pages_blocks_external_link_6" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_block_3_order_idx" ON "pages_blocks_text_block_3" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_block_3_parent_id_idx" ON "pages_blocks_text_block_3" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_block_3_path_idx" ON "pages_blocks_text_block_3" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_block_3_locale_idx" ON "pages_blocks_text_block_3" USING btree ("_locale"); + CREATE INDEX "pages_blocks_accordion_item_2_order_idx" ON "pages_blocks_accordion_item_2" USING btree ("_order"); + CREATE INDEX "pages_blocks_accordion_item_2_parent_id_idx" ON "pages_blocks_accordion_item_2" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_accordion_item_2_path_idx" ON "pages_blocks_accordion_item_2" USING btree ("_path"); + CREATE INDEX "pages_blocks_accordion_item_2_locale_idx" ON "pages_blocks_accordion_item_2" USING btree ("_locale"); + CREATE INDEX "pages_blocks_accordion_2_order_idx" ON "pages_blocks_accordion_2" USING btree ("_order"); + CREATE INDEX "pages_blocks_accordion_2_parent_id_idx" ON "pages_blocks_accordion_2" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_accordion_2_path_idx" ON "pages_blocks_accordion_2" USING btree ("_path"); + CREATE INDEX "pages_blocks_accordion_2_locale_idx" ON "pages_blocks_accordion_2" USING btree ("_locale"); + CREATE INDEX "pages_blocks_accordion_block_2_order_idx" ON "pages_blocks_accordion_block_2" USING btree ("_order"); + CREATE INDEX "pages_blocks_accordion_block_2_parent_id_idx" ON "pages_blocks_accordion_block_2" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_accordion_block_2_path_idx" ON "pages_blocks_accordion_block_2" USING btree ("_path"); + CREATE INDEX "pages_blocks_accordion_block_2_locale_idx" ON "pages_blocks_accordion_block_2" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_accordion_order_idx" ON "pages_blocks_text_accordion" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_accordion_parent_id_idx" ON "pages_blocks_text_accordion" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_accordion_path_idx" ON "pages_blocks_text_accordion" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_accordion_locale_idx" ON "pages_blocks_text_accordion" USING btree ("_locale"); + CREATE INDEX "pages_blocks_internal_link_6_order_idx" ON "pages_blocks_internal_link_6" USING btree ("_order"); + CREATE INDEX "pages_blocks_internal_link_6_parent_id_idx" ON "pages_blocks_internal_link_6" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_internal_link_6_path_idx" ON "pages_blocks_internal_link_6" USING btree ("_path"); + CREATE INDEX "pages_blocks_internal_link_6_locale_idx" ON "pages_blocks_internal_link_6" USING btree ("_locale"); + CREATE INDEX "pages_blocks_external_link_7_order_idx" ON "pages_blocks_external_link_7" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_7_parent_id_idx" ON "pages_blocks_external_link_7" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_7_path_idx" ON "pages_blocks_external_link_7" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_7_locale_idx" ON "pages_blocks_external_link_7" USING btree ("_locale"); + CREATE INDEX "pages_blocks_support_cta_section_order_idx" ON "pages_blocks_support_cta_section" USING btree ("_order"); + CREATE INDEX "pages_blocks_support_cta_section_parent_id_idx" ON "pages_blocks_support_cta_section" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_support_cta_section_path_idx" ON "pages_blocks_support_cta_section" USING btree ("_path"); + CREATE INDEX "pages_blocks_support_cta_section_locale_idx" ON "pages_blocks_support_cta_section" USING btree ("_locale"); + CREATE INDEX "pages_blocks_support_cta_section_image_idx" ON "pages_blocks_support_cta_section" USING btree ("image_id"); + CREATE INDEX "pages_blocks_internal_link_7_order_idx" ON "pages_blocks_internal_link_7" USING btree ("_order"); + CREATE INDEX "pages_blocks_internal_link_7_parent_id_idx" ON "pages_blocks_internal_link_7" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_internal_link_7_path_idx" ON "pages_blocks_internal_link_7" USING btree ("_path"); + CREATE INDEX "pages_blocks_internal_link_7_locale_idx" ON "pages_blocks_internal_link_7" USING btree ("_locale"); + CREATE INDEX "pages_blocks_external_link_8_order_idx" ON "pages_blocks_external_link_8" USING btree ("_order"); + CREATE INDEX "pages_blocks_external_link_8_parent_id_idx" ON "pages_blocks_external_link_8" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_external_link_8_path_idx" ON "pages_blocks_external_link_8" USING btree ("_path"); + CREATE INDEX "pages_blocks_external_link_8_locale_idx" ON "pages_blocks_external_link_8" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_block_4_order_idx" ON "pages_blocks_text_block_4" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_block_4_parent_id_idx" ON "pages_blocks_text_block_4" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_block_4_path_idx" ON "pages_blocks_text_block_4" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_block_4_locale_idx" ON "pages_blocks_text_block_4" USING btree ("_locale"); + CREATE INDEX "pages_blocks_data_container_order_idx" ON "pages_blocks_data_container" USING btree ("_order"); + CREATE INDEX "pages_blocks_data_container_parent_id_idx" ON "pages_blocks_data_container" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_data_container_path_idx" ON "pages_blocks_data_container" USING btree ("_path"); + CREATE INDEX "pages_blocks_data_container_locale_idx" ON "pages_blocks_data_container" USING btree ("_locale"); + CREATE INDEX "pages_blocks_statistic_block_order_idx" ON "pages_blocks_statistic_block" USING btree ("_order"); + CREATE INDEX "pages_blocks_statistic_block_parent_id_idx" ON "pages_blocks_statistic_block" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_statistic_block_path_idx" ON "pages_blocks_statistic_block" USING btree ("_path"); + CREATE INDEX "pages_blocks_statistic_block_locale_idx" ON "pages_blocks_statistic_block" USING btree ("_locale"); + CREATE INDEX "pages_blocks_text_statistic_order_idx" ON "pages_blocks_text_statistic" USING btree ("_order"); + CREATE INDEX "pages_blocks_text_statistic_parent_id_idx" ON "pages_blocks_text_statistic" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_text_statistic_path_idx" ON "pages_blocks_text_statistic" USING btree ("_path"); + CREATE INDEX "pages_blocks_text_statistic_locale_idx" ON "pages_blocks_text_statistic" USING btree ("_locale"); + CREATE INDEX "pages_blocks_list_collection_order_idx" ON "pages_blocks_list_collection" USING btree ("_order"); + CREATE INDEX "pages_blocks_list_collection_parent_id_idx" ON "pages_blocks_list_collection" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_list_collection_path_idx" ON "pages_blocks_list_collection" USING btree ("_path"); + CREATE INDEX "pages_blocks_list_collection_locale_idx" ON "pages_blocks_list_collection" USING btree ("_locale"); + CREATE INDEX "pages_blocks_topic_filter_order_idx" ON "pages_blocks_topic_filter" USING btree ("_order"); + CREATE INDEX "pages_blocks_topic_filter_parent_id_idx" ON "pages_blocks_topic_filter" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_topic_filter_path_idx" ON "pages_blocks_topic_filter" USING btree ("_path"); + CREATE INDEX "pages_blocks_topic_filter_locale_idx" ON "pages_blocks_topic_filter" USING btree ("_locale"); + CREATE INDEX "pages_blocks_link_block_order_idx" ON "pages_blocks_link_block" USING btree ("_order"); + CREATE INDEX "pages_blocks_link_block_parent_id_idx" ON "pages_blocks_link_block" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_link_block_path_idx" ON "pages_blocks_link_block" USING btree ("_path"); + CREATE INDEX "pages_blocks_link_block_locale_idx" ON "pages_blocks_link_block" USING btree ("_locale"); + CREATE INDEX "pages_blocks_card_link_order_idx" ON "pages_blocks_card_link" USING btree ("_order"); + CREATE INDEX "pages_blocks_card_link_parent_id_idx" ON "pages_blocks_card_link" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_card_link_path_idx" ON "pages_blocks_card_link" USING btree ("_path"); + CREATE INDEX "pages_blocks_card_link_locale_idx" ON "pages_blocks_card_link" USING btree ("_locale"); + CREATE INDEX "pages_blocks_card_link_image_idx" ON "pages_blocks_card_link" USING btree ("image_id"); + CREATE INDEX "pages_blocks_card_link_list_order_idx" ON "pages_blocks_card_link_list" USING btree ("_order"); + CREATE INDEX "pages_blocks_card_link_list_parent_id_idx" ON "pages_blocks_card_link_list" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_card_link_list_path_idx" ON "pages_blocks_card_link_list" USING btree ("_path"); + CREATE INDEX "pages_blocks_card_link_list_locale_idx" ON "pages_blocks_card_link_list" USING btree ("_locale"); + CREATE INDEX "pages_blocks_use_case_container_order_idx" ON "pages_blocks_use_case_container" USING btree ("_order"); + CREATE INDEX "pages_blocks_use_case_container_parent_id_idx" ON "pages_blocks_use_case_container" USING btree ("_parent_id"); + CREATE INDEX "pages_blocks_use_case_container_path_idx" ON "pages_blocks_use_case_container" USING btree ("_path"); + CREATE INDEX "pages_blocks_use_case_container_locale_idx" ON "pages_blocks_use_case_container" USING btree ("_locale"); + CREATE INDEX "pages_seo_seo_image_idx" ON "pages" USING btree ("seo_image_id"); + CREATE INDEX "pages_updated_at_idx" ON "pages" USING btree ("updated_at"); + CREATE INDEX "pages_created_at_idx" ON "pages" USING btree ("created_at"); + CREATE INDEX "pages_slug_idx" ON "pages_locales" USING btree ("slug","_locale"); + CREATE UNIQUE INDEX "pages_locales_locale_parent_id_unique" ON "pages_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "pages_rels_order_idx" ON "pages_rels" USING btree ("order"); + CREATE INDEX "pages_rels_parent_idx" ON "pages_rels" USING btree ("parent_id"); + CREATE INDEX "pages_rels_path_idx" ON "pages_rels" USING btree ("path"); + CREATE INDEX "pages_rels_locale_idx" ON "pages_rels" USING btree ("locale"); + CREATE INDEX "pages_rels_pages_id_idx" ON "pages_rels" USING btree ("pages_id","locale"); + CREATE INDEX "pages_rels_articles_id_idx" ON "pages_rels" USING btree ("articles_id","locale"); + CREATE INDEX "pages_rels_insights_id_idx" ON "pages_rels" USING btree ("insights_id","locale"); + CREATE INDEX "pages_rels_webinar_items_id_idx" ON "pages_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "pages_rels_story_items_id_idx" ON "pages_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "pages_rels_catalogues_id_idx" ON "pages_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "pages_rels_kpi_elements_id_idx" ON "pages_rels" USING btree ("kpi_elements_id","locale"); + CREATE INDEX "pages_rels_news_items_id_idx" ON "pages_rels" USING btree ("news_items_id","locale"); + CREATE INDEX "articles_blocks_topics_block_order_idx" ON "articles_blocks_topics_block" USING btree ("_order"); + CREATE INDEX "articles_blocks_topics_block_parent_id_idx" ON "articles_blocks_topics_block" USING btree ("_parent_id"); + CREATE INDEX "articles_blocks_topics_block_path_idx" ON "articles_blocks_topics_block" USING btree ("_path"); + CREATE INDEX "articles_blocks_topics_block_locale_idx" ON "articles_blocks_topics_block" USING btree ("_locale"); + CREATE INDEX "articles_seo_seo_image_idx" ON "articles" USING btree ("seo_image_id"); + CREATE INDEX "articles_updated_at_idx" ON "articles" USING btree ("updated_at"); + CREATE INDEX "articles_created_at_idx" ON "articles" USING btree ("created_at"); + CREATE INDEX "articles_parent_idx" ON "articles_locales" USING btree ("parent_id","_locale"); + CREATE INDEX "articles_slug_idx" ON "articles_locales" USING btree ("slug","_locale"); + CREATE INDEX "articles_image_idx" ON "articles_locales" USING btree ("image_id","_locale"); + CREATE UNIQUE INDEX "articles_locales_locale_parent_id_unique" ON "articles_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "articles_rels_order_idx" ON "articles_rels" USING btree ("order"); + CREATE INDEX "articles_rels_parent_idx" ON "articles_rels" USING btree ("parent_id"); + CREATE INDEX "articles_rels_path_idx" ON "articles_rels" USING btree ("path"); + CREATE INDEX "articles_rels_locale_idx" ON "articles_rels" USING btree ("locale"); + CREATE INDEX "articles_rels_article_topics_id_idx" ON "articles_rels" USING btree ("article_topics_id","locale"); + CREATE INDEX "articles_rels_news_topics_id_idx" ON "articles_rels" USING btree ("news_topics_id","locale"); + CREATE INDEX "articles_rels_story_topics_id_idx" ON "articles_rels" USING btree ("story_topics_id","locale"); + CREATE INDEX "articles_rels_insight_topics_id_idx" ON "articles_rels" USING btree ("insight_topics_id","locale"); + CREATE INDEX "articles_rels_resource_topics_id_idx" ON "articles_rels" USING btree ("resource_topics_id","locale"); + CREATE INDEX "articles_rels_webinar_topics_id_idx" ON "articles_rels" USING btree ("webinar_topics_id","locale"); + CREATE INDEX "insights_blocks_internal_link_order_idx" ON "insights_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "insights_blocks_internal_link_parent_id_idx" ON "insights_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_internal_link_path_idx" ON "insights_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "insights_blocks_internal_link_locale_idx" ON "insights_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "insights_blocks_external_link_order_idx" ON "insights_blocks_external_link" USING btree ("_order"); + CREATE INDEX "insights_blocks_external_link_parent_id_idx" ON "insights_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_external_link_path_idx" ON "insights_blocks_external_link" USING btree ("_path"); + CREATE INDEX "insights_blocks_external_link_locale_idx" ON "insights_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "insights_blocks_hero_order_idx" ON "insights_blocks_hero" USING btree ("_order"); + CREATE INDEX "insights_blocks_hero_parent_id_idx" ON "insights_blocks_hero" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_hero_path_idx" ON "insights_blocks_hero" USING btree ("_path"); + CREATE INDEX "insights_blocks_hero_locale_idx" ON "insights_blocks_hero" USING btree ("_locale"); + CREATE INDEX "insights_blocks_hero_background_image_idx" ON "insights_blocks_hero" USING btree ("background_image_id"); + CREATE INDEX "insights_blocks_hero_background_image_for_mobile_idx" ON "insights_blocks_hero" USING btree ("background_image_for_mobile_id"); + CREATE INDEX "insights_blocks_internal_link_2_order_idx" ON "insights_blocks_internal_link_2" USING btree ("_order"); + CREATE INDEX "insights_blocks_internal_link_2_parent_id_idx" ON "insights_blocks_internal_link_2" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_internal_link_2_path_idx" ON "insights_blocks_internal_link_2" USING btree ("_path"); + CREATE INDEX "insights_blocks_internal_link_2_locale_idx" ON "insights_blocks_internal_link_2" USING btree ("_locale"); + CREATE INDEX "insights_blocks_external_link_2_order_idx" ON "insights_blocks_external_link_2" USING btree ("_order"); + CREATE INDEX "insights_blocks_external_link_2_parent_id_idx" ON "insights_blocks_external_link_2" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_external_link_2_path_idx" ON "insights_blocks_external_link_2" USING btree ("_path"); + CREATE INDEX "insights_blocks_external_link_2_locale_idx" ON "insights_blocks_external_link_2" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_block_order_idx" ON "insights_blocks_text_block" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_block_parent_id_idx" ON "insights_blocks_text_block" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_block_path_idx" ON "insights_blocks_text_block" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_block_locale_idx" ON "insights_blocks_text_block" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_only_order_idx" ON "insights_blocks_text_only" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_only_parent_id_idx" ON "insights_blocks_text_only" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_only_path_idx" ON "insights_blocks_text_only" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_only_locale_idx" ON "insights_blocks_text_only" USING btree ("_locale"); + CREATE INDEX "insights_blocks_internal_link_3_order_idx" ON "insights_blocks_internal_link_3" USING btree ("_order"); + CREATE INDEX "insights_blocks_internal_link_3_parent_id_idx" ON "insights_blocks_internal_link_3" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_internal_link_3_path_idx" ON "insights_blocks_internal_link_3" USING btree ("_path"); + CREATE INDEX "insights_blocks_internal_link_3_locale_idx" ON "insights_blocks_internal_link_3" USING btree ("_locale"); + CREATE INDEX "insights_blocks_external_link_3_order_idx" ON "insights_blocks_external_link_3" USING btree ("_order"); + CREATE INDEX "insights_blocks_external_link_3_parent_id_idx" ON "insights_blocks_external_link_3" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_external_link_3_path_idx" ON "insights_blocks_external_link_3" USING btree ("_path"); + CREATE INDEX "insights_blocks_external_link_3_locale_idx" ON "insights_blocks_external_link_3" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_block_2_order_idx" ON "insights_blocks_text_block_2" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_block_2_parent_id_idx" ON "insights_blocks_text_block_2" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_block_2_path_idx" ON "insights_blocks_text_block_2" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_block_2_locale_idx" ON "insights_blocks_text_block_2" USING btree ("_locale"); + CREATE INDEX "insights_blocks_card_editorial_with_icon_order_idx" ON "insights_blocks_card_editorial_with_icon" USING btree ("_order"); + CREATE INDEX "insights_blocks_card_editorial_with_icon_parent_id_idx" ON "insights_blocks_card_editorial_with_icon" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_card_editorial_with_icon_path_idx" ON "insights_blocks_card_editorial_with_icon" USING btree ("_path"); + CREATE INDEX "insights_blocks_card_editorial_with_icon_locale_idx" ON "insights_blocks_card_editorial_with_icon" USING btree ("_locale"); + CREATE INDEX "insights_blocks_additional_content_order_idx" ON "insights_blocks_additional_content" USING btree ("_order"); + CREATE INDEX "insights_blocks_additional_content_parent_id_idx" ON "insights_blocks_additional_content" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_additional_content_path_idx" ON "insights_blocks_additional_content" USING btree ("_path"); + CREATE INDEX "insights_blocks_additional_content_locale_idx" ON "insights_blocks_additional_content" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_image_order_idx" ON "insights_blocks_text_image" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_image_parent_id_idx" ON "insights_blocks_text_image" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_image_path_idx" ON "insights_blocks_text_image" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_image_locale_idx" ON "insights_blocks_text_image" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_image_image_idx" ON "insights_blocks_text_image" USING btree ("image_id"); + CREATE INDEX "insights_blocks_news_tab_order_idx" ON "insights_blocks_news_tab" USING btree ("_order"); + CREATE INDEX "insights_blocks_news_tab_parent_id_idx" ON "insights_blocks_news_tab" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_news_tab_path_idx" ON "insights_blocks_news_tab" USING btree ("_path"); + CREATE INDEX "insights_blocks_news_tab_locale_idx" ON "insights_blocks_news_tab" USING btree ("_locale"); + CREATE INDEX "insights_blocks_story_tab_order_idx" ON "insights_blocks_story_tab" USING btree ("_order"); + CREATE INDEX "insights_blocks_story_tab_parent_id_idx" ON "insights_blocks_story_tab" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_story_tab_path_idx" ON "insights_blocks_story_tab" USING btree ("_path"); + CREATE INDEX "insights_blocks_story_tab_locale_idx" ON "insights_blocks_story_tab" USING btree ("_locale"); + CREATE INDEX "insights_blocks_internal_link_4_order_idx" ON "insights_blocks_internal_link_4" USING btree ("_order"); + CREATE INDEX "insights_blocks_internal_link_4_parent_id_idx" ON "insights_blocks_internal_link_4" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_internal_link_4_path_idx" ON "insights_blocks_internal_link_4" USING btree ("_path"); + CREATE INDEX "insights_blocks_internal_link_4_locale_idx" ON "insights_blocks_internal_link_4" USING btree ("_locale"); + CREATE INDEX "insights_blocks_external_link_4_order_idx" ON "insights_blocks_external_link_4" USING btree ("_order"); + CREATE INDEX "insights_blocks_external_link_4_parent_id_idx" ON "insights_blocks_external_link_4" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_external_link_4_path_idx" ON "insights_blocks_external_link_4" USING btree ("_path"); + CREATE INDEX "insights_blocks_external_link_4_locale_idx" ON "insights_blocks_external_link_4" USING btree ("_locale"); + CREATE INDEX "insights_blocks_news_feed_order_idx" ON "insights_blocks_news_feed" USING btree ("_order"); + CREATE INDEX "insights_blocks_news_feed_parent_id_idx" ON "insights_blocks_news_feed" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_news_feed_path_idx" ON "insights_blocks_news_feed" USING btree ("_path"); + CREATE INDEX "insights_blocks_news_feed_locale_idx" ON "insights_blocks_news_feed" USING btree ("_locale"); + CREATE INDEX "insights_blocks_channel_order_idx" ON "insights_blocks_channel" USING btree ("_order"); + CREATE INDEX "insights_blocks_channel_parent_id_idx" ON "insights_blocks_channel" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_channel_path_idx" ON "insights_blocks_channel" USING btree ("_path"); + CREATE INDEX "insights_blocks_channel_locale_idx" ON "insights_blocks_channel" USING btree ("_locale"); + CREATE INDEX "insights_blocks_support_channels_section_order_idx" ON "insights_blocks_support_channels_section" USING btree ("_order"); + CREATE INDEX "insights_blocks_support_channels_section_parent_id_idx" ON "insights_blocks_support_channels_section" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_support_channels_section_path_idx" ON "insights_blocks_support_channels_section" USING btree ("_path"); + CREATE INDEX "insights_blocks_support_channels_section_locale_idx" ON "insights_blocks_support_channels_section" USING btree ("_locale"); + CREATE INDEX "insights_blocks_internal_link_5_order_idx" ON "insights_blocks_internal_link_5" USING btree ("_order"); + CREATE INDEX "insights_blocks_internal_link_5_parent_id_idx" ON "insights_blocks_internal_link_5" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_internal_link_5_path_idx" ON "insights_blocks_internal_link_5" USING btree ("_path"); + CREATE INDEX "insights_blocks_internal_link_5_locale_idx" ON "insights_blocks_internal_link_5" USING btree ("_locale"); + CREATE INDEX "insights_blocks_external_link_5_order_idx" ON "insights_blocks_external_link_5" USING btree ("_order"); + CREATE INDEX "insights_blocks_external_link_5_parent_id_idx" ON "insights_blocks_external_link_5" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_external_link_5_path_idx" ON "insights_blocks_external_link_5" USING btree ("_path"); + CREATE INDEX "insights_blocks_external_link_5_locale_idx" ON "insights_blocks_external_link_5" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_block_3_order_idx" ON "insights_blocks_text_block_3" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_block_3_parent_id_idx" ON "insights_blocks_text_block_3" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_block_3_path_idx" ON "insights_blocks_text_block_3" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_block_3_locale_idx" ON "insights_blocks_text_block_3" USING btree ("_locale"); + CREATE INDEX "insights_blocks_use_case_block_order_idx" ON "insights_blocks_use_case_block" USING btree ("_order"); + CREATE INDEX "insights_blocks_use_case_block_parent_id_idx" ON "insights_blocks_use_case_block" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_use_case_block_path_idx" ON "insights_blocks_use_case_block" USING btree ("_path"); + CREATE INDEX "insights_blocks_use_case_block_locale_idx" ON "insights_blocks_use_case_block" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_use_case_order_idx" ON "insights_blocks_text_use_case" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_use_case_parent_id_idx" ON "insights_blocks_text_use_case" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_use_case_path_idx" ON "insights_blocks_text_use_case" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_use_case_locale_idx" ON "insights_blocks_text_use_case" USING btree ("_locale"); + CREATE INDEX "insights_blocks_internal_link_6_order_idx" ON "insights_blocks_internal_link_6" USING btree ("_order"); + CREATE INDEX "insights_blocks_internal_link_6_parent_id_idx" ON "insights_blocks_internal_link_6" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_internal_link_6_path_idx" ON "insights_blocks_internal_link_6" USING btree ("_path"); + CREATE INDEX "insights_blocks_internal_link_6_locale_idx" ON "insights_blocks_internal_link_6" USING btree ("_locale"); + CREATE INDEX "insights_blocks_external_link_6_order_idx" ON "insights_blocks_external_link_6" USING btree ("_order"); + CREATE INDEX "insights_blocks_external_link_6_parent_id_idx" ON "insights_blocks_external_link_6" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_external_link_6_path_idx" ON "insights_blocks_external_link_6" USING btree ("_path"); + CREATE INDEX "insights_blocks_external_link_6_locale_idx" ON "insights_blocks_external_link_6" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_block_4_order_idx" ON "insights_blocks_text_block_4" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_block_4_parent_id_idx" ON "insights_blocks_text_block_4" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_block_4_path_idx" ON "insights_blocks_text_block_4" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_block_4_locale_idx" ON "insights_blocks_text_block_4" USING btree ("_locale"); + CREATE INDEX "insights_blocks_data_container_order_idx" ON "insights_blocks_data_container" USING btree ("_order"); + CREATE INDEX "insights_blocks_data_container_parent_id_idx" ON "insights_blocks_data_container" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_data_container_path_idx" ON "insights_blocks_data_container" USING btree ("_path"); + CREATE INDEX "insights_blocks_data_container_locale_idx" ON "insights_blocks_data_container" USING btree ("_locale"); + CREATE INDEX "insights_blocks_statistic_block_order_idx" ON "insights_blocks_statistic_block" USING btree ("_order"); + CREATE INDEX "insights_blocks_statistic_block_parent_id_idx" ON "insights_blocks_statistic_block" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_statistic_block_path_idx" ON "insights_blocks_statistic_block" USING btree ("_path"); + CREATE INDEX "insights_blocks_statistic_block_locale_idx" ON "insights_blocks_statistic_block" USING btree ("_locale"); + CREATE INDEX "insights_blocks_text_statistic_order_idx" ON "insights_blocks_text_statistic" USING btree ("_order"); + CREATE INDEX "insights_blocks_text_statistic_parent_id_idx" ON "insights_blocks_text_statistic" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_text_statistic_path_idx" ON "insights_blocks_text_statistic" USING btree ("_path"); + CREATE INDEX "insights_blocks_text_statistic_locale_idx" ON "insights_blocks_text_statistic" USING btree ("_locale"); + CREATE INDEX "insights_blocks_link_block_order_idx" ON "insights_blocks_link_block" USING btree ("_order"); + CREATE INDEX "insights_blocks_link_block_parent_id_idx" ON "insights_blocks_link_block" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_link_block_path_idx" ON "insights_blocks_link_block" USING btree ("_path"); + CREATE INDEX "insights_blocks_link_block_locale_idx" ON "insights_blocks_link_block" USING btree ("_locale"); + CREATE INDEX "insights_blocks_card_link_order_idx" ON "insights_blocks_card_link" USING btree ("_order"); + CREATE INDEX "insights_blocks_card_link_parent_id_idx" ON "insights_blocks_card_link" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_card_link_path_idx" ON "insights_blocks_card_link" USING btree ("_path"); + CREATE INDEX "insights_blocks_card_link_locale_idx" ON "insights_blocks_card_link" USING btree ("_locale"); + CREATE INDEX "insights_blocks_card_link_image_idx" ON "insights_blocks_card_link" USING btree ("image_id"); + CREATE INDEX "insights_blocks_card_link_list_order_idx" ON "insights_blocks_card_link_list" USING btree ("_order"); + CREATE INDEX "insights_blocks_card_link_list_parent_id_idx" ON "insights_blocks_card_link_list" USING btree ("_parent_id"); + CREATE INDEX "insights_blocks_card_link_list_path_idx" ON "insights_blocks_card_link_list" USING btree ("_path"); + CREATE INDEX "insights_blocks_card_link_list_locale_idx" ON "insights_blocks_card_link_list" USING btree ("_locale"); + CREATE INDEX "insights_seo_seo_image_idx" ON "insights" USING btree ("seo_image_id"); + CREATE INDEX "insights_updated_at_idx" ON "insights" USING btree ("updated_at"); + CREATE INDEX "insights_created_at_idx" ON "insights" USING btree ("created_at"); + CREATE INDEX "insights_parent_idx" ON "insights_locales" USING btree ("parent_id","_locale"); + CREATE INDEX "insights_image_idx" ON "insights_locales" USING btree ("image_id","_locale"); + CREATE INDEX "insights_slug_idx" ON "insights_locales" USING btree ("slug","_locale"); + CREATE INDEX "insights_topic_idx" ON "insights_locales" USING btree ("topic_id","_locale"); + CREATE UNIQUE INDEX "insights_locales_locale_parent_id_unique" ON "insights_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "insights_rels_order_idx" ON "insights_rels" USING btree ("order"); + CREATE INDEX "insights_rels_parent_idx" ON "insights_rels" USING btree ("parent_id"); + CREATE INDEX "insights_rels_path_idx" ON "insights_rels" USING btree ("path"); + CREATE INDEX "insights_rels_locale_idx" ON "insights_rels" USING btree ("locale"); + CREATE INDEX "insights_rels_pages_id_idx" ON "insights_rels" USING btree ("pages_id","locale"); + CREATE INDEX "insights_rels_articles_id_idx" ON "insights_rels" USING btree ("articles_id","locale"); + CREATE INDEX "insights_rels_insights_id_idx" ON "insights_rels" USING btree ("insights_id","locale"); + CREATE INDEX "insights_rels_webinar_items_id_idx" ON "insights_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "insights_rels_story_items_id_idx" ON "insights_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "insights_rels_catalogues_id_idx" ON "insights_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "insights_rels_news_items_id_idx" ON "insights_rels" USING btree ("news_items_id","locale"); + CREATE INDEX "insights_rels_kpi_elements_id_idx" ON "insights_rels" USING btree ("kpi_elements_id","locale"); + CREATE INDEX "webinar_items_blocks_internal_link_order_idx" ON "webinar_items_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_internal_link_parent_id_idx" ON "webinar_items_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_internal_link_path_idx" ON "webinar_items_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_internal_link_locale_idx" ON "webinar_items_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_external_link_order_idx" ON "webinar_items_blocks_external_link" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_external_link_parent_id_idx" ON "webinar_items_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_external_link_path_idx" ON "webinar_items_blocks_external_link" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_external_link_locale_idx" ON "webinar_items_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_hero_order_idx" ON "webinar_items_blocks_hero" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_hero_parent_id_idx" ON "webinar_items_blocks_hero" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_hero_path_idx" ON "webinar_items_blocks_hero" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_hero_locale_idx" ON "webinar_items_blocks_hero" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_hero_background_image_idx" ON "webinar_items_blocks_hero" USING btree ("background_image_id"); + CREATE INDEX "webinar_items_blocks_hero_background_image_for_mobile_idx" ON "webinar_items_blocks_hero" USING btree ("background_image_for_mobile_id"); + CREATE INDEX "webinar_items_blocks_download_link_order_idx" ON "webinar_items_blocks_download_link" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_download_link_parent_id_idx" ON "webinar_items_blocks_download_link" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_download_link_path_idx" ON "webinar_items_blocks_download_link" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_download_link_locale_idx" ON "webinar_items_blocks_download_link" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_download_link_doc_idx" ON "webinar_items_blocks_download_link" USING btree ("doc_id"); + CREATE INDEX "webinar_items_blocks_action_card_order_idx" ON "webinar_items_blocks_action_card" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_action_card_parent_id_idx" ON "webinar_items_blocks_action_card" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_action_card_path_idx" ON "webinar_items_blocks_action_card" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_action_card_locale_idx" ON "webinar_items_blocks_action_card" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_internal_link_2_order_idx" ON "webinar_items_blocks_internal_link_2" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_internal_link_2_parent_id_idx" ON "webinar_items_blocks_internal_link_2" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_internal_link_2_path_idx" ON "webinar_items_blocks_internal_link_2" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_internal_link_2_locale_idx" ON "webinar_items_blocks_internal_link_2" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_external_link_2_order_idx" ON "webinar_items_blocks_external_link_2" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_external_link_2_parent_id_idx" ON "webinar_items_blocks_external_link_2" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_external_link_2_path_idx" ON "webinar_items_blocks_external_link_2" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_external_link_2_locale_idx" ON "webinar_items_blocks_external_link_2" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_text_block_order_idx" ON "webinar_items_blocks_text_block" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_text_block_parent_id_idx" ON "webinar_items_blocks_text_block" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_text_block_path_idx" ON "webinar_items_blocks_text_block" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_text_block_locale_idx" ON "webinar_items_blocks_text_block" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_author_list_order_idx" ON "webinar_items_blocks_author_list" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_author_list_parent_id_idx" ON "webinar_items_blocks_author_list" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_author_list_path_idx" ON "webinar_items_blocks_author_list" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_author_list_locale_idx" ON "webinar_items_blocks_author_list" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_speaker_order_idx" ON "webinar_items_blocks_speaker" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_speaker_parent_id_idx" ON "webinar_items_blocks_speaker" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_speaker_path_idx" ON "webinar_items_blocks_speaker" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_speaker_locale_idx" ON "webinar_items_blocks_speaker" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_internal_link_3_order_idx" ON "webinar_items_blocks_internal_link_3" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_internal_link_3_parent_id_idx" ON "webinar_items_blocks_internal_link_3" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_internal_link_3_path_idx" ON "webinar_items_blocks_internal_link_3" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_internal_link_3_locale_idx" ON "webinar_items_blocks_internal_link_3" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_external_link_3_order_idx" ON "webinar_items_blocks_external_link_3" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_external_link_3_parent_id_idx" ON "webinar_items_blocks_external_link_3" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_external_link_3_path_idx" ON "webinar_items_blocks_external_link_3" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_external_link_3_locale_idx" ON "webinar_items_blocks_external_link_3" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_text_block_2_order_idx" ON "webinar_items_blocks_text_block_2" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_text_block_2_parent_id_idx" ON "webinar_items_blocks_text_block_2" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_text_block_2_path_idx" ON "webinar_items_blocks_text_block_2" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_text_block_2_locale_idx" ON "webinar_items_blocks_text_block_2" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_list_item_order_idx" ON "webinar_items_blocks_list_item" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_list_item_parent_id_idx" ON "webinar_items_blocks_list_item" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_list_item_path_idx" ON "webinar_items_blocks_list_item" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_list_item_locale_idx" ON "webinar_items_blocks_list_item" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_feature_list_order_idx" ON "webinar_items_blocks_feature_list" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_feature_list_parent_id_idx" ON "webinar_items_blocks_feature_list" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_feature_list_path_idx" ON "webinar_items_blocks_feature_list" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_feature_list_locale_idx" ON "webinar_items_blocks_feature_list" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_quick_link_card_order_idx" ON "webinar_items_blocks_quick_link_card" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_quick_link_card_parent_id_idx" ON "webinar_items_blocks_quick_link_card" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_quick_link_card_path_idx" ON "webinar_items_blocks_quick_link_card" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_quick_link_card_locale_idx" ON "webinar_items_blocks_quick_link_card" USING btree ("_locale"); + CREATE INDEX "webinar_items_blocks_webinar_description_order_idx" ON "webinar_items_blocks_webinar_description" USING btree ("_order"); + CREATE INDEX "webinar_items_blocks_webinar_description_parent_id_idx" ON "webinar_items_blocks_webinar_description" USING btree ("_parent_id"); + CREATE INDEX "webinar_items_blocks_webinar_description_path_idx" ON "webinar_items_blocks_webinar_description" USING btree ("_path"); + CREATE INDEX "webinar_items_blocks_webinar_description_locale_idx" ON "webinar_items_blocks_webinar_description" USING btree ("_locale"); + CREATE INDEX "webinar_items_image_idx" ON "webinar_items" USING btree ("image_id"); + CREATE INDEX "webinar_items_seo_seo_image_idx" ON "webinar_items" USING btree ("seo_image_id"); + CREATE INDEX "webinar_items_updated_at_idx" ON "webinar_items" USING btree ("updated_at"); + CREATE INDEX "webinar_items_created_at_idx" ON "webinar_items" USING btree ("created_at"); + CREATE INDEX "webinar_items_slug_idx" ON "webinar_items_locales" USING btree ("slug","_locale"); + CREATE INDEX "webinar_items_parent_idx" ON "webinar_items_locales" USING btree ("parent_id","_locale"); + CREATE INDEX "webinar_items_topic_idx" ON "webinar_items_locales" USING btree ("topic_id","_locale"); + CREATE UNIQUE INDEX "webinar_items_locales_locale_parent_id_unique" ON "webinar_items_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "webinar_items_rels_order_idx" ON "webinar_items_rels" USING btree ("order"); + CREATE INDEX "webinar_items_rels_parent_idx" ON "webinar_items_rels" USING btree ("parent_id"); + CREATE INDEX "webinar_items_rels_path_idx" ON "webinar_items_rels" USING btree ("path"); + CREATE INDEX "webinar_items_rels_locale_idx" ON "webinar_items_rels" USING btree ("locale"); + CREATE INDEX "webinar_items_rels_pages_id_idx" ON "webinar_items_rels" USING btree ("pages_id","locale"); + CREATE INDEX "webinar_items_rels_articles_id_idx" ON "webinar_items_rels" USING btree ("articles_id","locale"); + CREATE INDEX "webinar_items_rels_insights_id_idx" ON "webinar_items_rels" USING btree ("insights_id","locale"); + CREATE INDEX "webinar_items_rels_webinar_items_id_idx" ON "webinar_items_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "webinar_items_rels_story_items_id_idx" ON "webinar_items_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "webinar_items_rels_catalogues_id_idx" ON "webinar_items_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "webinar_items_rels_webinar_authors_id_idx" ON "webinar_items_rels" USING btree ("webinar_authors_id","locale"); + CREATE INDEX "story_items_blocks_internal_link_order_idx" ON "story_items_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "story_items_blocks_internal_link_parent_id_idx" ON "story_items_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_internal_link_path_idx" ON "story_items_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "story_items_blocks_internal_link_locale_idx" ON "story_items_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_external_link_order_idx" ON "story_items_blocks_external_link" USING btree ("_order"); + CREATE INDEX "story_items_blocks_external_link_parent_id_idx" ON "story_items_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_external_link_path_idx" ON "story_items_blocks_external_link" USING btree ("_path"); + CREATE INDEX "story_items_blocks_external_link_locale_idx" ON "story_items_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_hero_order_idx" ON "story_items_blocks_hero" USING btree ("_order"); + CREATE INDEX "story_items_blocks_hero_parent_id_idx" ON "story_items_blocks_hero" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_hero_path_idx" ON "story_items_blocks_hero" USING btree ("_path"); + CREATE INDEX "story_items_blocks_hero_locale_idx" ON "story_items_blocks_hero" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_hero_background_image_idx" ON "story_items_blocks_hero" USING btree ("background_image_id"); + CREATE INDEX "story_items_blocks_hero_background_image_for_mobile_idx" ON "story_items_blocks_hero" USING btree ("background_image_for_mobile_id"); + CREATE INDEX "story_items_blocks_accordion_item_order_idx" ON "story_items_blocks_accordion_item" USING btree ("_order"); + CREATE INDEX "story_items_blocks_accordion_item_parent_id_idx" ON "story_items_blocks_accordion_item" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_accordion_item_path_idx" ON "story_items_blocks_accordion_item" USING btree ("_path"); + CREATE INDEX "story_items_blocks_accordion_item_locale_idx" ON "story_items_blocks_accordion_item" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_accordion_order_idx" ON "story_items_blocks_accordion" USING btree ("_order"); + CREATE INDEX "story_items_blocks_accordion_parent_id_idx" ON "story_items_blocks_accordion" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_accordion_path_idx" ON "story_items_blocks_accordion" USING btree ("_path"); + CREATE INDEX "story_items_blocks_accordion_locale_idx" ON "story_items_blocks_accordion" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_accordion_block_order_idx" ON "story_items_blocks_accordion_block" USING btree ("_order"); + CREATE INDEX "story_items_blocks_accordion_block_parent_id_idx" ON "story_items_blocks_accordion_block" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_accordion_block_path_idx" ON "story_items_blocks_accordion_block" USING btree ("_path"); + CREATE INDEX "story_items_blocks_accordion_block_locale_idx" ON "story_items_blocks_accordion_block" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_faq_section_order_idx" ON "story_items_blocks_faq_section" USING btree ("_order"); + CREATE INDEX "story_items_blocks_faq_section_parent_id_idx" ON "story_items_blocks_faq_section" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_faq_section_path_idx" ON "story_items_blocks_faq_section" USING btree ("_path"); + CREATE INDEX "story_items_blocks_faq_section_locale_idx" ON "story_items_blocks_faq_section" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_internal_link_2_order_idx" ON "story_items_blocks_internal_link_2" USING btree ("_order"); + CREATE INDEX "story_items_blocks_internal_link_2_parent_id_idx" ON "story_items_blocks_internal_link_2" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_internal_link_2_path_idx" ON "story_items_blocks_internal_link_2" USING btree ("_path"); + CREATE INDEX "story_items_blocks_internal_link_2_locale_idx" ON "story_items_blocks_internal_link_2" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_external_link_2_order_idx" ON "story_items_blocks_external_link_2" USING btree ("_order"); + CREATE INDEX "story_items_blocks_external_link_2_parent_id_idx" ON "story_items_blocks_external_link_2" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_external_link_2_path_idx" ON "story_items_blocks_external_link_2" USING btree ("_path"); + CREATE INDEX "story_items_blocks_external_link_2_locale_idx" ON "story_items_blocks_external_link_2" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_block_order_idx" ON "story_items_blocks_text_block" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_block_parent_id_idx" ON "story_items_blocks_text_block" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_block_path_idx" ON "story_items_blocks_text_block" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_block_locale_idx" ON "story_items_blocks_text_block" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_only_order_idx" ON "story_items_blocks_text_only" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_only_parent_id_idx" ON "story_items_blocks_text_only" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_only_path_idx" ON "story_items_blocks_text_only" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_only_locale_idx" ON "story_items_blocks_text_only" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_structured_text_block_order_idx" ON "story_items_blocks_structured_text_block" USING btree ("_order"); + CREATE INDEX "story_items_blocks_structured_text_block_parent_id_idx" ON "story_items_blocks_structured_text_block" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_structured_text_block_path_idx" ON "story_items_blocks_structured_text_block" USING btree ("_path"); + CREATE INDEX "story_items_blocks_structured_text_block_locale_idx" ON "story_items_blocks_structured_text_block" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_internal_link_3_order_idx" ON "story_items_blocks_internal_link_3" USING btree ("_order"); + CREATE INDEX "story_items_blocks_internal_link_3_parent_id_idx" ON "story_items_blocks_internal_link_3" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_internal_link_3_path_idx" ON "story_items_blocks_internal_link_3" USING btree ("_path"); + CREATE INDEX "story_items_blocks_internal_link_3_locale_idx" ON "story_items_blocks_internal_link_3" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_external_link_3_order_idx" ON "story_items_blocks_external_link_3" USING btree ("_order"); + CREATE INDEX "story_items_blocks_external_link_3_parent_id_idx" ON "story_items_blocks_external_link_3" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_external_link_3_path_idx" ON "story_items_blocks_external_link_3" USING btree ("_path"); + CREATE INDEX "story_items_blocks_external_link_3_locale_idx" ON "story_items_blocks_external_link_3" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_block_2_order_idx" ON "story_items_blocks_text_block_2" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_block_2_parent_id_idx" ON "story_items_blocks_text_block_2" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_block_2_path_idx" ON "story_items_blocks_text_block_2" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_block_2_locale_idx" ON "story_items_blocks_text_block_2" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_card_editorial_with_icon_order_idx" ON "story_items_blocks_card_editorial_with_icon" USING btree ("_order"); + CREATE INDEX "story_items_blocks_card_editorial_with_icon_parent_id_idx" ON "story_items_blocks_card_editorial_with_icon" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_card_editorial_with_icon_path_idx" ON "story_items_blocks_card_editorial_with_icon" USING btree ("_path"); + CREATE INDEX "story_items_blocks_card_editorial_with_icon_locale_idx" ON "story_items_blocks_card_editorial_with_icon" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_additional_content_order_idx" ON "story_items_blocks_additional_content" USING btree ("_order"); + CREATE INDEX "story_items_blocks_additional_content_parent_id_idx" ON "story_items_blocks_additional_content" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_additional_content_path_idx" ON "story_items_blocks_additional_content" USING btree ("_path"); + CREATE INDEX "story_items_blocks_additional_content_locale_idx" ON "story_items_blocks_additional_content" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_image_order_idx" ON "story_items_blocks_text_image" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_image_parent_id_idx" ON "story_items_blocks_text_image" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_image_path_idx" ON "story_items_blocks_text_image" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_image_locale_idx" ON "story_items_blocks_text_image" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_image_image_idx" ON "story_items_blocks_text_image" USING btree ("image_id"); + CREATE INDEX "story_items_blocks_channel_order_idx" ON "story_items_blocks_channel" USING btree ("_order"); + CREATE INDEX "story_items_blocks_channel_parent_id_idx" ON "story_items_blocks_channel" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_channel_path_idx" ON "story_items_blocks_channel" USING btree ("_path"); + CREATE INDEX "story_items_blocks_channel_locale_idx" ON "story_items_blocks_channel" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_support_channels_section_order_idx" ON "story_items_blocks_support_channels_section" USING btree ("_order"); + CREATE INDEX "story_items_blocks_support_channels_section_parent_id_idx" ON "story_items_blocks_support_channels_section" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_support_channels_section_path_idx" ON "story_items_blocks_support_channels_section" USING btree ("_path"); + CREATE INDEX "story_items_blocks_support_channels_section_locale_idx" ON "story_items_blocks_support_channels_section" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_internal_link_4_order_idx" ON "story_items_blocks_internal_link_4" USING btree ("_order"); + CREATE INDEX "story_items_blocks_internal_link_4_parent_id_idx" ON "story_items_blocks_internal_link_4" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_internal_link_4_path_idx" ON "story_items_blocks_internal_link_4" USING btree ("_path"); + CREATE INDEX "story_items_blocks_internal_link_4_locale_idx" ON "story_items_blocks_internal_link_4" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_external_link_4_order_idx" ON "story_items_blocks_external_link_4" USING btree ("_order"); + CREATE INDEX "story_items_blocks_external_link_4_parent_id_idx" ON "story_items_blocks_external_link_4" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_external_link_4_path_idx" ON "story_items_blocks_external_link_4" USING btree ("_path"); + CREATE INDEX "story_items_blocks_external_link_4_locale_idx" ON "story_items_blocks_external_link_4" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_block_3_order_idx" ON "story_items_blocks_text_block_3" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_block_3_parent_id_idx" ON "story_items_blocks_text_block_3" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_block_3_path_idx" ON "story_items_blocks_text_block_3" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_block_3_locale_idx" ON "story_items_blocks_text_block_3" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_accordion_item_2_order_idx" ON "story_items_blocks_accordion_item_2" USING btree ("_order"); + CREATE INDEX "story_items_blocks_accordion_item_2_parent_id_idx" ON "story_items_blocks_accordion_item_2" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_accordion_item_2_path_idx" ON "story_items_blocks_accordion_item_2" USING btree ("_path"); + CREATE INDEX "story_items_blocks_accordion_item_2_locale_idx" ON "story_items_blocks_accordion_item_2" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_accordion_2_order_idx" ON "story_items_blocks_accordion_2" USING btree ("_order"); + CREATE INDEX "story_items_blocks_accordion_2_parent_id_idx" ON "story_items_blocks_accordion_2" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_accordion_2_path_idx" ON "story_items_blocks_accordion_2" USING btree ("_path"); + CREATE INDEX "story_items_blocks_accordion_2_locale_idx" ON "story_items_blocks_accordion_2" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_accordion_block_2_order_idx" ON "story_items_blocks_accordion_block_2" USING btree ("_order"); + CREATE INDEX "story_items_blocks_accordion_block_2_parent_id_idx" ON "story_items_blocks_accordion_block_2" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_accordion_block_2_path_idx" ON "story_items_blocks_accordion_block_2" USING btree ("_path"); + CREATE INDEX "story_items_blocks_accordion_block_2_locale_idx" ON "story_items_blocks_accordion_block_2" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_accordion_order_idx" ON "story_items_blocks_text_accordion" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_accordion_parent_id_idx" ON "story_items_blocks_text_accordion" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_accordion_path_idx" ON "story_items_blocks_text_accordion" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_accordion_locale_idx" ON "story_items_blocks_text_accordion" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_list_collection_order_idx" ON "story_items_blocks_list_collection" USING btree ("_order"); + CREATE INDEX "story_items_blocks_list_collection_parent_id_idx" ON "story_items_blocks_list_collection" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_list_collection_path_idx" ON "story_items_blocks_list_collection" USING btree ("_path"); + CREATE INDEX "story_items_blocks_list_collection_locale_idx" ON "story_items_blocks_list_collection" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_internal_link_5_order_idx" ON "story_items_blocks_internal_link_5" USING btree ("_order"); + CREATE INDEX "story_items_blocks_internal_link_5_parent_id_idx" ON "story_items_blocks_internal_link_5" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_internal_link_5_path_idx" ON "story_items_blocks_internal_link_5" USING btree ("_path"); + CREATE INDEX "story_items_blocks_internal_link_5_locale_idx" ON "story_items_blocks_internal_link_5" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_external_link_5_order_idx" ON "story_items_blocks_external_link_5" USING btree ("_order"); + CREATE INDEX "story_items_blocks_external_link_5_parent_id_idx" ON "story_items_blocks_external_link_5" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_external_link_5_path_idx" ON "story_items_blocks_external_link_5" USING btree ("_path"); + CREATE INDEX "story_items_blocks_external_link_5_locale_idx" ON "story_items_blocks_external_link_5" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_support_cta_section_order_idx" ON "story_items_blocks_support_cta_section" USING btree ("_order"); + CREATE INDEX "story_items_blocks_support_cta_section_parent_id_idx" ON "story_items_blocks_support_cta_section" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_support_cta_section_path_idx" ON "story_items_blocks_support_cta_section" USING btree ("_path"); + CREATE INDEX "story_items_blocks_support_cta_section_locale_idx" ON "story_items_blocks_support_cta_section" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_support_cta_section_image_idx" ON "story_items_blocks_support_cta_section" USING btree ("image_id"); + CREATE INDEX "story_items_blocks_internal_link_6_order_idx" ON "story_items_blocks_internal_link_6" USING btree ("_order"); + CREATE INDEX "story_items_blocks_internal_link_6_parent_id_idx" ON "story_items_blocks_internal_link_6" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_internal_link_6_path_idx" ON "story_items_blocks_internal_link_6" USING btree ("_path"); + CREATE INDEX "story_items_blocks_internal_link_6_locale_idx" ON "story_items_blocks_internal_link_6" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_external_link_6_order_idx" ON "story_items_blocks_external_link_6" USING btree ("_order"); + CREATE INDEX "story_items_blocks_external_link_6_parent_id_idx" ON "story_items_blocks_external_link_6" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_external_link_6_path_idx" ON "story_items_blocks_external_link_6" USING btree ("_path"); + CREATE INDEX "story_items_blocks_external_link_6_locale_idx" ON "story_items_blocks_external_link_6" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_block_4_order_idx" ON "story_items_blocks_text_block_4" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_block_4_parent_id_idx" ON "story_items_blocks_text_block_4" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_block_4_path_idx" ON "story_items_blocks_text_block_4" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_block_4_locale_idx" ON "story_items_blocks_text_block_4" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_use_case_block_order_idx" ON "story_items_blocks_use_case_block" USING btree ("_order"); + CREATE INDEX "story_items_blocks_use_case_block_parent_id_idx" ON "story_items_blocks_use_case_block" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_use_case_block_path_idx" ON "story_items_blocks_use_case_block" USING btree ("_path"); + CREATE INDEX "story_items_blocks_use_case_block_locale_idx" ON "story_items_blocks_use_case_block" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_use_case_order_idx" ON "story_items_blocks_text_use_case" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_use_case_parent_id_idx" ON "story_items_blocks_text_use_case" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_use_case_path_idx" ON "story_items_blocks_text_use_case" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_use_case_locale_idx" ON "story_items_blocks_text_use_case" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_internal_link_7_order_idx" ON "story_items_blocks_internal_link_7" USING btree ("_order"); + CREATE INDEX "story_items_blocks_internal_link_7_parent_id_idx" ON "story_items_blocks_internal_link_7" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_internal_link_7_path_idx" ON "story_items_blocks_internal_link_7" USING btree ("_path"); + CREATE INDEX "story_items_blocks_internal_link_7_locale_idx" ON "story_items_blocks_internal_link_7" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_external_link_7_order_idx" ON "story_items_blocks_external_link_7" USING btree ("_order"); + CREATE INDEX "story_items_blocks_external_link_7_parent_id_idx" ON "story_items_blocks_external_link_7" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_external_link_7_path_idx" ON "story_items_blocks_external_link_7" USING btree ("_path"); + CREATE INDEX "story_items_blocks_external_link_7_locale_idx" ON "story_items_blocks_external_link_7" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_block_5_order_idx" ON "story_items_blocks_text_block_5" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_block_5_parent_id_idx" ON "story_items_blocks_text_block_5" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_block_5_path_idx" ON "story_items_blocks_text_block_5" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_block_5_locale_idx" ON "story_items_blocks_text_block_5" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_data_container_order_idx" ON "story_items_blocks_data_container" USING btree ("_order"); + CREATE INDEX "story_items_blocks_data_container_parent_id_idx" ON "story_items_blocks_data_container" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_data_container_path_idx" ON "story_items_blocks_data_container" USING btree ("_path"); + CREATE INDEX "story_items_blocks_data_container_locale_idx" ON "story_items_blocks_data_container" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_statistic_block_order_idx" ON "story_items_blocks_statistic_block" USING btree ("_order"); + CREATE INDEX "story_items_blocks_statistic_block_parent_id_idx" ON "story_items_blocks_statistic_block" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_statistic_block_path_idx" ON "story_items_blocks_statistic_block" USING btree ("_path"); + CREATE INDEX "story_items_blocks_statistic_block_locale_idx" ON "story_items_blocks_statistic_block" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_text_statistic_order_idx" ON "story_items_blocks_text_statistic" USING btree ("_order"); + CREATE INDEX "story_items_blocks_text_statistic_parent_id_idx" ON "story_items_blocks_text_statistic" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_text_statistic_path_idx" ON "story_items_blocks_text_statistic" USING btree ("_path"); + CREATE INDEX "story_items_blocks_text_statistic_locale_idx" ON "story_items_blocks_text_statistic" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_link_block_order_idx" ON "story_items_blocks_link_block" USING btree ("_order"); + CREATE INDEX "story_items_blocks_link_block_parent_id_idx" ON "story_items_blocks_link_block" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_link_block_path_idx" ON "story_items_blocks_link_block" USING btree ("_path"); + CREATE INDEX "story_items_blocks_link_block_locale_idx" ON "story_items_blocks_link_block" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_card_link_order_idx" ON "story_items_blocks_card_link" USING btree ("_order"); + CREATE INDEX "story_items_blocks_card_link_parent_id_idx" ON "story_items_blocks_card_link" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_card_link_path_idx" ON "story_items_blocks_card_link" USING btree ("_path"); + CREATE INDEX "story_items_blocks_card_link_locale_idx" ON "story_items_blocks_card_link" USING btree ("_locale"); + CREATE INDEX "story_items_blocks_card_link_image_idx" ON "story_items_blocks_card_link" USING btree ("image_id"); + CREATE INDEX "story_items_blocks_card_link_list_order_idx" ON "story_items_blocks_card_link_list" USING btree ("_order"); + CREATE INDEX "story_items_blocks_card_link_list_parent_id_idx" ON "story_items_blocks_card_link_list" USING btree ("_parent_id"); + CREATE INDEX "story_items_blocks_card_link_list_path_idx" ON "story_items_blocks_card_link_list" USING btree ("_path"); + CREATE INDEX "story_items_blocks_card_link_list_locale_idx" ON "story_items_blocks_card_link_list" USING btree ("_locale"); + CREATE INDEX "story_items_image_idx" ON "story_items" USING btree ("image_id"); + CREATE INDEX "story_items_seo_seo_image_idx" ON "story_items" USING btree ("seo_image_id"); + CREATE INDEX "story_items_updated_at_idx" ON "story_items" USING btree ("updated_at"); + CREATE INDEX "story_items_created_at_idx" ON "story_items" USING btree ("created_at"); + CREATE INDEX "story_items_parent_idx" ON "story_items_locales" USING btree ("parent_id","_locale"); + CREATE INDEX "story_items_article_classification_idx" ON "story_items_locales" USING btree ("article_classification_id","_locale"); + CREATE INDEX "story_items_slug_idx" ON "story_items_locales" USING btree ("slug","_locale"); + CREATE INDEX "story_items_topic_idx" ON "story_items_locales" USING btree ("topic_id","_locale"); + CREATE UNIQUE INDEX "story_items_locales_locale_parent_id_unique" ON "story_items_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "story_items_rels_order_idx" ON "story_items_rels" USING btree ("order"); + CREATE INDEX "story_items_rels_parent_idx" ON "story_items_rels" USING btree ("parent_id"); + CREATE INDEX "story_items_rels_path_idx" ON "story_items_rels" USING btree ("path"); + CREATE INDEX "story_items_rels_locale_idx" ON "story_items_rels" USING btree ("locale"); + CREATE INDEX "story_items_rels_pages_id_idx" ON "story_items_rels" USING btree ("pages_id","locale"); + CREATE INDEX "story_items_rels_articles_id_idx" ON "story_items_rels" USING btree ("articles_id","locale"); + CREATE INDEX "story_items_rels_insights_id_idx" ON "story_items_rels" USING btree ("insights_id","locale"); + CREATE INDEX "story_items_rels_webinar_items_id_idx" ON "story_items_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "story_items_rels_story_items_id_idx" ON "story_items_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "story_items_rels_catalogues_id_idx" ON "story_items_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "story_items_rels_kpi_elements_id_idx" ON "story_items_rels" USING btree ("kpi_elements_id","locale"); + CREATE INDEX "catalogues_blocks_internal_link_order_idx" ON "catalogues_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_internal_link_parent_id_idx" ON "catalogues_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_internal_link_path_idx" ON "catalogues_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_internal_link_locale_idx" ON "catalogues_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_external_link_order_idx" ON "catalogues_blocks_external_link" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_external_link_parent_id_idx" ON "catalogues_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_external_link_path_idx" ON "catalogues_blocks_external_link" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_external_link_locale_idx" ON "catalogues_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_hero_order_idx" ON "catalogues_blocks_hero" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_hero_parent_id_idx" ON "catalogues_blocks_hero" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_hero_path_idx" ON "catalogues_blocks_hero" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_hero_locale_idx" ON "catalogues_blocks_hero" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_hero_background_image_idx" ON "catalogues_blocks_hero" USING btree ("background_image_id"); + CREATE INDEX "catalogues_blocks_hero_background_image_for_mobile_idx" ON "catalogues_blocks_hero" USING btree ("background_image_for_mobile_id"); + CREATE INDEX "catalogues_blocks_internal_link_2_order_idx" ON "catalogues_blocks_internal_link_2" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_internal_link_2_parent_id_idx" ON "catalogues_blocks_internal_link_2" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_internal_link_2_path_idx" ON "catalogues_blocks_internal_link_2" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_internal_link_2_locale_idx" ON "catalogues_blocks_internal_link_2" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_external_link_2_order_idx" ON "catalogues_blocks_external_link_2" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_external_link_2_parent_id_idx" ON "catalogues_blocks_external_link_2" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_external_link_2_path_idx" ON "catalogues_blocks_external_link_2" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_external_link_2_locale_idx" ON "catalogues_blocks_external_link_2" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_text_block_order_idx" ON "catalogues_blocks_text_block" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_text_block_parent_id_idx" ON "catalogues_blocks_text_block" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_text_block_path_idx" ON "catalogues_blocks_text_block" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_text_block_locale_idx" ON "catalogues_blocks_text_block" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_text_only_order_idx" ON "catalogues_blocks_text_only" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_text_only_parent_id_idx" ON "catalogues_blocks_text_only" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_text_only_path_idx" ON "catalogues_blocks_text_only" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_text_only_locale_idx" ON "catalogues_blocks_text_only" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_external_link_3_order_idx" ON "catalogues_blocks_external_link_3" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_external_link_3_parent_id_idx" ON "catalogues_blocks_external_link_3" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_external_link_3_path_idx" ON "catalogues_blocks_external_link_3" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_external_link_3_locale_idx" ON "catalogues_blocks_external_link_3" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_callout_link_order_idx" ON "catalogues_blocks_callout_link" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_callout_link_parent_id_idx" ON "catalogues_blocks_callout_link" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_callout_link_path_idx" ON "catalogues_blocks_callout_link" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_callout_link_locale_idx" ON "catalogues_blocks_callout_link" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_catalogue_tab_order_idx" ON "catalogues_blocks_catalogue_tab" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_catalogue_tab_parent_id_idx" ON "catalogues_blocks_catalogue_tab" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_catalogue_tab_path_idx" ON "catalogues_blocks_catalogue_tab" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_catalogue_tab_locale_idx" ON "catalogues_blocks_catalogue_tab" USING btree ("_locale"); + CREATE INDEX "catalogues_blocks_catalogue_tab_filter_story_idx" ON "catalogues_blocks_catalogue_tab" USING btree ("filter_story_id"); + CREATE INDEX "catalogues_blocks_catalogue_feed_order_idx" ON "catalogues_blocks_catalogue_feed" USING btree ("_order"); + CREATE INDEX "catalogues_blocks_catalogue_feed_parent_id_idx" ON "catalogues_blocks_catalogue_feed" USING btree ("_parent_id"); + CREATE INDEX "catalogues_blocks_catalogue_feed_path_idx" ON "catalogues_blocks_catalogue_feed" USING btree ("_path"); + CREATE INDEX "catalogues_blocks_catalogue_feed_locale_idx" ON "catalogues_blocks_catalogue_feed" USING btree ("_locale"); + CREATE INDEX "catalogues_seo_seo_image_idx" ON "catalogues" USING btree ("seo_image_id"); + CREATE INDEX "catalogues_updated_at_idx" ON "catalogues" USING btree ("updated_at"); + CREATE INDEX "catalogues_created_at_idx" ON "catalogues" USING btree ("created_at"); + CREATE INDEX "catalogues_parent_idx" ON "catalogues_locales" USING btree ("parent_id","_locale"); + CREATE INDEX "catalogues_slug_idx" ON "catalogues_locales" USING btree ("slug","_locale"); + CREATE UNIQUE INDEX "catalogues_locales_locale_parent_id_unique" ON "catalogues_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "catalogues_rels_order_idx" ON "catalogues_rels" USING btree ("order"); + CREATE INDEX "catalogues_rels_parent_idx" ON "catalogues_rels" USING btree ("parent_id"); + CREATE INDEX "catalogues_rels_path_idx" ON "catalogues_rels" USING btree ("path"); + CREATE INDEX "catalogues_rels_locale_idx" ON "catalogues_rels" USING btree ("locale"); + CREATE INDEX "catalogues_rels_pages_id_idx" ON "catalogues_rels" USING btree ("pages_id","locale"); + CREATE INDEX "catalogues_rels_articles_id_idx" ON "catalogues_rels" USING btree ("articles_id","locale"); + CREATE INDEX "catalogues_rels_insights_id_idx" ON "catalogues_rels" USING btree ("insights_id","locale"); + CREATE INDEX "catalogues_rels_webinar_items_id_idx" ON "catalogues_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "catalogues_rels_story_items_id_idx" ON "catalogues_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "catalogues_rels_catalogues_id_idx" ON "catalogues_rels" USING btree ("catalogues_id","locale"); + CREATE UNIQUE INDEX "payload_kv_key_idx" ON "payload_kv" USING btree ("key"); + CREATE INDEX "payload_locked_documents_global_slug_idx" ON "payload_locked_documents" USING btree ("global_slug"); + CREATE INDEX "payload_locked_documents_updated_at_idx" ON "payload_locked_documents" USING btree ("updated_at"); + CREATE INDEX "payload_locked_documents_created_at_idx" ON "payload_locked_documents" USING btree ("created_at"); + CREATE INDEX "payload_locked_documents_rels_order_idx" ON "payload_locked_documents_rels" USING btree ("order"); + CREATE INDEX "payload_locked_documents_rels_parent_idx" ON "payload_locked_documents_rels" USING btree ("parent_id"); + CREATE INDEX "payload_locked_documents_rels_path_idx" ON "payload_locked_documents_rels" USING btree ("path"); + CREATE INDEX "payload_locked_documents_rels_users_id_idx" ON "payload_locked_documents_rels" USING btree ("users_id"); + CREATE INDEX "payload_locked_documents_rels_media_id_idx" ON "payload_locked_documents_rels" USING btree ("media_id"); + CREATE INDEX "payload_locked_documents_rels_article_topics_id_idx" ON "payload_locked_documents_rels" USING btree ("article_topics_id"); + CREATE INDEX "payload_locked_documents_rels_news_topics_id_idx" ON "payload_locked_documents_rels" USING btree ("news_topics_id"); + CREATE INDEX "payload_locked_documents_rels_story_topics_id_idx" ON "payload_locked_documents_rels" USING btree ("story_topics_id"); + CREATE INDEX "payload_locked_documents_rels_insight_topics_id_idx" ON "payload_locked_documents_rels" USING btree ("insight_topics_id"); + CREATE INDEX "payload_locked_documents_rels_resource_topics_id_idx" ON "payload_locked_documents_rels" USING btree ("resource_topics_id"); + CREATE INDEX "payload_locked_documents_rels_webinar_topics_id_idx" ON "payload_locked_documents_rels" USING btree ("webinar_topics_id"); + CREATE INDEX "payload_locked_documents_rels_macro_topics_id_idx" ON "payload_locked_documents_rels" USING btree ("macro_topics_id"); + CREATE INDEX "payload_locked_documents_rels_story_classes_id_idx" ON "payload_locked_documents_rels" USING btree ("story_classes_id"); + CREATE INDEX "payload_locked_documents_rels_webinar_authors_id_idx" ON "payload_locked_documents_rels" USING btree ("webinar_authors_id"); + CREATE INDEX "payload_locked_documents_rels_chart_elements_id_idx" ON "payload_locked_documents_rels" USING btree ("chart_elements_id"); + CREATE INDEX "payload_locked_documents_rels_kpi_elements_id_idx" ON "payload_locked_documents_rels" USING btree ("kpi_elements_id"); + CREATE INDEX "payload_locked_documents_rels_news_items_id_idx" ON "payload_locked_documents_rels" USING btree ("news_items_id"); + CREATE INDEX "payload_locked_documents_rels_resources_id_idx" ON "payload_locked_documents_rels" USING btree ("resources_id"); + CREATE INDEX "payload_locked_documents_rels_pages_id_idx" ON "payload_locked_documents_rels" USING btree ("pages_id"); + CREATE INDEX "payload_locked_documents_rels_articles_id_idx" ON "payload_locked_documents_rels" USING btree ("articles_id"); + CREATE INDEX "payload_locked_documents_rels_insights_id_idx" ON "payload_locked_documents_rels" USING btree ("insights_id"); + CREATE INDEX "payload_locked_documents_rels_webinar_items_id_idx" ON "payload_locked_documents_rels" USING btree ("webinar_items_id"); + CREATE INDEX "payload_locked_documents_rels_story_items_id_idx" ON "payload_locked_documents_rels" USING btree ("story_items_id"); + CREATE INDEX "payload_locked_documents_rels_catalogues_id_idx" ON "payload_locked_documents_rels" USING btree ("catalogues_id"); + CREATE INDEX "payload_preferences_key_idx" ON "payload_preferences" USING btree ("key"); + CREATE INDEX "payload_preferences_updated_at_idx" ON "payload_preferences" USING btree ("updated_at"); + CREATE INDEX "payload_preferences_created_at_idx" ON "payload_preferences" USING btree ("created_at"); + CREATE INDEX "payload_preferences_rels_order_idx" ON "payload_preferences_rels" USING btree ("order"); + CREATE INDEX "payload_preferences_rels_parent_idx" ON "payload_preferences_rels" USING btree ("parent_id"); + CREATE INDEX "payload_preferences_rels_path_idx" ON "payload_preferences_rels" USING btree ("path"); + CREATE INDEX "payload_preferences_rels_users_id_idx" ON "payload_preferences_rels" USING btree ("users_id"); + CREATE INDEX "payload_migrations_updated_at_idx" ON "payload_migrations" USING btree ("updated_at"); + CREATE INDEX "payload_migrations_created_at_idx" ON "payload_migrations" USING btree ("created_at"); + CREATE INDEX "layout_blocks_brand_order_idx" ON "layout_blocks_brand" USING btree ("_order"); + CREATE INDEX "layout_blocks_brand_parent_id_idx" ON "layout_blocks_brand" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_brand_path_idx" ON "layout_blocks_brand" USING btree ("_path"); + CREATE INDEX "layout_blocks_brand_locale_idx" ON "layout_blocks_brand" USING btree ("_locale"); + CREATE INDEX "layout_blocks_brand_header_order_idx" ON "layout_blocks_brand_header" USING btree ("_order"); + CREATE INDEX "layout_blocks_brand_header_parent_id_idx" ON "layout_blocks_brand_header" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_brand_header_path_idx" ON "layout_blocks_brand_header" USING btree ("_path"); + CREATE INDEX "layout_blocks_brand_header_locale_idx" ON "layout_blocks_brand_header" USING btree ("_locale"); + CREATE INDEX "layout_blocks_external_link_order_idx" ON "layout_blocks_external_link" USING btree ("_order"); + CREATE INDEX "layout_blocks_external_link_parent_id_idx" ON "layout_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_external_link_path_idx" ON "layout_blocks_external_link" USING btree ("_path"); + CREATE INDEX "layout_blocks_external_link_locale_idx" ON "layout_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "layout_blocks_internal_link_order_idx" ON "layout_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "layout_blocks_internal_link_parent_id_idx" ON "layout_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_internal_link_path_idx" ON "layout_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "layout_blocks_internal_link_locale_idx" ON "layout_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "layout_blocks_supporting_brand_order_idx" ON "layout_blocks_supporting_brand" USING btree ("_order"); + CREATE INDEX "layout_blocks_supporting_brand_parent_id_idx" ON "layout_blocks_supporting_brand" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_supporting_brand_path_idx" ON "layout_blocks_supporting_brand" USING btree ("_path"); + CREATE INDEX "layout_blocks_supporting_brand_locale_idx" ON "layout_blocks_supporting_brand" USING btree ("_locale"); + CREATE INDEX "layout_blocks_internal_link_2_order_idx" ON "layout_blocks_internal_link_2" USING btree ("_order"); + CREATE INDEX "layout_blocks_internal_link_2_parent_id_idx" ON "layout_blocks_internal_link_2" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_internal_link_2_path_idx" ON "layout_blocks_internal_link_2" USING btree ("_path"); + CREATE INDEX "layout_blocks_internal_link_2_locale_idx" ON "layout_blocks_internal_link_2" USING btree ("_locale"); + CREATE INDEX "layout_blocks_mailing_list_signup_block_order_idx" ON "layout_blocks_mailing_list_signup_block" USING btree ("_order"); + CREATE INDEX "layout_blocks_mailing_list_signup_block_parent_id_idx" ON "layout_blocks_mailing_list_signup_block" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_mailing_list_signup_block_path_idx" ON "layout_blocks_mailing_list_signup_block" USING btree ("_path"); + CREATE INDEX "layout_blocks_mailing_list_signup_block_locale_idx" ON "layout_blocks_mailing_list_signup_block" USING btree ("_locale"); + CREATE INDEX "layout_blocks_menu_item_order_idx" ON "layout_blocks_menu_item" USING btree ("_order"); + CREATE INDEX "layout_blocks_menu_item_parent_id_idx" ON "layout_blocks_menu_item" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_menu_item_path_idx" ON "layout_blocks_menu_item" USING btree ("_path"); + CREATE INDEX "layout_blocks_menu_item_locale_idx" ON "layout_blocks_menu_item" USING btree ("_locale"); + CREATE INDEX "layout_blocks_menu_item_2_order_idx" ON "layout_blocks_menu_item_2" USING btree ("_order"); + CREATE INDEX "layout_blocks_menu_item_2_parent_id_idx" ON "layout_blocks_menu_item_2" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_menu_item_2_path_idx" ON "layout_blocks_menu_item_2" USING btree ("_path"); + CREATE INDEX "layout_blocks_menu_item_2_locale_idx" ON "layout_blocks_menu_item_2" USING btree ("_locale"); + CREATE INDEX "layout_blocks_mega_menu_item_order_idx" ON "layout_blocks_mega_menu_item" USING btree ("_order"); + CREATE INDEX "layout_blocks_mega_menu_item_parent_id_idx" ON "layout_blocks_mega_menu_item" USING btree ("_parent_id"); + CREATE INDEX "layout_blocks_mega_menu_item_path_idx" ON "layout_blocks_mega_menu_item" USING btree ("_path"); + CREATE INDEX "layout_blocks_mega_menu_item_locale_idx" ON "layout_blocks_mega_menu_item" USING btree ("_locale"); + CREATE INDEX "layout_blocks_mega_menu_item_image_idx" ON "layout_blocks_mega_menu_item" USING btree ("image_id"); + CREATE UNIQUE INDEX "layout_locales_locale_parent_id_unique" ON "layout_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "layout_rels_order_idx" ON "layout_rels" USING btree ("order"); + CREATE INDEX "layout_rels_parent_idx" ON "layout_rels" USING btree ("parent_id"); + CREATE INDEX "layout_rels_path_idx" ON "layout_rels" USING btree ("path"); + CREATE INDEX "layout_rels_locale_idx" ON "layout_rels" USING btree ("locale"); + CREATE INDEX "layout_rels_pages_id_idx" ON "layout_rels" USING btree ("pages_id","locale"); + CREATE INDEX "layout_rels_articles_id_idx" ON "layout_rels" USING btree ("articles_id","locale"); + CREATE INDEX "layout_rels_insights_id_idx" ON "layout_rels" USING btree ("insights_id","locale"); + CREATE INDEX "layout_rels_webinar_items_id_idx" ON "layout_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "layout_rels_story_items_id_idx" ON "layout_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "layout_rels_catalogues_id_idx" ON "layout_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "homepage_blocks_internal_link_order_idx" ON "homepage_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "homepage_blocks_internal_link_parent_id_idx" ON "homepage_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_internal_link_path_idx" ON "homepage_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "homepage_blocks_internal_link_locale_idx" ON "homepage_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_external_link_order_idx" ON "homepage_blocks_external_link" USING btree ("_order"); + CREATE INDEX "homepage_blocks_external_link_parent_id_idx" ON "homepage_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_external_link_path_idx" ON "homepage_blocks_external_link" USING btree ("_path"); + CREATE INDEX "homepage_blocks_external_link_locale_idx" ON "homepage_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_hero_order_idx" ON "homepage_blocks_hero" USING btree ("_order"); + CREATE INDEX "homepage_blocks_hero_parent_id_idx" ON "homepage_blocks_hero" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_hero_path_idx" ON "homepage_blocks_hero" USING btree ("_path"); + CREATE INDEX "homepage_blocks_hero_locale_idx" ON "homepage_blocks_hero" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_hero_background_image_idx" ON "homepage_blocks_hero" USING btree ("background_image_id"); + CREATE INDEX "homepage_blocks_hero_background_image_for_mobile_idx" ON "homepage_blocks_hero" USING btree ("background_image_for_mobile_id"); + CREATE INDEX "homepage_blocks_internal_link_2_order_idx" ON "homepage_blocks_internal_link_2" USING btree ("_order"); + CREATE INDEX "homepage_blocks_internal_link_2_parent_id_idx" ON "homepage_blocks_internal_link_2" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_internal_link_2_path_idx" ON "homepage_blocks_internal_link_2" USING btree ("_path"); + CREATE INDEX "homepage_blocks_internal_link_2_locale_idx" ON "homepage_blocks_internal_link_2" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_external_link_2_order_idx" ON "homepage_blocks_external_link_2" USING btree ("_order"); + CREATE INDEX "homepage_blocks_external_link_2_parent_id_idx" ON "homepage_blocks_external_link_2" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_external_link_2_path_idx" ON "homepage_blocks_external_link_2" USING btree ("_path"); + CREATE INDEX "homepage_blocks_external_link_2_locale_idx" ON "homepage_blocks_external_link_2" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_block_order_idx" ON "homepage_blocks_text_block" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_block_parent_id_idx" ON "homepage_blocks_text_block" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_block_path_idx" ON "homepage_blocks_text_block" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_block_locale_idx" ON "homepage_blocks_text_block" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_only_order_idx" ON "homepage_blocks_text_only" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_only_parent_id_idx" ON "homepage_blocks_text_only" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_only_path_idx" ON "homepage_blocks_text_only" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_only_locale_idx" ON "homepage_blocks_text_only" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_internal_link_3_order_idx" ON "homepage_blocks_internal_link_3" USING btree ("_order"); + CREATE INDEX "homepage_blocks_internal_link_3_parent_id_idx" ON "homepage_blocks_internal_link_3" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_internal_link_3_path_idx" ON "homepage_blocks_internal_link_3" USING btree ("_path"); + CREATE INDEX "homepage_blocks_internal_link_3_locale_idx" ON "homepage_blocks_internal_link_3" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_external_link_3_order_idx" ON "homepage_blocks_external_link_3" USING btree ("_order"); + CREATE INDEX "homepage_blocks_external_link_3_parent_id_idx" ON "homepage_blocks_external_link_3" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_external_link_3_path_idx" ON "homepage_blocks_external_link_3" USING btree ("_path"); + CREATE INDEX "homepage_blocks_external_link_3_locale_idx" ON "homepage_blocks_external_link_3" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_block_2_order_idx" ON "homepage_blocks_text_block_2" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_block_2_parent_id_idx" ON "homepage_blocks_text_block_2" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_block_2_path_idx" ON "homepage_blocks_text_block_2" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_block_2_locale_idx" ON "homepage_blocks_text_block_2" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_card_editorial_with_icon_order_idx" ON "homepage_blocks_card_editorial_with_icon" USING btree ("_order"); + CREATE INDEX "homepage_blocks_card_editorial_with_icon_parent_id_idx" ON "homepage_blocks_card_editorial_with_icon" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_card_editorial_with_icon_path_idx" ON "homepage_blocks_card_editorial_with_icon" USING btree ("_path"); + CREATE INDEX "homepage_blocks_card_editorial_with_icon_locale_idx" ON "homepage_blocks_card_editorial_with_icon" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_additional_content_order_idx" ON "homepage_blocks_additional_content" USING btree ("_order"); + CREATE INDEX "homepage_blocks_additional_content_parent_id_idx" ON "homepage_blocks_additional_content" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_additional_content_path_idx" ON "homepage_blocks_additional_content" USING btree ("_path"); + CREATE INDEX "homepage_blocks_additional_content_locale_idx" ON "homepage_blocks_additional_content" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_image_order_idx" ON "homepage_blocks_text_image" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_image_parent_id_idx" ON "homepage_blocks_text_image" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_image_path_idx" ON "homepage_blocks_text_image" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_image_locale_idx" ON "homepage_blocks_text_image" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_image_image_idx" ON "homepage_blocks_text_image" USING btree ("image_id"); + CREATE INDEX "homepage_blocks_news_tab_order_idx" ON "homepage_blocks_news_tab" USING btree ("_order"); + CREATE INDEX "homepage_blocks_news_tab_parent_id_idx" ON "homepage_blocks_news_tab" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_news_tab_path_idx" ON "homepage_blocks_news_tab" USING btree ("_path"); + CREATE INDEX "homepage_blocks_news_tab_locale_idx" ON "homepage_blocks_news_tab" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_story_tab_order_idx" ON "homepage_blocks_story_tab" USING btree ("_order"); + CREATE INDEX "homepage_blocks_story_tab_parent_id_idx" ON "homepage_blocks_story_tab" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_story_tab_path_idx" ON "homepage_blocks_story_tab" USING btree ("_path"); + CREATE INDEX "homepage_blocks_story_tab_locale_idx" ON "homepage_blocks_story_tab" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_internal_link_4_order_idx" ON "homepage_blocks_internal_link_4" USING btree ("_order"); + CREATE INDEX "homepage_blocks_internal_link_4_parent_id_idx" ON "homepage_blocks_internal_link_4" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_internal_link_4_path_idx" ON "homepage_blocks_internal_link_4" USING btree ("_path"); + CREATE INDEX "homepage_blocks_internal_link_4_locale_idx" ON "homepage_blocks_internal_link_4" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_external_link_4_order_idx" ON "homepage_blocks_external_link_4" USING btree ("_order"); + CREATE INDEX "homepage_blocks_external_link_4_parent_id_idx" ON "homepage_blocks_external_link_4" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_external_link_4_path_idx" ON "homepage_blocks_external_link_4" USING btree ("_path"); + CREATE INDEX "homepage_blocks_external_link_4_locale_idx" ON "homepage_blocks_external_link_4" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_news_feed_order_idx" ON "homepage_blocks_news_feed" USING btree ("_order"); + CREATE INDEX "homepage_blocks_news_feed_parent_id_idx" ON "homepage_blocks_news_feed" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_news_feed_path_idx" ON "homepage_blocks_news_feed" USING btree ("_path"); + CREATE INDEX "homepage_blocks_news_feed_locale_idx" ON "homepage_blocks_news_feed" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_channel_order_idx" ON "homepage_blocks_channel" USING btree ("_order"); + CREATE INDEX "homepage_blocks_channel_parent_id_idx" ON "homepage_blocks_channel" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_channel_path_idx" ON "homepage_blocks_channel" USING btree ("_path"); + CREATE INDEX "homepage_blocks_channel_locale_idx" ON "homepage_blocks_channel" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_support_channels_section_order_idx" ON "homepage_blocks_support_channels_section" USING btree ("_order"); + CREATE INDEX "homepage_blocks_support_channels_section_parent_id_idx" ON "homepage_blocks_support_channels_section" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_support_channels_section_path_idx" ON "homepage_blocks_support_channels_section" USING btree ("_path"); + CREATE INDEX "homepage_blocks_support_channels_section_locale_idx" ON "homepage_blocks_support_channels_section" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_internal_link_5_order_idx" ON "homepage_blocks_internal_link_5" USING btree ("_order"); + CREATE INDEX "homepage_blocks_internal_link_5_parent_id_idx" ON "homepage_blocks_internal_link_5" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_internal_link_5_path_idx" ON "homepage_blocks_internal_link_5" USING btree ("_path"); + CREATE INDEX "homepage_blocks_internal_link_5_locale_idx" ON "homepage_blocks_internal_link_5" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_external_link_5_order_idx" ON "homepage_blocks_external_link_5" USING btree ("_order"); + CREATE INDEX "homepage_blocks_external_link_5_parent_id_idx" ON "homepage_blocks_external_link_5" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_external_link_5_path_idx" ON "homepage_blocks_external_link_5" USING btree ("_path"); + CREATE INDEX "homepage_blocks_external_link_5_locale_idx" ON "homepage_blocks_external_link_5" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_block_3_order_idx" ON "homepage_blocks_text_block_3" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_block_3_parent_id_idx" ON "homepage_blocks_text_block_3" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_block_3_path_idx" ON "homepage_blocks_text_block_3" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_block_3_locale_idx" ON "homepage_blocks_text_block_3" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_use_case_block_order_idx" ON "homepage_blocks_use_case_block" USING btree ("_order"); + CREATE INDEX "homepage_blocks_use_case_block_parent_id_idx" ON "homepage_blocks_use_case_block" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_use_case_block_path_idx" ON "homepage_blocks_use_case_block" USING btree ("_path"); + CREATE INDEX "homepage_blocks_use_case_block_locale_idx" ON "homepage_blocks_use_case_block" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_use_case_order_idx" ON "homepage_blocks_text_use_case" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_use_case_parent_id_idx" ON "homepage_blocks_text_use_case" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_use_case_path_idx" ON "homepage_blocks_text_use_case" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_use_case_locale_idx" ON "homepage_blocks_text_use_case" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_internal_link_6_order_idx" ON "homepage_blocks_internal_link_6" USING btree ("_order"); + CREATE INDEX "homepage_blocks_internal_link_6_parent_id_idx" ON "homepage_blocks_internal_link_6" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_internal_link_6_path_idx" ON "homepage_blocks_internal_link_6" USING btree ("_path"); + CREATE INDEX "homepage_blocks_internal_link_6_locale_idx" ON "homepage_blocks_internal_link_6" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_external_link_6_order_idx" ON "homepage_blocks_external_link_6" USING btree ("_order"); + CREATE INDEX "homepage_blocks_external_link_6_parent_id_idx" ON "homepage_blocks_external_link_6" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_external_link_6_path_idx" ON "homepage_blocks_external_link_6" USING btree ("_path"); + CREATE INDEX "homepage_blocks_external_link_6_locale_idx" ON "homepage_blocks_external_link_6" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_block_4_order_idx" ON "homepage_blocks_text_block_4" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_block_4_parent_id_idx" ON "homepage_blocks_text_block_4" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_block_4_path_idx" ON "homepage_blocks_text_block_4" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_block_4_locale_idx" ON "homepage_blocks_text_block_4" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_data_container_order_idx" ON "homepage_blocks_data_container" USING btree ("_order"); + CREATE INDEX "homepage_blocks_data_container_parent_id_idx" ON "homepage_blocks_data_container" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_data_container_path_idx" ON "homepage_blocks_data_container" USING btree ("_path"); + CREATE INDEX "homepage_blocks_data_container_locale_idx" ON "homepage_blocks_data_container" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_statistic_block_order_idx" ON "homepage_blocks_statistic_block" USING btree ("_order"); + CREATE INDEX "homepage_blocks_statistic_block_parent_id_idx" ON "homepage_blocks_statistic_block" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_statistic_block_path_idx" ON "homepage_blocks_statistic_block" USING btree ("_path"); + CREATE INDEX "homepage_blocks_statistic_block_locale_idx" ON "homepage_blocks_statistic_block" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_text_statistic_order_idx" ON "homepage_blocks_text_statistic" USING btree ("_order"); + CREATE INDEX "homepage_blocks_text_statistic_parent_id_idx" ON "homepage_blocks_text_statistic" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_text_statistic_path_idx" ON "homepage_blocks_text_statistic" USING btree ("_path"); + CREATE INDEX "homepage_blocks_text_statistic_locale_idx" ON "homepage_blocks_text_statistic" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_link_block_order_idx" ON "homepage_blocks_link_block" USING btree ("_order"); + CREATE INDEX "homepage_blocks_link_block_parent_id_idx" ON "homepage_blocks_link_block" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_link_block_path_idx" ON "homepage_blocks_link_block" USING btree ("_path"); + CREATE INDEX "homepage_blocks_link_block_locale_idx" ON "homepage_blocks_link_block" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_card_link_order_idx" ON "homepage_blocks_card_link" USING btree ("_order"); + CREATE INDEX "homepage_blocks_card_link_parent_id_idx" ON "homepage_blocks_card_link" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_card_link_path_idx" ON "homepage_blocks_card_link" USING btree ("_path"); + CREATE INDEX "homepage_blocks_card_link_locale_idx" ON "homepage_blocks_card_link" USING btree ("_locale"); + CREATE INDEX "homepage_blocks_card_link_image_idx" ON "homepage_blocks_card_link" USING btree ("image_id"); + CREATE INDEX "homepage_blocks_card_link_list_order_idx" ON "homepage_blocks_card_link_list" USING btree ("_order"); + CREATE INDEX "homepage_blocks_card_link_list_parent_id_idx" ON "homepage_blocks_card_link_list" USING btree ("_parent_id"); + CREATE INDEX "homepage_blocks_card_link_list_path_idx" ON "homepage_blocks_card_link_list" USING btree ("_path"); + CREATE INDEX "homepage_blocks_card_link_list_locale_idx" ON "homepage_blocks_card_link_list" USING btree ("_locale"); + CREATE INDEX "homepage_seo_seo_image_idx" ON "homepage" USING btree ("seo_image_id"); + CREATE UNIQUE INDEX "homepage_locales_locale_parent_id_unique" ON "homepage_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "homepage_rels_order_idx" ON "homepage_rels" USING btree ("order"); + CREATE INDEX "homepage_rels_parent_idx" ON "homepage_rels" USING btree ("parent_id"); + CREATE INDEX "homepage_rels_path_idx" ON "homepage_rels" USING btree ("path"); + CREATE INDEX "homepage_rels_locale_idx" ON "homepage_rels" USING btree ("locale"); + CREATE INDEX "homepage_rels_pages_id_idx" ON "homepage_rels" USING btree ("pages_id","locale"); + CREATE INDEX "homepage_rels_articles_id_idx" ON "homepage_rels" USING btree ("articles_id","locale"); + CREATE INDEX "homepage_rels_insights_id_idx" ON "homepage_rels" USING btree ("insights_id","locale"); + CREATE INDEX "homepage_rels_webinar_items_id_idx" ON "homepage_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "homepage_rels_story_items_id_idx" ON "homepage_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "homepage_rels_catalogues_id_idx" ON "homepage_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "homepage_rels_news_items_id_idx" ON "homepage_rels" USING btree ("news_items_id","locale"); + CREATE INDEX "homepage_rels_kpi_elements_id_idx" ON "homepage_rels" USING btree ("kpi_elements_id","locale"); + CREATE INDEX "search_blocks_internal_link_order_idx" ON "search_blocks_internal_link" USING btree ("_order"); + CREATE INDEX "search_blocks_internal_link_parent_id_idx" ON "search_blocks_internal_link" USING btree ("_parent_id"); + CREATE INDEX "search_blocks_internal_link_path_idx" ON "search_blocks_internal_link" USING btree ("_path"); + CREATE INDEX "search_blocks_internal_link_locale_idx" ON "search_blocks_internal_link" USING btree ("_locale"); + CREATE INDEX "search_blocks_external_link_order_idx" ON "search_blocks_external_link" USING btree ("_order"); + CREATE INDEX "search_blocks_external_link_parent_id_idx" ON "search_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "search_blocks_external_link_path_idx" ON "search_blocks_external_link" USING btree ("_path"); + CREATE INDEX "search_blocks_external_link_locale_idx" ON "search_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "search_blocks_hero_order_idx" ON "search_blocks_hero" USING btree ("_order"); + CREATE INDEX "search_blocks_hero_parent_id_idx" ON "search_blocks_hero" USING btree ("_parent_id"); + CREATE INDEX "search_blocks_hero_path_idx" ON "search_blocks_hero" USING btree ("_path"); + CREATE INDEX "search_blocks_hero_locale_idx" ON "search_blocks_hero" USING btree ("_locale"); + CREATE INDEX "search_blocks_hero_background_image_idx" ON "search_blocks_hero" USING btree ("background_image_id"); + CREATE INDEX "search_blocks_hero_background_image_for_mobile_idx" ON "search_blocks_hero" USING btree ("background_image_for_mobile_id"); + CREATE INDEX "search_blocks_search_bar_order_idx" ON "search_blocks_search_bar" USING btree ("_order"); + CREATE INDEX "search_blocks_search_bar_parent_id_idx" ON "search_blocks_search_bar" USING btree ("_parent_id"); + CREATE INDEX "search_blocks_search_bar_path_idx" ON "search_blocks_search_bar" USING btree ("_path"); + CREATE INDEX "search_blocks_search_bar_locale_idx" ON "search_blocks_search_bar" USING btree ("_locale"); + CREATE INDEX "search_seo_seo_image_idx" ON "search" USING btree ("seo_image_id"); + CREATE UNIQUE INDEX "search_locales_locale_parent_id_unique" ON "search_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "search_rels_order_idx" ON "search_rels" USING btree ("order"); + CREATE INDEX "search_rels_parent_idx" ON "search_rels" USING btree ("parent_id"); + CREATE INDEX "search_rels_path_idx" ON "search_rels" USING btree ("path"); + CREATE INDEX "search_rels_locale_idx" ON "search_rels" USING btree ("locale"); + CREATE INDEX "search_rels_pages_id_idx" ON "search_rels" USING btree ("pages_id","locale"); + CREATE INDEX "search_rels_articles_id_idx" ON "search_rels" USING btree ("articles_id","locale"); + CREATE INDEX "search_rels_insights_id_idx" ON "search_rels" USING btree ("insights_id","locale"); + CREATE INDEX "search_rels_webinar_items_id_idx" ON "search_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "search_rels_story_items_id_idx" ON "search_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "search_rels_catalogues_id_idx" ON "search_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "global_setting_blocks_external_link_order_idx" ON "global_setting_blocks_external_link" USING btree ("_order"); + CREATE INDEX "global_setting_blocks_external_link_parent_id_idx" ON "global_setting_blocks_external_link" USING btree ("_parent_id"); + CREATE INDEX "global_setting_blocks_external_link_path_idx" ON "global_setting_blocks_external_link" USING btree ("_path"); + CREATE INDEX "global_setting_blocks_external_link_locale_idx" ON "global_setting_blocks_external_link" USING btree ("_locale"); + CREATE INDEX "global_setting_image_idx" ON "global_setting" USING btree ("image_id"); + CREATE UNIQUE INDEX "global_setting_locales_locale_parent_id_unique" ON "global_setting_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "sidebar_for_article_blocks_menu_article_item_order_idx" ON "sidebar_for_article_blocks_menu_article_item" USING btree ("_order"); + CREATE INDEX "sidebar_for_article_blocks_menu_article_item_parent_id_idx" ON "sidebar_for_article_blocks_menu_article_item" USING btree ("_parent_id"); + CREATE INDEX "sidebar_for_article_blocks_menu_article_item_path_idx" ON "sidebar_for_article_blocks_menu_article_item" USING btree ("_path"); + CREATE INDEX "sidebar_for_article_blocks_menu_article_item_locale_idx" ON "sidebar_for_article_blocks_menu_article_item" USING btree ("_locale"); + CREATE INDEX "sidebar_for_article_blocks_accordion_menu_order_idx" ON "sidebar_for_article_blocks_accordion_menu" USING btree ("_order"); + CREATE INDEX "sidebar_for_article_blocks_accordion_menu_parent_id_idx" ON "sidebar_for_article_blocks_accordion_menu" USING btree ("_parent_id"); + CREATE INDEX "sidebar_for_article_blocks_accordion_menu_path_idx" ON "sidebar_for_article_blocks_accordion_menu" USING btree ("_path"); + CREATE INDEX "sidebar_for_article_blocks_accordion_menu_locale_idx" ON "sidebar_for_article_blocks_accordion_menu" USING btree ("_locale"); + CREATE UNIQUE INDEX "sidebar_for_article_locales_locale_parent_id_unique" ON "sidebar_for_article_locales" USING btree ("_locale","_parent_id"); + CREATE INDEX "sidebar_for_article_rels_order_idx" ON "sidebar_for_article_rels" USING btree ("order"); + CREATE INDEX "sidebar_for_article_rels_parent_idx" ON "sidebar_for_article_rels" USING btree ("parent_id"); + CREATE INDEX "sidebar_for_article_rels_path_idx" ON "sidebar_for_article_rels" USING btree ("path"); + CREATE INDEX "sidebar_for_article_rels_locale_idx" ON "sidebar_for_article_rels" USING btree ("locale"); + CREATE INDEX "sidebar_for_article_rels_pages_id_idx" ON "sidebar_for_article_rels" USING btree ("pages_id","locale"); + CREATE INDEX "sidebar_for_article_rels_articles_id_idx" ON "sidebar_for_article_rels" USING btree ("articles_id","locale"); + CREATE INDEX "sidebar_for_article_rels_insights_id_idx" ON "sidebar_for_article_rels" USING btree ("insights_id","locale"); + CREATE INDEX "sidebar_for_article_rels_webinar_items_id_idx" ON "sidebar_for_article_rels" USING btree ("webinar_items_id","locale"); + CREATE INDEX "sidebar_for_article_rels_story_items_id_idx" ON "sidebar_for_article_rels" USING btree ("story_items_id","locale"); + CREATE INDEX "sidebar_for_article_rels_catalogues_id_idx" ON "sidebar_for_article_rels" USING btree ("catalogues_id","locale"); + CREATE INDEX "seo_default_og_image_idx" ON "seo_default" USING btree ("og_image_id"); + CREATE INDEX "seo_default_favicon_idx" ON "seo_default" USING btree ("favicon_id"); + CREATE UNIQUE INDEX "seo_default_locales_locale_parent_id_unique" ON "seo_default_locales" USING btree ("_locale","_parent_id");`) +} + +export async function down({ db, payload, req }: MigrateDownArgs): Promise { + await db.execute(sql` + DROP TABLE "users_sessions" CASCADE; + DROP TABLE "users" CASCADE; + DROP TABLE "media" CASCADE; + DROP TABLE "article_topics" CASCADE; + DROP TABLE "article_topics_locales" CASCADE; + DROP TABLE "news_topics" CASCADE; + DROP TABLE "news_topics_locales" CASCADE; + DROP TABLE "story_topics" CASCADE; + DROP TABLE "story_topics_locales" CASCADE; + DROP TABLE "insight_topics" CASCADE; + DROP TABLE "insight_topics_locales" CASCADE; + DROP TABLE "resource_topics" CASCADE; + DROP TABLE "resource_topics_locales" CASCADE; + DROP TABLE "webinar_topics" CASCADE; + DROP TABLE "webinar_topics_locales" CASCADE; + DROP TABLE "macro_topics" CASCADE; + DROP TABLE "macro_topics_locales" CASCADE; + DROP TABLE "story_classes" CASCADE; + DROP TABLE "story_classes_locales" CASCADE; + DROP TABLE "webinar_authors" CASCADE; + DROP TABLE "webinar_authors_locales" CASCADE; + DROP TABLE "chart_elements" CASCADE; + DROP TABLE "kpi_elements" CASCADE; + DROP TABLE "news_items" CASCADE; + DROP TABLE "news_items_locales" CASCADE; + DROP TABLE "resources_blocks_download_link" CASCADE; + DROP TABLE "resources_blocks_external_link" CASCADE; + DROP TABLE "resources" CASCADE; + DROP TABLE "resources_locales" CASCADE; + DROP TABLE "resources_rels" CASCADE; + DROP TABLE "pages_blocks_internal_link" CASCADE; + DROP TABLE "pages_blocks_external_link" CASCADE; + DROP TABLE "pages_blocks_hero" CASCADE; + DROP TABLE "pages_blocks_accordion_item" CASCADE; + DROP TABLE "pages_blocks_accordion" CASCADE; + DROP TABLE "pages_blocks_accordion_block" CASCADE; + DROP TABLE "pages_blocks_faq_section" CASCADE; + DROP TABLE "pages_blocks_internal_link_2" CASCADE; + DROP TABLE "pages_blocks_external_link_2" CASCADE; + DROP TABLE "pages_blocks_text_block" CASCADE; + DROP TABLE "pages_blocks_text_only" CASCADE; + DROP TABLE "pages_blocks_structured_text_block" CASCADE; + DROP TABLE "pages_blocks_highlight" CASCADE; + DROP TABLE "pages_blocks_settings_chart" CASCADE; + DROP TABLE "pages_blocks_external_link_3" CASCADE; + DROP TABLE "pages_blocks_panel" CASCADE; + DROP TABLE "pages_blocks_list_item" CASCADE; + DROP TABLE "pages_blocks_result" CASCADE; + DROP TABLE "pages_blocks_data_section" CASCADE; + DROP TABLE "pages_blocks_internal_link_3" CASCADE; + DROP TABLE "pages_blocks_external_link_4" CASCADE; + DROP TABLE "pages_blocks_text_block_2" CASCADE; + DROP TABLE "pages_blocks_card_editorial_with_icon" CASCADE; + DROP TABLE "pages_blocks_additional_content" CASCADE; + DROP TABLE "pages_blocks_text_image" CASCADE; + DROP TABLE "pages_blocks_news_tab" CASCADE; + DROP TABLE "pages_blocks_story_tab" CASCADE; + DROP TABLE "pages_blocks_internal_link_4" CASCADE; + DROP TABLE "pages_blocks_external_link_5" CASCADE; + DROP TABLE "pages_blocks_news_feed" CASCADE; + DROP TABLE "pages_blocks_channel" CASCADE; + DROP TABLE "pages_blocks_support_channels_section" CASCADE; + DROP TABLE "pages_blocks_internal_link_5" CASCADE; + DROP TABLE "pages_blocks_external_link_6" CASCADE; + DROP TABLE "pages_blocks_text_block_3" CASCADE; + DROP TABLE "pages_blocks_accordion_item_2" CASCADE; + DROP TABLE "pages_blocks_accordion_2" CASCADE; + DROP TABLE "pages_blocks_accordion_block_2" CASCADE; + DROP TABLE "pages_blocks_text_accordion" CASCADE; + DROP TABLE "pages_blocks_internal_link_6" CASCADE; + DROP TABLE "pages_blocks_external_link_7" CASCADE; + DROP TABLE "pages_blocks_support_cta_section" CASCADE; + DROP TABLE "pages_blocks_internal_link_7" CASCADE; + DROP TABLE "pages_blocks_external_link_8" CASCADE; + DROP TABLE "pages_blocks_text_block_4" CASCADE; + DROP TABLE "pages_blocks_data_container" CASCADE; + DROP TABLE "pages_blocks_statistic_block" CASCADE; + DROP TABLE "pages_blocks_text_statistic" CASCADE; + DROP TABLE "pages_blocks_list_collection" CASCADE; + DROP TABLE "pages_blocks_topic_filter" CASCADE; + DROP TABLE "pages_blocks_link_block" CASCADE; + DROP TABLE "pages_blocks_card_link" CASCADE; + DROP TABLE "pages_blocks_card_link_list" CASCADE; + DROP TABLE "pages_blocks_use_case_container" CASCADE; + DROP TABLE "pages" CASCADE; + DROP TABLE "pages_locales" CASCADE; + DROP TABLE "pages_rels" CASCADE; + DROP TABLE "articles_blocks_topics_block" CASCADE; + DROP TABLE "articles" CASCADE; + DROP TABLE "articles_locales" CASCADE; + DROP TABLE "articles_rels" CASCADE; + DROP TABLE "insights_blocks_internal_link" CASCADE; + DROP TABLE "insights_blocks_external_link" CASCADE; + DROP TABLE "insights_blocks_hero" CASCADE; + DROP TABLE "insights_blocks_internal_link_2" CASCADE; + DROP TABLE "insights_blocks_external_link_2" CASCADE; + DROP TABLE "insights_blocks_text_block" CASCADE; + DROP TABLE "insights_blocks_text_only" CASCADE; + DROP TABLE "insights_blocks_internal_link_3" CASCADE; + DROP TABLE "insights_blocks_external_link_3" CASCADE; + DROP TABLE "insights_blocks_text_block_2" CASCADE; + DROP TABLE "insights_blocks_card_editorial_with_icon" CASCADE; + DROP TABLE "insights_blocks_additional_content" CASCADE; + DROP TABLE "insights_blocks_text_image" CASCADE; + DROP TABLE "insights_blocks_news_tab" CASCADE; + DROP TABLE "insights_blocks_story_tab" CASCADE; + DROP TABLE "insights_blocks_internal_link_4" CASCADE; + DROP TABLE "insights_blocks_external_link_4" CASCADE; + DROP TABLE "insights_blocks_news_feed" CASCADE; + DROP TABLE "insights_blocks_channel" CASCADE; + DROP TABLE "insights_blocks_support_channels_section" CASCADE; + DROP TABLE "insights_blocks_internal_link_5" CASCADE; + DROP TABLE "insights_blocks_external_link_5" CASCADE; + DROP TABLE "insights_blocks_text_block_3" CASCADE; + DROP TABLE "insights_blocks_use_case_block" CASCADE; + DROP TABLE "insights_blocks_text_use_case" CASCADE; + DROP TABLE "insights_blocks_internal_link_6" CASCADE; + DROP TABLE "insights_blocks_external_link_6" CASCADE; + DROP TABLE "insights_blocks_text_block_4" CASCADE; + DROP TABLE "insights_blocks_data_container" CASCADE; + DROP TABLE "insights_blocks_statistic_block" CASCADE; + DROP TABLE "insights_blocks_text_statistic" CASCADE; + DROP TABLE "insights_blocks_link_block" CASCADE; + DROP TABLE "insights_blocks_card_link" CASCADE; + DROP TABLE "insights_blocks_card_link_list" CASCADE; + DROP TABLE "insights" CASCADE; + DROP TABLE "insights_locales" CASCADE; + DROP TABLE "insights_rels" CASCADE; + DROP TABLE "webinar_items_blocks_internal_link" CASCADE; + DROP TABLE "webinar_items_blocks_external_link" CASCADE; + DROP TABLE "webinar_items_blocks_hero" CASCADE; + DROP TABLE "webinar_items_blocks_download_link" CASCADE; + DROP TABLE "webinar_items_blocks_action_card" CASCADE; + DROP TABLE "webinar_items_blocks_internal_link_2" CASCADE; + DROP TABLE "webinar_items_blocks_external_link_2" CASCADE; + DROP TABLE "webinar_items_blocks_text_block" CASCADE; + DROP TABLE "webinar_items_blocks_author_list" CASCADE; + DROP TABLE "webinar_items_blocks_speaker" CASCADE; + DROP TABLE "webinar_items_blocks_internal_link_3" CASCADE; + DROP TABLE "webinar_items_blocks_external_link_3" CASCADE; + DROP TABLE "webinar_items_blocks_text_block_2" CASCADE; + DROP TABLE "webinar_items_blocks_list_item" CASCADE; + DROP TABLE "webinar_items_blocks_feature_list" CASCADE; + DROP TABLE "webinar_items_blocks_quick_link_card" CASCADE; + DROP TABLE "webinar_items_blocks_webinar_description" CASCADE; + DROP TABLE "webinar_items" CASCADE; + DROP TABLE "webinar_items_locales" CASCADE; + DROP TABLE "webinar_items_rels" CASCADE; + DROP TABLE "story_items_blocks_internal_link" CASCADE; + DROP TABLE "story_items_blocks_external_link" CASCADE; + DROP TABLE "story_items_blocks_hero" CASCADE; + DROP TABLE "story_items_blocks_accordion_item" CASCADE; + DROP TABLE "story_items_blocks_accordion" CASCADE; + DROP TABLE "story_items_blocks_accordion_block" CASCADE; + DROP TABLE "story_items_blocks_faq_section" CASCADE; + DROP TABLE "story_items_blocks_internal_link_2" CASCADE; + DROP TABLE "story_items_blocks_external_link_2" CASCADE; + DROP TABLE "story_items_blocks_text_block" CASCADE; + DROP TABLE "story_items_blocks_text_only" CASCADE; + DROP TABLE "story_items_blocks_structured_text_block" CASCADE; + DROP TABLE "story_items_blocks_internal_link_3" CASCADE; + DROP TABLE "story_items_blocks_external_link_3" CASCADE; + DROP TABLE "story_items_blocks_text_block_2" CASCADE; + DROP TABLE "story_items_blocks_card_editorial_with_icon" CASCADE; + DROP TABLE "story_items_blocks_additional_content" CASCADE; + DROP TABLE "story_items_blocks_text_image" CASCADE; + DROP TABLE "story_items_blocks_channel" CASCADE; + DROP TABLE "story_items_blocks_support_channels_section" CASCADE; + DROP TABLE "story_items_blocks_internal_link_4" CASCADE; + DROP TABLE "story_items_blocks_external_link_4" CASCADE; + DROP TABLE "story_items_blocks_text_block_3" CASCADE; + DROP TABLE "story_items_blocks_accordion_item_2" CASCADE; + DROP TABLE "story_items_blocks_accordion_2" CASCADE; + DROP TABLE "story_items_blocks_accordion_block_2" CASCADE; + DROP TABLE "story_items_blocks_text_accordion" CASCADE; + DROP TABLE "story_items_blocks_list_collection" CASCADE; + DROP TABLE "story_items_blocks_internal_link_5" CASCADE; + DROP TABLE "story_items_blocks_external_link_5" CASCADE; + DROP TABLE "story_items_blocks_support_cta_section" CASCADE; + DROP TABLE "story_items_blocks_internal_link_6" CASCADE; + DROP TABLE "story_items_blocks_external_link_6" CASCADE; + DROP TABLE "story_items_blocks_text_block_4" CASCADE; + DROP TABLE "story_items_blocks_use_case_block" CASCADE; + DROP TABLE "story_items_blocks_text_use_case" CASCADE; + DROP TABLE "story_items_blocks_internal_link_7" CASCADE; + DROP TABLE "story_items_blocks_external_link_7" CASCADE; + DROP TABLE "story_items_blocks_text_block_5" CASCADE; + DROP TABLE "story_items_blocks_data_container" CASCADE; + DROP TABLE "story_items_blocks_statistic_block" CASCADE; + DROP TABLE "story_items_blocks_text_statistic" CASCADE; + DROP TABLE "story_items_blocks_link_block" CASCADE; + DROP TABLE "story_items_blocks_card_link" CASCADE; + DROP TABLE "story_items_blocks_card_link_list" CASCADE; + DROP TABLE "story_items" CASCADE; + DROP TABLE "story_items_locales" CASCADE; + DROP TABLE "story_items_rels" CASCADE; + DROP TABLE "catalogues_blocks_internal_link" CASCADE; + DROP TABLE "catalogues_blocks_external_link" CASCADE; + DROP TABLE "catalogues_blocks_hero" CASCADE; + DROP TABLE "catalogues_blocks_internal_link_2" CASCADE; + DROP TABLE "catalogues_blocks_external_link_2" CASCADE; + DROP TABLE "catalogues_blocks_text_block" CASCADE; + DROP TABLE "catalogues_blocks_text_only" CASCADE; + DROP TABLE "catalogues_blocks_external_link_3" CASCADE; + DROP TABLE "catalogues_blocks_callout_link" CASCADE; + DROP TABLE "catalogues_blocks_catalogue_tab" CASCADE; + DROP TABLE "catalogues_blocks_catalogue_feed" CASCADE; + DROP TABLE "catalogues" CASCADE; + DROP TABLE "catalogues_locales" CASCADE; + DROP TABLE "catalogues_rels" CASCADE; + DROP TABLE "payload_kv" CASCADE; + DROP TABLE "payload_locked_documents" CASCADE; + DROP TABLE "payload_locked_documents_rels" CASCADE; + DROP TABLE "payload_preferences" CASCADE; + DROP TABLE "payload_preferences_rels" CASCADE; + DROP TABLE "payload_migrations" CASCADE; + DROP TABLE "layout_blocks_brand" CASCADE; + DROP TABLE "layout_blocks_brand_header" CASCADE; + DROP TABLE "layout_blocks_external_link" CASCADE; + DROP TABLE "layout_blocks_internal_link" CASCADE; + DROP TABLE "layout_blocks_supporting_brand" CASCADE; + DROP TABLE "layout_blocks_internal_link_2" CASCADE; + DROP TABLE "layout_blocks_mailing_list_signup_block" CASCADE; + DROP TABLE "layout_blocks_menu_item" CASCADE; + DROP TABLE "layout_blocks_menu_item_2" CASCADE; + DROP TABLE "layout_blocks_mega_menu_item" CASCADE; + DROP TABLE "layout" CASCADE; + DROP TABLE "layout_locales" CASCADE; + DROP TABLE "layout_rels" CASCADE; + DROP TABLE "homepage_blocks_internal_link" CASCADE; + DROP TABLE "homepage_blocks_external_link" CASCADE; + DROP TABLE "homepage_blocks_hero" CASCADE; + DROP TABLE "homepage_blocks_internal_link_2" CASCADE; + DROP TABLE "homepage_blocks_external_link_2" CASCADE; + DROP TABLE "homepage_blocks_text_block" CASCADE; + DROP TABLE "homepage_blocks_text_only" CASCADE; + DROP TABLE "homepage_blocks_internal_link_3" CASCADE; + DROP TABLE "homepage_blocks_external_link_3" CASCADE; + DROP TABLE "homepage_blocks_text_block_2" CASCADE; + DROP TABLE "homepage_blocks_card_editorial_with_icon" CASCADE; + DROP TABLE "homepage_blocks_additional_content" CASCADE; + DROP TABLE "homepage_blocks_text_image" CASCADE; + DROP TABLE "homepage_blocks_news_tab" CASCADE; + DROP TABLE "homepage_blocks_story_tab" CASCADE; + DROP TABLE "homepage_blocks_internal_link_4" CASCADE; + DROP TABLE "homepage_blocks_external_link_4" CASCADE; + DROP TABLE "homepage_blocks_news_feed" CASCADE; + DROP TABLE "homepage_blocks_channel" CASCADE; + DROP TABLE "homepage_blocks_support_channels_section" CASCADE; + DROP TABLE "homepage_blocks_internal_link_5" CASCADE; + DROP TABLE "homepage_blocks_external_link_5" CASCADE; + DROP TABLE "homepage_blocks_text_block_3" CASCADE; + DROP TABLE "homepage_blocks_use_case_block" CASCADE; + DROP TABLE "homepage_blocks_text_use_case" CASCADE; + DROP TABLE "homepage_blocks_internal_link_6" CASCADE; + DROP TABLE "homepage_blocks_external_link_6" CASCADE; + DROP TABLE "homepage_blocks_text_block_4" CASCADE; + DROP TABLE "homepage_blocks_data_container" CASCADE; + DROP TABLE "homepage_blocks_statistic_block" CASCADE; + DROP TABLE "homepage_blocks_text_statistic" CASCADE; + DROP TABLE "homepage_blocks_link_block" CASCADE; + DROP TABLE "homepage_blocks_card_link" CASCADE; + DROP TABLE "homepage_blocks_card_link_list" CASCADE; + DROP TABLE "homepage" CASCADE; + DROP TABLE "homepage_locales" CASCADE; + DROP TABLE "homepage_rels" CASCADE; + DROP TABLE "search_blocks_internal_link" CASCADE; + DROP TABLE "search_blocks_external_link" CASCADE; + DROP TABLE "search_blocks_hero" CASCADE; + DROP TABLE "search_blocks_search_bar" CASCADE; + DROP TABLE "search" CASCADE; + DROP TABLE "search_locales" CASCADE; + DROP TABLE "search_rels" CASCADE; + DROP TABLE "global_setting_blocks_external_link" CASCADE; + DROP TABLE "global_setting" CASCADE; + DROP TABLE "global_setting_locales" CASCADE; + DROP TABLE "sidebar_for_article_blocks_menu_article_item" CASCADE; + DROP TABLE "sidebar_for_article_blocks_accordion_menu" CASCADE; + DROP TABLE "sidebar_for_article" CASCADE; + DROP TABLE "sidebar_for_article_locales" CASCADE; + DROP TABLE "sidebar_for_article_rels" CASCADE; + DROP TABLE "seo_default" CASCADE; + DROP TABLE "seo_default_locales" CASCADE; + DROP TYPE "public"."_locales"; + DROP TYPE "public"."enum_pages_blocks_hero_variant"; + DROP TYPE "public"."enum_pages_blocks_hero_bg"; + DROP TYPE "public"."enum_pages_blocks_faq_section_bg"; + DROP TYPE "public"."enum_pages_blocks_text_only_bg"; + DROP TYPE "public"."enum_pages_blocks_text_only_heading"; + DROP TYPE "public"."enum_pages_blocks_structured_text_block_bg"; + DROP TYPE "public"."enum_pages_blocks_text_image_bg"; + DROP TYPE "public"."enum_pages_blocks_text_image_heading"; + DROP TYPE "public"."enum_pages_blocks_news_feed_bg"; + DROP TYPE "public"."enum_pages_blocks_support_channels_section_bg"; + DROP TYPE "public"."enum_pages_blocks_text_accordion_bg"; + DROP TYPE "public"."enum_pages_blocks_support_cta_section_bg"; + DROP TYPE "public"."enum_pages_blocks_text_statistic_bg"; + DROP TYPE "public"."enum_pages_blocks_card_link_list_bg"; + DROP TYPE "public"."enum_insights_blocks_hero_variant"; + DROP TYPE "public"."enum_insights_blocks_hero_bg"; + DROP TYPE "public"."enum_insights_blocks_text_only_bg"; + DROP TYPE "public"."enum_insights_blocks_text_only_heading"; + DROP TYPE "public"."enum_insights_blocks_text_image_bg"; + DROP TYPE "public"."enum_insights_blocks_text_image_heading"; + DROP TYPE "public"."enum_insights_blocks_news_feed_bg"; + DROP TYPE "public"."enum_insights_blocks_support_channels_section_bg"; + DROP TYPE "public"."enum_insights_blocks_text_use_case_bg"; + DROP TYPE "public"."enum_insights_blocks_text_statistic_bg"; + DROP TYPE "public"."enum_insights_blocks_card_link_list_bg"; + DROP TYPE "public"."enum_webinar_items_blocks_hero_variant"; + DROP TYPE "public"."enum_webinar_items_blocks_hero_bg"; + DROP TYPE "public"."enum_story_items_blocks_hero_variant"; + DROP TYPE "public"."enum_story_items_blocks_hero_bg"; + DROP TYPE "public"."enum_story_items_blocks_faq_section_bg"; + DROP TYPE "public"."enum_story_items_blocks_text_only_bg"; + DROP TYPE "public"."enum_story_items_blocks_text_only_heading"; + DROP TYPE "public"."enum_story_items_blocks_structured_text_block_bg"; + DROP TYPE "public"."enum_story_items_blocks_text_image_bg"; + DROP TYPE "public"."enum_story_items_blocks_text_image_heading"; + DROP TYPE "public"."enum_story_items_blocks_support_channels_section_bg"; + DROP TYPE "public"."enum_story_items_blocks_text_accordion_bg"; + DROP TYPE "public"."enum_story_items_blocks_support_cta_section_bg"; + DROP TYPE "public"."enum_story_items_blocks_text_use_case_bg"; + DROP TYPE "public"."enum_story_items_blocks_text_statistic_bg"; + DROP TYPE "public"."enum_story_items_blocks_card_link_list_bg"; + DROP TYPE "public"."enum_catalogues_blocks_hero_variant"; + DROP TYPE "public"."enum_catalogues_blocks_hero_bg"; + DROP TYPE "public"."enum_catalogues_blocks_text_only_bg"; + DROP TYPE "public"."enum_catalogues_blocks_text_only_heading"; + DROP TYPE "public"."enum_homepage_blocks_hero_variant"; + DROP TYPE "public"."enum_homepage_blocks_hero_bg"; + DROP TYPE "public"."enum_homepage_blocks_text_only_bg"; + DROP TYPE "public"."enum_homepage_blocks_text_only_heading"; + DROP TYPE "public"."enum_homepage_blocks_text_image_bg"; + DROP TYPE "public"."enum_homepage_blocks_text_image_heading"; + DROP TYPE "public"."enum_homepage_blocks_news_feed_bg"; + DROP TYPE "public"."enum_homepage_blocks_support_channels_section_bg"; + DROP TYPE "public"."enum_homepage_blocks_text_use_case_bg"; + DROP TYPE "public"."enum_homepage_blocks_text_statistic_bg"; + DROP TYPE "public"."enum_homepage_blocks_card_link_list_bg"; + DROP TYPE "public"."enum_search_blocks_hero_variant"; + DROP TYPE "public"."enum_search_blocks_hero_bg";`) +} diff --git a/src/migrations/index.ts b/src/migrations/index.ts index 9f166c6..967dc1e 100644 --- a/src/migrations/index.ts +++ b/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20260615_154205 from './20260615_154205'; +import * as migration_20260626_150106_initial from './20260626_150106_initial'; export const migrations = [ { - up: migration_20260615_154205.up, - down: migration_20260615_154205.down, - name: '20260615_154205' + up: migration_20260626_150106_initial.up, + down: migration_20260626_150106_initial.down, + name: '20260626_150106_initial' }, ];